Forum Discussion

RaMahi's avatar
RaMahi
Regular Visitor
2 months ago
Solved

MoM calculation

Hi Team, I need to calculate the previous month's score so that when a month is selected from the slicer, the conrresponding previous month's score is displayed against each country. Interim score_...
  • krishnakanth240's avatar
    krishnakanth240
    2 months ago

    Hi RaMahi 

    As you have the measures for Current month(Interim score_avg) and Previous month(Interim score_avg PM) based on the Month difference you can show the arrow directions

    MoM Change = [Interim score_avg] - [Interim score_avg PM]


    MoM Arrow =
    SWITCH(
    TRUE(),
    [MoM Change] > 0, "▲",
    [MoM Change] < 0, "▼",
    "-")