Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
in power bi having partno,location,bu slicers and table with partno,location,measure1,measure2,measure3. measure3 in ascending order. How to show top 50 records based on measure3. andto add serial number for those records. 1 to 50. how to achieve this. used rankx, of having duplicate partno and measure3 showing same number for the records, any other alternate method to show 1 to 50. irrespective of duplicate partno and measure3.
Solved! Go to Solution.
= SUMX(
TOPN( 10,
SUMMARIZE( TableName, TableName[partno], <nextcolumn>, <nextColumn>, etc.
"TotalSales", SUM(TableName[Value]) ), [TotalVaule], DESC ), [TotalValue]
)
= SUMX(
TOPN( 10,
SUMMARIZE( TableName, TableName[partno], <nextcolumn>, <nextColumn>, etc.
"TotalSales", SUM(TableName[Value]) ), [TotalVaule], DESC ), [TotalValue]
)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 38 | |
| 36 | |
| 28 | |
| 28 |
| User | Count |
|---|---|
| 124 | |
| 88 | |
| 74 | |
| 66 | |
| 65 |