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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
My dataset consists of a list of facilities and several metrics. I rank the metrics individually amongst the facilities and then sum the ranks for a "composite score".....ie.....facility A may get a 10, facility B a 15, etc. Finally, I rank the composite score and this is ultimately how we identify a top opportunity facility (easier for mgmt to understand '1st' or '2nd' than a random number for a composite score).
I am now attempting a trend with an "overall top opportunity" (below). I simply included the "composite rank" in a matrix by facility and date. I expected it to 'subtotal' based on the series of ranks, but instead, it appears that it is somehow re-ranking all of the individual KPIs rolled up based on the date range selected. As you can see, I would expect the 5th row to be #2 overall. Is there a way to simply SUM or AVG the ranks? I cannot seem to figure out the syntax. Thanks in advance
Solved! Go to Solution.
Hi, @drew61199
Please try formula like:
Rank =
VAR _tab =
SUMMARIZE ( ALLSELECTED ( 'Table' ), 'Table'[Product], "_total", [total] )
VAR _rank =
RANKX ( _tab, [total],, ASC, DENSE )
RETURN
IF ( HASONEVALUE ( 'Table'[Date] ), SUM ( 'Table'[Value] ), _rank )
Best Regards,
Community Support Team _ Eason
Sample data please.
Hi, @drew61199
Please try formula like:
Rank =
VAR _tab =
SUMMARIZE ( ALLSELECTED ( 'Table' ), 'Table'[Product], "_total", [total] )
VAR _rank =
RANKX ( _tab, [total],, ASC, DENSE )
RETURN
IF ( HASONEVALUE ( 'Table'[Date] ), SUM ( 'Table'[Value] ), _rank )
Best Regards,
Community Support Team _ Eason
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
13 | |
11 | |
10 | |
10 |