Forum Discussion
asebes
5 years agoFrequent Visitor
Matrix with Blank Values
My raw data doesn't always have values for every month. So when displaying in a matrix format i'm getting "blank" data for months that are missing. How can i build my measure so that if the data is...
- 5 years ago
Assuming you have a date table the measure would be along these lines
Measure = VAR _Date = MAX('Dates'[Date]) RETURN CALCULATE( LASTNONBLANKVALUE( Dates[Date], SUM ( 'Table'[Amount] ) ) ,Dates[Date] <= _Date )
jdbuchanan71
5 years agoSuper User
Assuming you have a date table the measure would be along these lines
Measure =
VAR _Date = MAX('Dates'[Date])
RETURN
CALCULATE(
LASTNONBLANKVALUE( Dates[Date], SUM ( 'Table'[Amount] ) )
,Dates[Date] <= _Date
)
asebes
5 years agoFrequent Visitor
works great! thx for the help!