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
I want to get Acc value
| Item | Value | Acc Value |
| A | 120 | 120 |
| B | 60 | 180 |
| C | 60 | 240 |
| D | 40 | 280 |
| E | 10 | 190 |
Hi, @luzwales
Please check the below picture and the sample pbix file's link down below.

Acc value measure =
VAR rankbyitem =
RANKX ( ALL ( Data ), CALCULATE ( MAX ( Data[Item] ) ),, ASC )
VAR rankbyvalue =
RANKX ( ALL ( Data ), CALCULATE ( MAX ( Data[Value] ) ),, DESC )
VAR currentrankcombination =
RANKX ( ALL ( Data ), CALCULATE ( MAX ( Data[Item] ) ),, ASC )
+ 100 * RANKX ( ALL ( Data ), CALCULATE ( MAX ( Data[Value] ) ),, DESC )
VAR newtable =
FILTER (
SUMMARIZE (
ALL ( Data ),
Data[Item],
Data[Value],
"@rankbyitem", RANKX ( ALL ( Data ), CALCULATE ( MAX ( Data[Item] ) ),, ASC ),
"@rankbyvalue", RANKX ( ALL ( Data ), CALCULATE ( MAX ( Data[Value] ) ),, DESC )
),
[@rankbyitem] + 100 * [@rankbyvalue] <= currentrankcombination
)
RETURN
IF ( ISFILTERED ( Data[Item] ), SUMX ( newtable, Data[Value] ) )
https://www.dropbox.com/s/rc0rohk7fb880ww/luzwales.pbix?dl=0
And here's why you should NEVER use SUMMARIZE for anything else but grouping:
It is very useful article for me! thanks!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 19 | |
| 11 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 20 | |
| 12 | |
| 10 |