Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
Hi Friends,
I have issue with RANKX
When I have table only with Customer Name and RANKX formula everything works well.
But when i'm adding addinional context (Company Type, Domain ) RANKX does not work properly.
Could you please help?
Thanks in advance!
Regards,
Oleh
Solved! Go to Solution.
Hi @Anonymous
I made some changes to your model.
1. Changed the relationship direction and type
2. Rank Measure - it needs to be ALL( Account[Account] ) not ALL( Revenue [Account] )
3. In your visuals use the fields from the Account table, not from Revenue
Please see the attached file.
Hi @Anonymous
If you are trying to rank over the columns you are adding then you will need to include these columns in the first argument of rankx ALL( column1, column2, column3 ).
If you are looking for a different outcome then please can you provide a data sample and an outcome expected.
Hi @Anonymous
I made some changes to your model.
1. Changed the relationship direction and type
2. Rank Measure - it needs to be ALL( Account[Account] ) not ALL( Revenue [Account] )
3. In your visuals use the fields from the Account table, not from Revenue
Please see the attached file.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
70 | |
55 | |
37 | |
31 |
User | Count |
---|---|
83 | |
64 | |
63 | |
49 | |
45 |