Forum Discussion
Anonymous
7 years agoNot applicable
Including Week Ending Column in Date Table- DAX Help!!!
I am currently using the following DAX statement to create a date table... Date = ADDCOLUMNS ( CALENDAR (DATE(2000,1,1), DATE(2025,12,31)), "DateAsInteger", FORMAT ( [Date], "YYYYMMDD" ), "Ye...
- Anonymous7 years ago
Found this elsewhere - seems to do the trick. Any thoughts?
WeekEnding = 'Date'[Date]-MOD('Date'[Date]-1,7)+6