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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi all - I'm trying to reproduce an LOD expression (from Tableau) in Power BI.
{ FIXED [Schedule Period], [Schedule Query], [Site] : MAX( [NAH] ) }
NAH is the difference between two other columns.
What is the easiest way to do this in Power BI?
Solved! Go to Solution.
Hi @jmarcrum
A measure like this should give the same result for that particular visual:
Max NAH Measure =
SUMX (
SUMMARIZE (
YourTable,
YourTable[Site],
YourTable[Schedule Period],
YourTable[Schedule Query]
),
CALCULATE ( MAX ( YourTable[NAH] ) )
)Here I've used SUMMARIZE to return a table with the required granularity, and then used SUMX over this table to sum the max values.
To exactly replicate the behaviour of the FIXED LOD (which would ignore filters aside from Site, Schedule Period and Schedule Query) you could also write:
Max NAH Measure =
SUMX (
SUMMARIZE (
YourTable,
YourTable[Site],
YourTable[Schedule Period],
YourTable[Schedule Query]
),
CALCULATE (
MAX ( YourTable[NAH] ),
ALLEXCEPT (
YourTable,
YourTable[Site],
YourTable[Schedule Period],
YourTable[Schedule Query]
)
)
)
Hopefully that's of some use.
Regards,
Owen
Hi @jmarcrum
A measure like this should give the same result for that particular visual:
Max NAH Measure =
SUMX (
SUMMARIZE (
YourTable,
YourTable[Site],
YourTable[Schedule Period],
YourTable[Schedule Query]
),
CALCULATE ( MAX ( YourTable[NAH] ) )
)Here I've used SUMMARIZE to return a table with the required granularity, and then used SUMX over this table to sum the max values.
To exactly replicate the behaviour of the FIXED LOD (which would ignore filters aside from Site, Schedule Period and Schedule Query) you could also write:
Max NAH Measure =
SUMX (
SUMMARIZE (
YourTable,
YourTable[Site],
YourTable[Schedule Period],
YourTable[Schedule Query]
),
CALCULATE (
MAX ( YourTable[NAH] ),
ALLEXCEPT (
YourTable,
YourTable[Site],
YourTable[Schedule Period],
YourTable[Schedule Query]
)
)
)
Hopefully that's of some use.
Regards,
Owen
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 57 | |
| 53 | |
| 42 | |
| 16 | |
| 16 |
| User | Count |
|---|---|
| 112 | |
| 106 | |
| 39 | |
| 36 | |
| 27 |