Forum Discussion

sublog's avatar
sublog
Helper III
5 years ago

Week to date Calculation group

Trying to figure out the syntax for a week-to-date measure based on Sunday being the first day of the week. 

 

Does anyone have anything that could point me in the right direction? 

 

Here is what I have done for MTD:

 

CALCULATE ( SELECTEDMEASURE (), CALCULATETABLE ( DATESMTD ( 'Calendar'[Date] ), 'Calendar'[IsPast] = TRUE () ) )