Forum Discussion
DAX repeating values
I tried using this measure; however, it is not providing the correct result.
Test =
CALCULATE(
LASTNOTBLANKVALUE('Dates'[Date], [Incidents Forecast]), FILTER(ALL('Dates'[Date], [Date] <=MAX('Dates'[Date])))
Benedict21 ,
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
- Benedict213 years agoFrequent Visitor
Hi! Thank you so so much for your help! I recreated the file with test data. I have 5 columns:
DateCount of Incidents
Count Incidents Sum (measure)
Count Incidents rolling average (measure)Cumulative Forecast (measure)
I want to repeat the forecasted value for the next month (9 in this case), and not continue the rolling average. So Jan 2023, Feb 2023, Mar 2023, etc., should all equal 9.Thank you again for your help!
- Benedict213 years agoFrequent Visitor
I sent you a message with a link to the pbix. Thanks!