cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
alsolok
Helper I
Helper I

Ecart cumulative

Hello,

I would like to calculate a cumulative difference between a cumulative actual amount and the cumulative budget amount.
The problem is that we have the actual amount up to September and the budget amount up to the end of the year.
When doing the difference it takes the total sum of the cumulated budget.
I'd like it to be limited to the cumulated actual amount.
Here's an example:

 

alsolok_0-1694822603247.png

I would like show the value in blue

 

alsolok_1-1694822727056.png

 

6 REPLIES 6
alsolok
Helper I
Helper I

https://www.dropbox.com/scl/fi/wpdfqgt8vxmv0nfazf1o8/Test_budget.pbix?rlkey=qv6btmpesoahr9zhkxou3gsb... 

 

 

Hello,

 

This is my file PBI.

 

Presently, I have the data realized to january 2023.

I want to calculate the ecart realized cumul and budget cumul.

The problem the realized cumul is limit to january 2023 and the budget to december 2023.

The result of my calculate : the amount realized (january 2023) - amount budget (all cumul to december 2023). This result is not correct.

I want to calculate the ecart in the data realised

Exple : The realised in 2023 is limit january, I want to calculate the ecart realied and budget january 2023.
If i have the new data for realied (exple: fevuary 2023), the ecart is realised (fevuary 2023) and budget fevuary 2023.

 

Help me

Hi,

Revise this measure to

Ecart realized/budget = if([Realized] <> BLANK(),[Realized YTD] - [Budget YTD], BLANK())

Write this measure

Measure = SUMX(VALUES('Dim Date'[Mois - Libellé]),[Ecart realized/budget])

Hope this helps.

Ashish_Mathur_0-1695082332490.png

 

 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hello 

thanks you for the solution.

This solution  is not generally when the amount has the data.

Exemple :  When click 2022, I have the data for all month (january and december) but the total is not correct.

 

2023

alsolok_0-1695117947871.png

 

2022

 

alsolok_1-1695117980309.png

 

 

 

I hope you have tried my formulas and your answer is correct.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Ashish_Mathur
Super User
Super User

Hi,

Share the download link of the PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors