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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
PrinceII
Frequent Visitor

Cumulative response to added metric

 

I would like to have the Cumulative responded to what metric I add to the graph via the filters "Project".

 

So that i.e. if I add 1 metric the cumulative responses to make the cumulative of only that metric. If I add another metric (so then I have 2 metric add by the filter Project) then the cumulative should reponse to have both metric cumulative etc

 

PrinceII_0-1638961149710.png

 

 

 

3 REPLIES 3
amitchandak
Super User
Super User

@PrinceII , If you have a date table and column from the same date table is used on axis, a measure like should work for each line  (one measure and line is because of legend)

Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(allselected('Date'),'Date'[date] <=max('Date'[date])))

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak I tried that but then it keeps using sum of all the projects in the filter. insteed of adjusting to the project I selected in the filter

Icey
Community Support
Community Support

Hi @PrinceII ,

 

I don’t understand the scenario you describe very well. Could you give me a concrete example? Please don't contain any sensitive information. 

 

 

Reference: 

How to Get Your Question Answered Quickly - Microsoft Power BI Community

How to provide sample data in the Power BI Forum - Microsoft Power BI Community

 

 

 

Best Regards,

Icey

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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