This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
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
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 30 | |
| 24 | |
| 23 | |
| 17 | |
| 15 |
| User | Count |
|---|---|
| 61 | |
| 36 | |
| 29 | |
| 22 | |
| 21 |