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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
The rank formula works when SAP Material is the only measure on the row (1st image). When I add in Sap Material Description it returns all values in the table and adds a rank of "1" to it (2nd image).
How do I fix the formula so that i can add more measures to the row field and still get the correct rank?
Hi,
I am not sure how your datamodel looks like, but please try something like below.
RANK =
RANKX (
FILTER (
ALLSELECTED ( PRODUCT_DIM[SAP_MATERIAL], PRODUCT_DIM[SAP_MATERIAL_DESCRIPTION] ),
NOT ( ISBLANK ( [UNITS PROF] ) )
),
[Avg Weekly Units],
,
DESC,
DENSE
)
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 9 | |
| 6 | |
| 5 |
| User | Count |
|---|---|
| 27 | |
| 22 | |
| 20 | |
| 17 | |
| 12 |