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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.