Grouping Textbox by Year + Category?

Stimulsoft Reports.JS discussion
Post Reply
ericp
Posts: 41
Joined: Mon Aug 21, 2023 9:22 pm

Grouping Textbox by Year + Category?

Post by ericp »

I have this report that I'm trying to create where I need to create a chart that breaks down the Total Values by FiscalYear and FundCategory.

In the screenshot, you can see that one of my projects have 2 'FundTypes' that are in the 'FundCategory' of Federal and 'FiscalYear' or 2021. I want to figure out a way to display that into the chart under the FED 2021.

So the total that should display in that cell would be 1200, because it adds both of the FundTypes that have the year 2021 + FundCategory of Federal
Attachments
Screen Shot 2023-10-25 at 8.44.35 PM.png
Screen Shot 2023-10-25 at 8.44.35 PM.png (508.17 KiB) Viewed 5804 times
ericp
Posts: 41
Joined: Mon Aug 21, 2023 9:22 pm

Re: Grouping Textbox by Year + Category?

Post by ericp »

Here is my MRT file and datasource.
Attachments
FormatB_JSON_Alt.json
(23.32 KiB) Downloaded 53 times
TIP Sample.mrt
(41.57 KiB) Downloaded 53 times
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Grouping Textbox by Year + Category?

Post by Lech Kulikowski »

Hello,

You can add the DataTransformation item with the necessary grouping and calculations and then use it for the Chart.

Thank you.
Post Reply