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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Not applicable

Custom Filter for RankX new Column

I currently have a large table that requires a visualised index column. I have come across this EXAMPLE formula for a RANKX and FILTER for a new column in the table :




‘Sales Table’,

‘Sales Table'[Country ] = EARLIER(‘Sales Table'[Country ])


‘Sales Table'[Total Sales]



but I'm struggling to replicate it with my data:


Supplier Analysis Index Rank = RANKX(FILTER('looker_views lkr_Intake_Data','looker_views lkr_Intake_Data'[Supplier Group Name] = EARLIER('looker_views lkr_Intake_Data'[Supplier Group Name],
'looker_views lkr_Intake_Data'[Intake_Data_Custom_1] in {"COP1","COP2"}))
My aim is to have this formula:

Supplier Analysis Index Rank = RANKX(ALL('looker_views lkr_Intake_Data'[Supplier Group Name]),'looker_views lkr_Intake_Data'[Company_Id],,ASC)


Only filtered for: 

'looker_views lkr_Intake_Data'[Intake_Data_Custom_1] in {"COP1","COP2"})


Can anyone help?

Super User
Super User

Sample data would be greatly helpful. Please see this post regarding How to Get Your Question Answered Quickly:

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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.