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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
scorpi73
Frequent Visitor

cumulate Measure Values Between two Dates

Hello there,

the cu.m-Measure should cumulate the Soll Measure Values between the Blank IST Values:

scorpi73_0-1650556619753.png
IF the IST isnt Blank then it should pass the Soll Value to cu.m

Bonus Question: how could i change the condition of the cu.m Measure, if i would cumulate after the second day of Blank IST Values.  like this :

scorpi73_1-1650557101049.png


https://www.dropbox.com/s/93qvszfrur161kl/sample_Dates%20between.pbix?dl=0

 

Thank You guys:)

1 ACCEPTED SOLUTION
ribisht17
Super User
Super User

@scorpi73  You can download the solution here, I changed IST to Column 

 

https://drive.google.com/drive/folders/1s_9sdFOqSK0EwBLOU4hFOeDXjyGagczH?usp=sharing

 

Mark my post as a solution if it helped you| Gentlemen & Ladies|Munde and Kudis| I like your Kudos!! !!
My You Tube Channel !! Connect on Linkedin || Power BI for Tableau Users 

View solution in original post

5 REPLIES 5
ribisht17
Super User
Super User

Did it help you?

 

Regards,

Ritesh

ribisht17
Super User
Super User

@scorpi73  You can download the solution here, I changed IST to Column 

 

https://drive.google.com/drive/folders/1s_9sdFOqSK0EwBLOU4hFOeDXjyGagczH?usp=sharing

 

Mark my post as a solution if it helped you| Gentlemen & Ladies|Munde and Kudis| I like your Kudos!! !!
My You Tube Channel !! Connect on Linkedin || Power BI for Tableau Users 

Daryl-Lynch-Bzy
Resident Rockstar
Resident Rockstar

@scorpi73 - I would suggest watching the following video by Alberto.  Implementing running total from arbitrary dates in DAX - Unplugged #34 - YouTube  - It will help you understand the filter context for the running total, and how you can filter for the blank dates.

ribisht17
Super User
Super User

@scorpi73 ,

 

Step 1: 

Cumulative Total =
CALCULATE (
SUM(**bleep**[Soll]),
FILTER (
ALL( **bleep** ),
**bleep**[Date] <= MAX ( **bleep**[Date]) && **bleep**[IST] = MAX(**bleep**[IST])
)
)
 
2. 
Condition = IF(ISBLANK(min(**bleep**[IST]) ),[Cumulative Total],sum(**bleep**[Soll]))
 
3. ribisht17_0-1650562673485.png

 

When you say ,Measure should cumulate the Soll Measure Values between the Blank IST Values:

 

Should not it start with 87 ?

 

Regards,

Ritesh

Hey Ritesh, thank you for your effort.
the cu.m is a measure not a Table. i did not manage to apply you Measure to my File.

i attached a PBIX File, to show my Problem

https://www.dropbox.com/s/93qvszfrur161kl/sample_Dates%20between.pbix?dl=0

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.