Hi All,
I need to do two things with a list of dates: set the week to begin on Wednesday then report a week number in full year plus week number format, similar to "%Y%U" in DateTimeFormat that aligns with the shifted week start. I also need the week number to be +1 since Alteryx starts week numbers on 0 and I need them to start on 1.
In the example below, the left is what Alteryx would do with the dates if I used formulas to get the day of the week and the week number in "%Y%U" format, and the right side is what I actually need. Any thoughts on how to get the right side?
| Date | Day of Week | Year and week number | | Date | Day of Week | Year and week number |
| 12/27/2020 | 0 | 202052 | | 12/30/2020 | 0 | 202053 |
| 12/28/2020 | 1 | 202052 | | 12/31/2020 | 1 | 202053 |
| 12/29/2020 | 2 | 202052 | | 1/1/2021 | 2 | 202053 |
| 12/30/2020 | 3 | 202052 | | 1/2/2021 | 3 | 202053 |
| 12/31/2020 | 4 | 202052 | | 1/3/2021 | 4 | 202053 |
| 1/1/2021 | 5 | 202052 | | 1/4/2021 | 5 | 202053 |
| 1/2/2021 | 6 | 202052 | | 1/5/2021 | 6 | 202053 |
| 1/3/2021 | 0 | 202100 | | 1/6/2021 | 0 | 202101 |
| 1/4/2021 | 1 | 202100 | | 1/7/2021 | 1 | 202101 |
| 1/5/2021 | 2 | 202100 | | 1/8/2021 | 2 | 202101 |
| 1/6/2021 | 3 | 202100 | | 1/9/2021 | 3 | 202101 |
| 1/7/2021 | 4 | 202100 | | 1/10/2021 | 4 | 202101 |
| 1/8/2021 | 5 | 202100 | | 1/11/2021 | 5 | 202101 |
| 1/9/2021 | 6 | 202100 | | 1/12/2021 | 6 | 202101 |