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
Cakos
Frequent Visitor

Cumulative value, repeat last value

Hello everyone,

 

maybe you can help me with the following question.

 

In my table you can see 6 Measures:

 

Measure 1: Calculation-Measure

Measure 2 : year-on-year-comparison (Measure 1 2020 - Measure 1 2019) -> for example: 16,43-14,64=1,8

cumulative. Measure = TOTALYTD([Measure2]; 'Datum'[Datum].[Date])

Month number: date-diff-Measure, to calculate the remaining number of months by the end of the year

correction_fact = [**bleep**.  Measure] / [Month number]

 

In the "cumulative. Measure_help" I want to accumulate Measure 2 up to the current month (in this example it is March).

But no matter whether I set blank values or replace the following values with 0, Power BI calculates with the original values (what you can see in the result line). I want Power BI to repeat the last value for the follwing months (4,26).

 

Bild1.png

 

Do you have any ideas how I can solve this?

 

Kind regards,

CaKos

1 REPLY 1

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.

Top Solution Authors