Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
ManishaDeval_05
Regular Visitor

Trend Ranking for Measure

I have created one measure and add them on the basis of rank function,i want that all down arrow will come first,@ down arroe and one flat will come second and for SINC up arrow is bad ,for MTTR and mtrs up arrow is good

App1 
SINC ↓ 
MTTR
MTRS
App2 
SINC
MTTR
MTRS
  
App3 
SINC
MTTR
MTRS
10 REPLIES 10
v-achippa
Community Support
Community Support

Hi @ManishaDeval_05,

 

Thank you for reaching out to Microsoft Fabric Community.

 

Thank you @Karsurya12_03 for the prompt response.

 

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the super user resolved your issue? or let us know if you need any further assistance.
If our super user response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.

 

Thanks and regards,

Anjan Kumar Chippa

Hi @ManishaDeval_05,

 

We wanted to kindly follow up to check if the solution provided by the super user resolved your issue.
If our super user response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.

 

Thanks and regards,

Anjan Kumar Chippa

Karsurya12_03
Helper II
Helper II

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.

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.

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

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

Karsurya12_03
Helper II
Helper II

@ManishaDeval_05 ,

What is exact requirements? do you mean flat is MTTR<-> ? what about up arrow didn't mention anything like as whether do we consider  it will comes in 3 rd or ignore?

 

Regards,

Surya

MTTR & MTRS up arrow and SINC down arrow will come first, according to the screenshot all red will come first and the two red one green

ManishaDeval_05_0-1742822087967.png

 

Hi @ManishaDeval_05 ,

                                      For my understanding will be,all down arrow will show in first and it will be redcolor and combination of up arrow and down arrow will comes second if green means up arrow.Am i right?

 

Regards,

SK.

 

Yes Right

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.