Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
@admin11 you can create a rowNum with RANKX. Please understand that there is no concept of RoW Number like you create one in excel. But you can create a dynamic Ranking which will be same as Row Num based on the measure like following.
_rowNum = RANKX(ALLSELECTED(SALES[BRAND_C]),[Sales Vari %],,DESC)
Hi @admin11 ,
Does the replies above solve your problem? If it has been solved, please mark the correct reply as the standard answer to help the other members find it more quickly.Thanks in advance for your kind cooperation!
Hope it helps,
Community Support Team _ Caitlyn
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
@admin11 you need to provide a sample, else hard to tell
Thank you for your help.
https://www.dropbox.com/s/lep6phoh6hyr9ov/How%20to%20count%20number%20of%20row.pbix?dl=0
Above link is my sample file.
Paul
@admin11 you can create a rowNum with RANKX. Please understand that there is no concept of RoW Number like you create one in excel. But you can create a dynamic Ranking which will be same as Row Num based on the measure like following.
_rowNum = RANKX(ALLSELECTED(SALES[BRAND_C]),[Sales Vari %],,DESC)
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 76 | |
| 38 | |
| 31 | |
| 27 | |
| 26 |