Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I would like to create a variable on my script with a specific Date Format. I tried this:
But when i look into the data structure i see this:
The Format doesn't work :/.
I need this because i do a check between two variables:
AsOf_E = Last_Update_Projection
And AsOf_E is configured like this:
Thanks you in advance for your help,
Sébastien.
just Date function will work
MaxDate:
LOAD
Date(Max(AsOf_E) ,'DD/MM/YYY') as [LastAsOf]
...
LET Last_Update_Projection = peek('LastAsOf',0,'MaxDate');
Hi,
Use date() instead of date#()
Regards
Date(Date#(Max(AsOf_E,'DD/MM/YYYY')) as
try
Load,
Date(Date#(Max(Asof_E,'Dateformat')) as new
just Date function will work
MaxDate:
LOAD
Date(Max(AsOf_E) ,'DD/MM/YYY') as [LastAsOf]
...
LET Last_Update_Projection = peek('LastAsOf',0,'MaxDate');
Hi ,
Load Date(Date#(Max(Asof_E,'DD/MM/YYYY')) as [LastAsOf]
I think Manish you forgot to close Max() function
Not sure if Date#() function is still required to interpret the date.
Date(Date#(Max(AsOf_E),'DD/MM/YYYY'), 'DD/MM/YYYY') as [LastAsOf]