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 moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hey!
Can anyone see what gets wrong with my DAX formula?
I write following:
This is what TimeLoaded_LC is, and this is what NewRunLadoad gets:
I want it to take the current value, - previous value. as 988 - 987.9 = 0.1 and this value to be in NewRunLoad.
Thanks!
Kind regards
Agnes
Solved! Go to Solution.
Hi @Anonymous,
Please refer to below DAX formula:
NewRunLoad =
IF (
CALCULATE (
MAX ( Data[Index] ),
FILTER ( ALLEXCEPT ( Data, Data[Device] ), [Index] < EARLIER ( Data[Index] ) )
)
= BLANK (),
BLANK (),
Data[TimeLoaded_LC]
- CALCULATE (
SUM ( Data[TimeLoaded_LC] ),
FILTER (
ALLEXCEPT ( Data, Data[Device] ),
[Index]
= EARLIER ( Data[Index] ) - 1
)
)
)
Best regards,
Yuliana Gu
Hi @Anonymous,
Please refer to below DAX formula:
NewRunLoad =
IF (
CALCULATE (
MAX ( Data[Index] ),
FILTER ( ALLEXCEPT ( Data, Data[Device] ), [Index] < EARLIER ( Data[Index] ) )
)
= BLANK (),
BLANK (),
Data[TimeLoaded_LC]
- CALCULATE (
SUM ( Data[TimeLoaded_LC] ),
FILTER (
ALLEXCEPT ( Data, Data[Device] ),
[Index]
= EARLIER ( Data[Index] ) - 1
)
)
)
Best regards,
Yuliana Gu
Is this a measure?
Seems like your > sign in your minIndx VAR should be a < sign.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 38 | |
| 38 | |
| 31 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 74 | |
| 61 | |
| 31 | |
| 31 | |
| 23 |