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.
Hello
I'm having trouble pulling a sales ranking (photo attached).
I don't understand why it gives me back several "1s" and several repeated positions. Does Alguie know why that's the case?
Thanks in advance.
Solved! Go to Solution.
This issue is now solved as the "AdventureWorks" database has duplicated product names with different IDs...
RANKX(ALL('Table'[Product]),[sum of sale],,DESC,Dense)
You actually called full table instead of product column.
Try This:
Hi haseebsuhail943,
Thanks for your prompt reply, but it didn't work:
This issue is now solved as the "AdventureWorks" database has duplicated product names with different IDs...
User | Count |
---|---|
68 | |
63 | |
59 | |
54 | |
28 |
User | Count |
---|---|
182 | |
81 | |
64 | |
46 | |
38 |