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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
kfschaefer
Helper IV
Helper IV

Top & Bottom 10 results, without repetitive Rank

Upon research I found the following :

 

Top Rank = rankx(ALLSELECTED('TABLE[FIELD]),[MEASURE],,Desc)

 

Bottom Rank = rankx(ALLSELECTED('TABLE[FIELD]),[MEASURE],,ASC,Dense)-1

 

Except how do I modify them to include per month values?

 

Sorry not sure how to post an actual Excel file, so I included a picture of some data.

 

I need to create a stack bar chart comparing per month the Top N vs the Bottom N, (with a drill down of sub departments).  

I need a column that returns the Top(mean the lowest number of RankTop) that will return the Org Name w/the TTDTop value per each month. Then another column returning the Bottom Value (the Highset Number TTD Value)  that will return the Org Name w/the TTDBottom value per each month.

Thanks,

 

Karen

 Capture.PNG

 

1 REPLY 1
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @kfschaefer,

 

Please illustrate your requirement with dummy data.

How to Get Your Question Answered Quickly

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.