To solve the problem I thought of using the TIMESTAMPDIFF function in the offset but it doesn't work and I tried various solutions:
AGO ("SellOut Measurements (Detail)". "Sellout Volume", "Dimension: Time". "Time Hierarchy - Week Year". "Week", OFFSET)
1 attempt
TIMESTAMPDIFF(SQL_TSI_WEEK, timestamp '2022-03-28 00:00:00', "Dimension: Time". "Date")
2 tried
CAST(TIMESTAMPDIFF (SQL_TSI_WEEK, timestamp '2022-03-28 00:00:00', "Dimension: Time". "Date") AS INT)
3 attempt
CAST(TIMESTAMPDIFF (SQL_TSI_WEEK, timestamp '2022-03-28 00:00:00', "Dimension: Time". "Date") AS DOUBLE)
None of this worked, what am I doing wrong?
Many thanks in advance
Federico