Forum Discussion
FP68
Helper I
5 months agoHow to add an indicator
Hello, I’m trying to set an indicator on a Matrix. It is composed from a History table that has a column with the name of a site (JV), a month (Month) and a volume (VolumeGo) So i have one line pe...
Kedar_Pande
Super User
5 months agoAdd Month Offset calculated column:
Month Offset = DATEDIFF(TODAY(), History[Month], MONTH)
Measure for indicator:
Trend Indicator =
VAR CurrentVol = [VolumeGo]
VAR PrevVol =
CALCULATE(
[VolumeGo],
FILTER(History, History[Month Offset] = MAX(History[Month Offset]) + 1)
)
RETURN
IF(CurrentVol > PrevVol, "↑", IF(CurrentVol < PrevVol, "↓", "→"))