Forum Discussion

SaiJ301120's avatar
SaiJ301120
Frequent Visitor
3 years ago
Solved

Displaying Change Indicators

I Have a requirement to show the previous month value and previous of previous month value in individually and betwwen these two to have an arrow indication if the present month value has increased,d...
  • FreemanZ's avatar
    FreemanZ
    3 years ago

    hi SaiJ301120 

    something like this?

     

    Indicator = 
    VAR _valuecurrent = SUM(TableName[Projects Delivered])
    VAR _valuecurrentlm = 
    SUMX(
        FILTER(
            ALL(TableName),
            TableName[Date]=EDATE(MAX(TableName[Date]), -1)
        ),
        TableName[Projects Delivered]
    )
    VAR _diff = _valuecurrent - _valuecurrentlm
    RETURN
    IF( _diff>=0, UNICHAR(9650), UNICHAR(9660))