Forum Discussion
MoM calculation
- 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, "▼",
"-")
Hello Shai_Karmani ,
Thanks for the solution.
However This solution is showing the last month's scorem but when I select a date from the slicer, it become Blank. Could you please suggest a solution for this?
Actually, I want to display an up/down arrow in the "Interim score_avg" column, which is why i am considering this solution.
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, "▼",
"-")