DAX | Day-on-Day (DoD) Calc

PHOTO EMBED

Sat Dec 30 2023 04:45:27 GMT+0000 (Coordinated Universal Time)

Saved by @nikahafiz #ms.pbi #dax #previous.day #dax.calculate #dax.var #dax.return #dax.if #day.on.day-dod #dax.blank

Sales-DoD = 

VAR DoD =
    IF ( [Sales-PD] = BLANK(),
        BLANK(),
    [Total Sales] - [Sales-PD] )

RETURN
    DoD
content_copyCOPY