The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
24 | |
10 | |
8 | |
7 | |
6 |
User | Count |
---|---|
32 | |
12 | |
10 | |
10 | |
9 |