Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi Everyone,
I am trying to rank my order code data by the Avg. Qty Sold using the below DAX Formula. However when the I return the results I am seeing duplicate rank values (example below). Any suggestion on how to eliminate this issue?
Ranking = RANKX(
ALLSELECTED(detail),
CALCULATE(SUM(detail[avg_mth_qty_sold])),
,DESC,Skip
)
User | Count |
---|---|
25 | |
10 | |
7 | |
6 | |
6 |
User | Count |
---|---|
30 | |
11 | |
11 | |
9 | |
7 |