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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Counting and Ranking unique IDs

I am looking to Count and Rank unique IDs associated with one unique value. This table from another post is very close to what i'm looking to do. However, I keep getting the error "Earlier/Earliest refers to an earlier row context which doesn't exist". I'm completely puzzled. Smiley Frustrated

 

 

4 REPLIES 4
v-jiascu-msft
Employee
Employee

Hi @Anonymous,

 

Could you please mark the proper answers as solutions?

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-jiascu-msft
Employee
Employee

Hi @Anonymous,

 

It's a calculated column in the post of your link. Maybe you want a measure that can't use the formula directly. It could be something like below. Please share a sample of yours.

Column =
RANKX ( ALL ( Table1[Address ID] ), CALCULATE ( COUNT ( Table1[PersonID] ) ) )

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Jkaelin
Resolver I
Resolver I

Can you provide more context please?  Thank you  & welcome to the forums.

SteveCampbell
Memorable Member
Memorable Member

Can you post an example of your columns / data?

 

 



Did I answer your question? Mark my post as a solution! Proud to be a Super User!


Connect with me!
Stay up to date on  
Read my blogs on  



Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors