DAX | Day-on-Day % (DoD%) Calc

PHOTO EMBED

Sat Dec 30 2023 04:51:26 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 #day.on.day.%-dod% #dax.blank

Sales-DoD% = 

VAR DoD =
    [Sales-DoD]
    
VAR PD = 
    [Sales-PD]
    
RETURN
    IF (
        PD = BLANK (),
            BLANK (),
        DIVIDE ( DoD, PD )
        )
content_copyCOPY