Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi all,
I have this table:
Company Count Rank
A 23 1
B 10 2
C 5 3
D 2 4
And with this DAX code works just fine
Company Count Country Rank
A 23 US 1
B 10 UK 2
C 5 AUS 1
D 2 ARG 4
How i should develop this my DAX code in order to obtain a Rank like mas first table above.?
Best
Solved! Go to Solution.
Hello all,
Finally i've solved that way:
Hello Ibendlin,
Company and Country: Columns
Count and Rank: Measures
Best
Hello all,
Finally i've solved that way:
** EDIT: I realize this doesnt exactly answer your question, but this may help someone else stumbling upon this post 🙂
You could try making a string concatenation of the two Rank Columns, then sort those alphabetically.
Is "Count" a column or a measure? Do you want the rank as a column or as a measure?
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
6 | |
6 | |
3 | |
2 | |
2 |
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
3 |