DAX | Previous Week (PW) Calc - 2

PHOTO EMBED

Sat Dec 30 2023 07:22:38 GMT+0000 (Coordinated Universal Time)

Saved by @nikahafiz #ms.pbi #dax #dax.calculate #dax.filter #dax.all #dax.max

Sales-PW =

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