Last Year Value in a Straight Table (Date as Dimension)
Hi,
I would like to have a table with the date as dimension and in one of the expressions that I have, I would like to get the value of the previous year.
The thing is that I want to achive this set analysis without using above or other functions that could change in case of changing the order of the table.
Based on the following data sample I would like to have in a table the 20181231 as a dimension and the 972 value:
NoConcatenate Test2: LOAD year(date(Date#(Fecha,'YYYYMMDD'),'DD/MM/YYYY')) as Year, date(Date#(Fecha,'YYYYMMDD'),'DD/MM/YYYY') as FECHA, Value resident Test;