Forum Discussion
Trend Ranking for Measure
Hi ManishaDeval_05 ,
Need few more clarifications
App1,app2 and app3 there 3 came from diff table or single? What condition did u applied for Up and down arrow?
Regards,
Surya.
- ManishaDeval_051 year agoRegular Visitor
These three are from same table and condition i have applies is if the SINCS goes up it will show up arrow and if MTTR goes down it will show down error.
- v-achippa1 year agoCommunity Support
Hi ManishaDeval_05,
Based on your requirements, all red down arrows should come first and the combination of red down arrows and green up arrows should come second.
For this here is the DAX measure:
SortRank =
VAR SINC_Value = SELECTEDVALUE(Table[SINC])
VAR MTTR_Value = SELECTEDVALUE(Table[MTTR])
VAR MTRS_Value = SELECTEDVALUE(Table[MTRS])
RETURN
SWITCH(
TRUE(),
SINC_Value = "↓" && MTTR_Value = "↓" && MTRS_Value = "↓", 1,
(SINC_Value = "↓" && MTTR_Value = "↑") || (SINC_Value = "↓" && MTRS_Value = "↑") ||
(SINC_Value = "↑" && MTTR_Value = "↓") || (SINC_Value = "↑" && MTRS_Value = "↓"), 2,
3
)
Add this measure to the table visual and sort your table by this measure in ascending order
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
Thanks and regards,
Anjan Kumar Chippa
- v-achippa1 year agoCommunity Support
Hi ManishaDeval_05,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution I have provided for the issue worked.
If my response addressed, please mark it as "Accept as solution" and click "Yes" if you found it helpful.Thanks and regards,
Anjan Kumar Chippa