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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Cumulative Total with Legends

Hello everyone,

 

Thanks for reading this post. Just wondering how can I show my cumulative stacked chart with legends. 

2020-04-28_8-24-00.png

Here is my formula for cumulative total.

 

CumulativeTotal = CALCULATE(DISTINCTCOUNT('maintable'[mainid]),
FILTER ( ALLSELECTED ('maintable'), 'maintable'[Date] <= MAX ('maintable'[Date])))
 
If I wanted to have legends in this formula, how will I put include it?
 
Thanks
1 REPLY 1
nandukrishnavs
Community Champion
Community Champion

@Anonymous  Can you share a sample data table and expected output?


Regards,
Nandu Krishna

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.