March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
8 | |
2 | |
1 | |
1 | |
1 |
User | Count |
---|---|
10 | |
3 | |
2 | |
2 | |
2 |