Create a Date column (or a measure) from work week
In one of my tables, I have a work week (WW) column. The data is formatted as follows.
2020WW25 --> Work Week 25 of 2020.
2020WW30 --> Work Week 30 of 2020.
You get the drift.
I would like to create a column (or even a measure) that would convert this WW to a date, so I can use it in a slider, and calculate rolling averages, and such. The WW starts on Mondays. Obviously the WW spans 7 days, so for the 'day' part of the date I prefer the first day of the WW.
For instance, if we take January 2020:
2020WW01 starts on 12/30/2019, so that's what I would like that WW to be converted to.
2020WW02 => 1/6/2020
2020WW03 => 1/13/2020
I know you can get the week from a date object, but I don't quite know how to go about the reverse.