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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
amirghaderi
Helper IV
Helper IV

Running total is not calculated correctly

Any idea why the below Planned **bleep**% running total is not calculated correctly?

"Normalized Weighted Progress (Planned)" is a measure

Cut-ff is a date from a date table which has one to many relationship with the Planned **bleep** % table

amirghaderi_0-1686212537782.png

 

1 ACCEPTED SOLUTION

Hi, @amirghaderi 

 

You can try the following methods.

Normalized Weighted Progress (Planned) = sum(Planned[Weighted Progress (Planned)])/CALCULATE(sum(Planned[Weighted Progress (Planned)]),ALL(Planned))

No other formulae need to be changed.

vzhangti_0-1686554602366.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

6 REPLIES 6
amirghaderi
Helper IV
Helper IV

I was hoping to get something to the below:. I have done a bit of concept change in the data complitaion and got that worked now.

amirghaderi_0-1686619808166.png

 

Dhairya
Solution Supplier
Solution Supplier

Hey @amirghaderi 
Please try the following measure

 

Planned cumulative % = 
VAR MaxDate = MAX('Cut-Off'[Cut-Off])
RETURN
CALCULATE(
[Normalised Weighted Progress (Planned)],
'Cut-Off'[Cut-Off] <= MaxDate,
ALL (Cut-Off)
)

Please Mark my solution as accepted if it helped you!

Still the same issue. I have shared the file in the below link

 

https://www.dropbox.com/s/de9kr3988sjbitl/Overall%20S-Curve%20-%20to%20share.pbix?dl=0

Hi, @amirghaderi 

 

You can try the following methods.

Normalized Weighted Progress (Planned) = sum(Planned[Weighted Progress (Planned)])/CALCULATE(sum(Planned[Weighted Progress (Planned)]),ALL(Planned))

No other formulae need to be changed.

vzhangti_0-1686554602366.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

Thanks for your response. But, your measure does not show the cumulative value over the time scale similiar to running total

Hi, @amirghaderi 

 

And what kind of outcome do you expect?

 

Best Regards

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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