cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kfschaefer Member
Member

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 Super Contributor
Super Contributor

Re: Top & Bottom 10 results, without repetitive Rank

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
Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Power BI Helps Homeless and Trouble Youth

Power BI Helps Homeless and Trouble Youth

We spoke with Power BI Super User, Greg Deckler, about his charity work

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 43 members 1,109 guests
Please welcome our newest community members: