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
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
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.