The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi,
I intend to achieve "Table 2" outcome. However, my DAX isn't working as expected. Table 2 was achieved using the TopN function from the filter pane.
How do I achieve "Table 2" using DAX?
Here is my DAX command for "Table 1"
Solved! Go to Solution.
1. Create a measure called 'Sum Values' to SUM the Values
2. Create a measure Ranking to rank the for the SUM Values
Hi harshnathani,
Thanks for your response. It does work. However, I've got 2 questions for you;
1. Total isn't correct. It is showing the total for everything and not the top 2.
2. Is it possible to achieve this using TOPN?
Hi @Anonymous
Please use this measure.
User | Count |
---|---|
15 | |
12 | |
7 | |
6 | |
5 |
User | Count |
---|---|
24 | |
20 | |
12 | |
9 | |
7 |