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!
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.
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 |
|---|---|
| 56 | |
| 52 | |
| 45 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 108 | |
| 108 | |
| 39 | |
| 33 | |
| 25 |