Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have a numeric variable that contains year and month in the format YYYYMM and I have a few questions.
How do I create a date variable from this variable (day can be 1)?
What is the best way to create another variable with the format YYYY-MM? (need this for presentation)
In the end I want to have a way to make a column that calculates the difference compared to same month previous year, will the date variable help me achieve this?
Grateful for help and also if someone could redirect me to some documentation on this topic.
Ok, I get that to work but it means that it can't be used together with the variable Year_Month in the dimension. It is perfectly fine, I have now created a new table for the differences using the year and monthname dimension (not the combined year and month). So I am content.