DAX | Week-on-Week % (WoW%) Calc

PHOTO EMBED

Sat Dec 30 2023 05:25:11 GMT+0000 (Coordinated Universal Time)

Saved by @nikahafiz #ms.pbi #dax #current.week #previous.week #dax.var #dax.return #dax.if #dax.blank #dax.divide #week.on.week.%-wow%

Sales-WoW% = 

VAR WoW =
    [Sales-WoW]
    
VAR PW = 
    [Sales-PW]
    
RETURN
    IF (
        PW = BLANK (),
            BLANK (),
        DIVIDE ( WoW, PW )
        )
content_copyCOPY