This formula should solve your problem
IF(AND(DATETIME_FORMAT(date,“YYYY - Wo”),DATETIME_FORMAT(date,‘M’)=12),CONCATENATE(DATETIME_FORMAT(date,“YYYY”),"- 52"),DATETIME_FORMAT(date,“YYYY - W”))
This formula should solve your problem
IF(AND(DATETIME_FORMAT(date,“YYYY - Wo”),DATETIME_FORMAT(date,‘M’)=12),CONCATENATE(DATETIME_FORMAT(date,“YYYY”),"- 52"),DATETIME_FORMAT(date,“YYYY - W”))
Smooth solution man!
Although for some reason this created another problem that i also can’t figure out, all of Dec 2019 gets grouped to week 52?
Better than before but still

Smooth solution man!
Although for some reason this created another problem that i also can’t figure out, all of Dec 2019 gets grouped to week 52?
Better than before but still

IF(AND(DATETIME_FORMAT(date,“W”)=1,DATETIME_FORMAT(date,‘M’)=12),CONCATENATE(DATETIME_FORMAT(date,“YYYY”),"- 52"),DATETIME_FORMAT(date,“YYYY - W”))
I messed up on the first part of the formula. This should fix it for you.
IF(AND(DATETIME_FORMAT(date,“W”)=1,DATETIME_FORMAT(date,‘M’)=12),CONCATENATE(DATETIME_FORMAT(date,“YYYY”),"- 52"),DATETIME_FORMAT(date,“YYYY - W”))
I messed up on the first part of the formula. This should fix it for you.
My man!
Creative solution