Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Haripinnoju
Frequent Visitor

How to get the cumulative total in the stacked column chart

Hi,

 

How to add the totals and display it in the stacked column chart with the help of the measure.

IMG_20231017_171900~2.jpg

 

Expected output:

IMG_20231017_174023.jpg

 As we see here initially the total count is 2 , in the next ,the total count is 3 , so the overall should be (2+3=5 which should be total ),next 1 (5+1=6 which should be the total for this line , instead of their individual totals, similarly for all the years it should be showing the cumulative totals in the graph. These are the count of suppliers by the year , split by the process.

Thank you in advance.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Haripinnoju ,

 

According to your description, here are my steps you can follow as a solution.

(1) This is my test data.

vtangjiemsft_0-1697685161151.png

(2) We can create a measure.

Measure = CALCULATE(SUM('Table'[value]),FILTER(ALLSELECTED('Table'),'Table'[Year]<=MAX('Table'[Year])))

(3) Then the result is as follows.

vtangjiemsft_1-1697685248505.png

 

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Haripinnoju ,

 

According to your description, here are my steps you can follow as a solution.

(1) This is my test data.

vtangjiemsft_0-1697685161151.png

(2) We can create a measure.

Measure = CALCULATE(SUM('Table'[value]),FILTER(ALLSELECTED('Table'),'Table'[Year]<=MAX('Table'[Year])))

(3) Then the result is as follows.

vtangjiemsft_1-1697685248505.png

 

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

AilleryO
Memorable Member
Memorable Member

Hi,

 

Maybe you can try make the calculation in a measure with a CALCULATE and ALL([column Process]) to remove the "filter" from Process which is splitting your number. If I understood well your information ?

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.