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
Syndicate_Admin
Administrator
Administrator

Create Cumulative Measure from a Created Measure

Hello

I am stuck trying to create a MEASURE that tells me the ACCUMULADO, of percentages (measure created) in relation to maintenance that will be done to some wind turbines on planned dates, however, at the time of creating the measure, this results in 100% in each row, which is incorrect. In the following image, I show the syntaxys that I put to the extent that it is NOT working for me:

%ACC TURBINES PLANNED = CALCULATE([% OF TURBINES PLANNED], FILTER(ALLEXCEPT('PREVENTIVES','PREVENTIVES'[Parque eolico ]), 'PREVENTIVES'[Fecha]<= MAX('PREVENTIVES'[Fecha])))
SOTORRES89_0-1674455010373.jpeg

What I look for the accumulated to give me as a result is the following:

SOTORRES89_1-1674455134205.png

I hope you can apyarme, THANK YOU!

1 REPLY 1
amitchandak
Super User
Super User

@Syndicate_Admin , refer how to use power bi window function for that

Power BI Window function- Pareto Analysis, 80% of sales, Order by on Measure: https://www.youtube.com/watch?v=UVxiLc_AzSs

 

 

or

 

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

 

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

 

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

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.

Top Solution Authors
Top Kudoed Authors