Page 1 of 1
Adding a value to a calculated Sum
Posted: Mon Feb 13, 2023 9:56 pm
by sstankiewicz
I have a sum formula that add the value of my items based on their statuses, (my data rows each have a status and three different $ Values and depending on the status of the item is which $ value I want to include in the total) then I want to add that total to my original budget in the Group footer, but I keep getting an error below. Must be something simple I'm just overlooking because both values work separately. It just won't let me add them together. MRT is attached. Thanks,:

- Stimulsoft Sum Problem 20230213.jpg (382.72 KiB) Viewed 281 times

- Stimulsoft Sum Problem Preview 20230213.jpg (59.88 KiB) Viewed 281 times
Re: Adding a value to a calculated Sum
Posted: Mon Feb 13, 2023 11:26 pm
by Lech Kulikowski
Hello,
The IIF() function returns an object type value, you should convert it in the correct type.
Thank you.
Re: Adding a value to a calculated Sum
Posted: Tue Feb 14, 2023 12:17 pm
by sstankiewicz
Hi Lech. Thanks for the quick reply, but I'm still not having any luck. Can you provide an example? (Sorry, I'm not a programmer. ) Thanks for your help!
Re: Adding a value to a calculated Sum
Posted: Thu Feb 16, 2023 9:45 am
by Lech Kulikowski
Hello,
Could you send us your report with test data, we will find the solution for you.
Thank you.