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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
kavster
Frequent Visitor

Cumulative Date Count Problem

This one has me baffled.  I am trying to produce a cumulative date count up to a specific date.
https://drive.google.com/file/d/1iPdmcRRFr5_Zyn5jW56IXr_rL3G2FG_I/view?usp=sharing

If I use a measure with a specific date hard coded in it works great (Cumulative_Forecast_3).

 

If I use a measure with an embedded measure pulling the date from a lookup table (which returns the correct date and the measure is formatted as a date) it returns some blanks (Cumulative_Forecast_4).

 

You can see the measures and counts from the two measures side by side in the attached file.

 

Ultimately I want the lookup to work and not hardcode; but I cannot understand why, when the lookup date measure returns a date of 2022,05,29 it doos not calculate the same count, as when I hard code in 2022,05,29.  Any thoughts?

 

5 REPLIES 5
kavster
Frequent Visitor

Still puzzling on this one if anyone can help.

Hi, @kavster 

Have you tried adding a variable to the measure ‘Cumulative_Forecast_4’ to statically store the result of the measure ‘SelectedDatadate’?

 

Best Regards,
Community Support Team _ Eason

 

Hi,

I checked but I only see the screencapture. Could you please share the sample pbix file's link?


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.
Jihwan_Kim
Super User
Super User

Hi,

I think the link needs access code.

Could you please check?


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

Sorry now anyone with the link should be able to access the file.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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