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
This is the table that I have. I'm trying to make a summary table that only grabs the rows with the largest value index. In this sample data, it would be Index value 9.
Thank you!
Hi @Anonymous
try
Table =
var _maxIndex = CALCULATE(MAX(Table[Index]), ALL(Table))
RETURN
FILTER(Table, Table[Index] = _maxIndex)
This worked great for one value, how would I modify this if I have multiple G1ROLL values with Separate index's?
Here's a picture of what I'm referencing.
@Anonymous
try
Table =
var _maxIndex = CALCULATE(MAX(Table[Index]), ALLEXCEPT(Table, Table[G1ROLL]))
RETURN
FILTER(Table, Table[Index] = _maxIndex && Table[G1ROLL] = MAX(Table[G1ROLL]))
This had no errors but it returned no rows. There's a potential case where the indexes might have a duplicate and it would be okay if it pulls that duplicate.
@Anonymous
sorry, my bad.try
Table 2 =
FILTER(
ADDCOLUMNS(
'Table',
"R", RANKX(FILTER('Table', 'Table'[G1ROLL]=EARLIER('Table'[G1ROLL])), 'Table'[Index], , DESC)
),
[R] = 1
)
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 |
|---|---|
| 104 | |
| 81 | |
| 69 | |
| 50 | |
| 46 |