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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I've tried MAXX() around the ADDCOLUMNS(), but that just gives me the value of 31.837.
I want the Market Name returned "04167-Boston".
EVALUATE
ADDCOLUMNS (
SUMMARIZE (
STORE_CONNECT,
STORE_CONNECT[Market]
),
"WOS", DIVIDE ( CALCULATE ( [OH] ), CALCULATE( [Sales] ) )
)
MARKET WOS
04167-Boston 31.8373525792809
04253-NewYork 28.7424878959799
03044-Charleston 25.8248559556622
00654-Minneapolis 24.9126105413978
05515-Tempe 24.8818140998196
04456-Anaheim 22.9656216911629
Solved! Go to Solution.
HI @Darrell
Try this:
Measure =
Var _A =
ADDCOLUMNS (
SUMMARIZE (
STORE_CONNECT,
STORE_CONNECT[Market]
),
"WOS", DIVIDE ( CALCULATE ( [OH] ), CALCULATE( [Sales] ) )
)
Var _B = MAXX(_A,[WOS])
Var _C = Filter(_A,[WOS]=_B)
return
MAXX(_C,[MARKET])
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
HI @Darrell
Try this:
Measure =
Var _A =
ADDCOLUMNS (
SUMMARIZE (
STORE_CONNECT,
STORE_CONNECT[Market]
),
"WOS", DIVIDE ( CALCULATE ( [OH] ), CALCULATE( [Sales] ) )
)
Var _B = MAXX(_A,[WOS])
Var _C = Filter(_A,[WOS]=_B)
return
MAXX(_C,[MARKET])
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 50 | |
| 49 | |
| 35 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 92 | |
| 75 | |
| 41 | |
| 26 | |
| 25 |