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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.