Forum Discussion
Creating a cumulative bar chart with additional categories
- 2 years ago
Hi,
PBI file attached.
Whenever i change the year of the dates to 2025 the cumulative T measure doesnt do anything. It stays empty.
I used your pbi file and only changed the dates and it doesnt work.
I can help further only when i get access to the file. Share the download link and the problem very clearly.
- Anonymous2 years agoNot applicable
I recreated what you did in this file but with the changed date.
Now the edited version doesnt show the data for the acumulated values.
You can see what i mean here:https://drive.google.com/file/d/1bHwAsEAM4Ry9AWiUIgcmSDF8iJdc8hNd/view?usp=drive_link
(Hope this link works) - Ashish_Mathur2 years ago
Super User
Change the calendar table formula to
Calendar = CALENDAR(MIN(Data[Date]),MAX('Future Data'[Date]))Hope this helps.
- Anonymous2 years agoNot applicable
Almost, this works when i have all the date in the same year what if one of the categories is in a different year?
Like this:Then this happens:
How do i make it add up the same way? - Ashish_Mathur2 years ago
Super User
Share the download link of the PBI file with that specific dataset and my measures already written. Show the problematic visual in that PBI file.
- Anonymous2 years agoNot applicable
- Ashish_Mathur2 years ago
Super User
Hi,
Based on the data in the file, show the expected result in a Table format very clearly.
- Anonymous2 years agoNot applicable
Sorry i messed up the data in the file i shared.
Here is a correct one:
https://drive.google.com/file/d/1bHwAsEAM4Ry9AWiUIgcmSDF8iJdc8hNd/view?usp=sharing
And this is what i need it to look like(with bars for each month instead of the three points of course):So it always shows the accumulated monthly amount for each department and whenever there is an additional amount it just adds it to the amount of that department.
Also i might need it with a dynamic number of departments.
Thank you very much - Ashish_Mathur2 years ago
Super User
I do not see 3 dots there. Everything seems fine to me.
- Anonymous2 years agoNot applicable
The image i sent is not the finished graph but only an edited version of what i want it to look like. Thats why i said the 3 dots in the image are only because i didnt want to create a bar for the months between april 2025 and january 2026. For practical reasons but they should of course be in the final visual.
- Ashish_Mathur2 years ago
Super User
For Dep 3, information is available only for JFM 2026. There if i swap Year and Month on the X-axis, this is the image i get (with which i see nothing wrong)
- Anonymous2 years agoNot applicable
Yes, but i need ALL of the monthly amount to be added up in every month after they are added.
In the ss you shared it resets after each year. I would like it to carry on the data from the previous years and departments. - Ashish_Mathur2 years ago
Super User
Hi,
PBI file attached.
- Anonymous2 years agoNot applicable
Yes, thank you very much thats what i have been looking for.
- Ashish_Mathur2 years ago
Super User
You are welcome.