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
Want To Learn Power BI
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
Want To Learn Power BI
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
Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors