werafa
06-03-2017, 12:09 AM
Hi all,
I am trying to implement the cumulative values measure in MS Power BI - (which is supposed to be the engine for Excel Power BI).
I have attempted to follow the tutorial on http://www.daxpatterns.com/cumulative-total/.
I've created and loaded a date table.
I've created a relationship between Datekey[date ] and PBI_KPIs[DateTo]
I've copied in the dax code
CumulativeGCI =
CALCULATE(
SUM(PBI_KPIs[GCI]),
FILTER(ALL(DateKey[Date]), DateKey[Date] <= MAX (DateKey[Date])
)
)
and the .... thing won't work.
can anyone spot my error?
thanks
I am trying to implement the cumulative values measure in MS Power BI - (which is supposed to be the engine for Excel Power BI).
I have attempted to follow the tutorial on http://www.daxpatterns.com/cumulative-total/.
I've created and loaded a date table.
I've created a relationship between Datekey[date ] and PBI_KPIs[DateTo]
I've copied in the dax code
CumulativeGCI =
CALCULATE(
SUM(PBI_KPIs[GCI]),
FILTER(ALL(DateKey[Date]), DateKey[Date] <= MAX (DateKey[Date])
)
)
and the .... thing won't work.
can anyone spot my error?
thanks