Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
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. ![]()
Hi @Anonymous,
Could you please mark the proper answers as solutions?
Best Regards,
Dale
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
Can you provide more context please? Thank you & welcome to the forums.
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
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 43 | |
| 37 | |
| 35 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 65 | |
| 58 | |
| 29 | |
| 27 | |
| 25 |