cancel
Showing results for
Search instead for
Did you mean:
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:

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
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!
2 REPLIES 2
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

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!

## Helpful resources

Announcements

#### Launching new user group features

Learn how to create your own user groups today!

#### Check it Out!

Click here to read more about the November 2021 Updates!

#### 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.

Top Solution Authors
Top Kudoed Authors