Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Date | Name | Amount |
1/19/2022 | A | 80 |
1/15/2022 | A | 100 |
1/14/2022 | B | 60 |
2/14/2022 | C | 20 |
2/7/2022 | C | 40 |
2/11/2022 | A | 50 |
3/14/2022 | B | 30 |
3/18/2022 | A | 20 |
In the above sample data, i need to create a pbi report, which shows the ranking of each categories in each month.
So for Month 2 , will show for Category A,Rank = 2, Category C , Rank=1.
For month = 1, Rank for Category A = 1, Category B =2
Is there any way to improve the performance of the above formula?
hello lease use:
Ranking = RANKX( ALLSELECTED( Ranking[Name] ) , CALCULATE( SUM( Ranking[Amount]) ))
Hi,
Please check the below picture and the attahced pbix file.
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
47 | |
24 | |
20 | |
15 | |
13 |
User | Count |
---|---|
51 | |
46 | |
39 | |
19 | |
19 |