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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
PPalkowski
Helper II
Helper II

Rank by filter

I am struggling with filter ranking

 

I have this rank working as expected

 

 

RankChanges = RANKX (
ALL ( 'Docuentation Issues'[Manager]),
CALCULATE ( COUNTA( 'Docuentation Issues'[Number] ) ))
 
I have another field I want to add to my visual named SumFail, still works... when I filter sumfail = 0, now my rankings are off and retain the value prior to the filter so I cannot show the top N. 
Any help? 
1 ACCEPTED SOLUTION
PPalkowski
Helper II
Helper II

 
I figured it out....
 
 
 
Rank Top = RANKX (
FILTER ( ALL( 'Docuentation Issues'[Manager]), 'Docuentation Issues'[SumFail] = 0),
CALCULATE ( COUNTA( 'Docuentation Issues'[Number] ) ))

View solution in original post

1 REPLY 1
PPalkowski
Helper II
Helper II

 
I figured it out....
 
 
 
Rank Top = RANKX (
FILTER ( ALL( 'Docuentation Issues'[Manager]), 'Docuentation Issues'[SumFail] = 0),
CALCULATE ( COUNTA( 'Docuentation Issues'[Number] ) ))

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.