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
Solved! Go to Solution.
Hi @Anonymous
Try this for the new calculated column:
Cheapest Key =
VAR _MaxSKUPrice =
CALCULATE (
MAX ( Table1[PriceRank] ),
ALLEXCEPT ( Table1, Table1[SKU] ),
Table1[Comp Segment] = "Key"
)
RETURN
IF ( Table1[Comp Segment] = "Key" && Table1[PriceRank] = _MaxSKUPrice, 1 )
Hi @Anonymous
Glad to hear you've solved it, please accept the helpful reply as solution, that way, other community members will easily find the solution when they get same issue
Regards,
Cherie
Hi @Anonymous
Try this for the new calculated column:
Cheapest Key =
VAR _MaxSKUPrice =
CALCULATE (
MAX ( Table1[PriceRank] ),
ALLEXCEPT ( Table1, Table1[SKU] ),
Table1[Comp Segment] = "Key"
)
RETURN
IF ( Table1[Comp Segment] = "Key" && Table1[PriceRank] = _MaxSKUPrice, 1 )
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 |
|---|---|
| 59 | |
| 46 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |