DAX | Last Week-to-Date (LWTD) - 2

PHOTO EMBED

Sat Dec 30 2023 13:52:46 GMT+0000 (Coordinated Universal Time)

Saved by @nikahafiz #ms.pbi #dax #dax.calculate #dax.filter #dax.all #dax.max #last.week.to.date-lwtd

Sales-LWTD = 

CALCULATE(
    [Sales-WTD],
    FILTER( 
        ALL( 'Calendar'),
        'Calendar'[Week Rank] = MAX( 'Calendar'[Week Rank] )-1 
        )
)
content_copyCOPY