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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Rank based on dimensional attributes

Hi All - hoping for some assistance here with Ranking on couple of dimensional attributes

 

I've a requirement to show top 10 projects that will have certain types of impact.

 

I've a table about projects and go live dates and impacts looking like this (dates are dd/mm/yyyy)

 

Since the table creation in this forum cannot be more than 10 rows, for argument's sake lets work on top 5

 

Project Name Go live date Impact Ranking
Project1 11/08/2021 H 1
Project2 23/08/2021 H 1
Project3 25/09/2021 H 1
Project4 29/09/2021 H 1
Project5 02/10/2021 M 2
Project6 15/10/2021 M 2
Project7 31/10/2021 M 2

 

So from above the requirement is just to show the top 5 entries. Upto Project5. I dont want the remaining entries.

 

Hope that is sufficient info to help me out.

 

Thank you

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

@Anonymous Not sure but maybe TRIMMEAN? TRIMMEAN - Microsoft Power BI Community

 

Where is the ranking coming from? Is it in the table?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

3 REPLIES 3
Greg_Deckler
Community Champion
Community Champion

@Anonymous Not sure but maybe TRIMMEAN? TRIMMEAN - Microsoft Power BI Community

 

Where is the ranking coming from? Is it in the table?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Wow!! Are you suggesting to get only top N rows of the list, I need to write such a long complicated DAX?

 

Isn't it an over kill?

..........Were my thoughts when I saw your response. But then I thought of trying it out.

 

And it worked.

 

Thanks a lot @Greg_Deckler That was really helpful.

 

Thanks

@Anonymous Glad someone could use that formula because it was a total PITA to write it!!



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.