Search found 22 matches
- Thu Mar 16, 2017 10:39 pm
- Forum: Stimulsoft Reports.WEB
- Topic: IIF Function
- Replies: 4
- Views: 3849
Re: IIF Function
Sorted it out! I applied this directly to the Quantity data source, instead of adding to the databand filter :) {IIF((Table1.InvHistoryTypesInvHistoryType == "Return"), (Table1.InventoryHistoryQuantityChange * (-1)), (Table1.InventoryHistoryQuantityChange * (+1)))} Thank you though for you...
- Thu Mar 16, 2017 10:23 pm
- Forum: Stimulsoft Reports.WEB
- Topic: IIF Function
- Replies: 4
- Views: 3849
Re: IIF Function
Hello, Please send us your report with test data which reproduces the issue for analysis. Thank you. Hi Aleksey, thanks as usual for the response! Attached is a version of the report that is receiving the casting error. The image below is almost what I need. https://ibb.co/jqH5ka But what I need to...
- Thu Mar 16, 2017 5:55 pm
- Forum: Stimulsoft Reports.WEB
- Topic: IIF Function
- Replies: 4
- Views: 3849
IIF Function
Hello, I am trying to find each line item of type "Return", and multiply the quantity by -1 if true, by +1 if false. I am using the following expression in my databand filter: IIF((Table1.InvHistoryTypesInvHistoryType == "Return"), ((Decimal)Table1.InventoryHistoryQuantityChange ...
- Tue Feb 28, 2017 2:26 pm
- Forum: Stimulsoft Reports.WEB
- Topic: Filter for previous month
- Replies: 11
- Views: 5816
Re: Filter for previous month
Hello, Please check the modified report in the attachment. Thank you. Hi Aleksey, Thanks again for your help! That was almost perfect, but I did need to make 2 changes. I changed the first operator to >= instead of just greater than. I also noticed that in the report you sent, it was excluding any ...
- Mon Feb 27, 2017 4:00 pm
- Forum: Stimulsoft Reports.WEB
- Topic: Filter for previous month
- Replies: 11
- Views: 5816
Re: Filter for previous month
Hello. There should be a C# expression. It should be like next: Table1.InventoryHistoryQuantityChange > DateSerial(Today.Year, Today.Month, 1).AddMonths(-1) && Table1.InventoryHistoryQuantityChange < DateSerial(Today.Year, Today.Month, 1).AddDays(-1) Thank you. Hi HighAley, Thanks again for...
- Mon Feb 27, 2017 3:43 pm
- Forum: Stimulsoft Reports.WEB
- Topic: Filter for previous month
- Replies: 11
- Views: 5816
Re: Filter for previous month
Hello. There should be a C# expression. It should be like next: Table1.InventoryHistoryQuantityChange > DateSerial(Today.Year, Today.Month, 1).AddMonths(-1) && Table1.InventoryHistoryQuantityChange < DateSerial(Today.Year, Today.Month, 1).AddDays(-1) Thank you. Hi HighAley, Thanks again for...
- Fri Feb 24, 2017 4:57 pm
- Forum: Stimulsoft Reports.WEB
- Topic: Filter for previous month
- Replies: 11
- Views: 5816
Re: Filter for previous month
Hello, David. Please, try to change the Field Is to Expression in the Filter and write your own expression for the filtering. Thank you. Thanks for the reply. So I have removed the above variables and in the databand filter, I am filtering between: DateSerial(Today.Year, Today.Month, 1).AddMonths(-...
- Fri Feb 24, 2017 2:35 pm
- Forum: Stimulsoft Reports.WEB
- Topic: Filter for previous month
- Replies: 11
- Views: 5816
Re: Filter for previous month
Hello, Please send us a simple report with test data which reproduces the issue for analysis. Thank you. I don't necessarily have to use the method seen in that report. If there is a better way of filtering to only show records from the previous month then I am definitely open to that. Thanks again...
- Thu Feb 23, 2017 2:00 pm
- Forum: Stimulsoft Reports.WEB
- Topic: Filter for previous month
- Replies: 11
- Views: 5816
Re: Filter for previous month
Aleksey wrote:Hello,
Please send us a simple report with test data which reproduces the issue for analysis.
Thank you.
Thanks for your time, find the attached report.
David
- Wed Feb 22, 2017 10:55 pm
- Forum: Stimulsoft Reports.WEB
- Topic: Filter for previous month
- Replies: 11
- Views: 5816
Filter for previous month
Hello, I am having trouble figuring out how to filter my reports to only show the previous month. For instance, today is February 22nd. If I run my report it should only show records from Jan 1 - Jan 31. If I run the same report on March 22nd, it should only show Feb 1 - Feb 28, etc. I know in the d...