Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register 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?
User | Count |
---|---|
12 | |
2 | |
2 | |
2 | |
2 |
User | Count |
---|---|
10 | |
8 | |
7 | |
3 | |
3 |