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
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.
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 |
|---|---|
| 35 | |
| 32 | |
| 25 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 66 | |
| 36 | |
| 32 | |
| 25 | |
| 23 |