Expand capability of the FirstDayofWeek Function
Hello,
I would like the ability to have the FirstDayofWeek function to consider Sunday to be the start day of the week. Right now it only is able to consider Monday as the first day of the week.
The workaround to solve for this is difficult to implement and maintain. I would have to split my daily time series data by snapshot Day of the week, Sundays and None Sundays.
- For sundays, the snapshot date is the FirstDayofWeek, so no transform is needed.
- For non-sundays, I would need to create a calculated field and use the DateDiff function with the FirstDayofWeek function and subtract one day so that instead of Monday it will return the previous day (my sunday).
Please help me solve this as I believe many businesses consider Sunday as the Start of the week.