cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Sh00un
Frequent Visitor

RANK for MIDDLE 10

Hello,

 

I would like to know if there are any way to put a RANK where I'll devide the ROWs RANKED and this MIDDLE value I want to get -5 and +5 from this middle number and become a graphic called MIDDLE 10

Example:

Sh00un_0-1635255278199.png


So, basically I want to bring these 10 rows as result.

I did try so many things but, no idea how to do it. 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Sh00un , Try measure like below in place of Average measure

measure =

var _max = maxx(Table[Name]), [Rank])

return

Calculate([Average], filter(Values(Table[Name]) , [Rank] >5 && [Rank] <= _max -5))

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin

Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!

View solution in original post

2 REPLIES 2
Sh00un
Frequent Visitor

@amitchandak Your syntax seems very clarifying for me, it deffinitely will sort my problem but I forgot to mention one thing. - I couldnt make the RANK column, I'm also struggling to RANK based on average.

Once I fix the RANK, I can apply your formula to set the middle ones

amitchandak
Super User
Super User

@Sh00un , Try measure like below in place of Average measure

measure =

var _max = maxx(Table[Name]), [Rank])

return

Calculate([Average], filter(Values(Table[Name]) , [Rank] >5 && [Rank] <= _max -5))

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin

Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.