Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Experts ,
Many times I faced dates issues but none of old techniques worked. Could you please help me to read the dates here.
[Output]:
LOAD
ALT(DATE#(Date,'D/M/YYYY'),DATE#(Date,'DD/M/YYYY'),DATE#(Date,'D/MM/YYYY'),DATE#(Date,'DD/MM/YYYY'))as Date,
Sales
RESIDENT [Dress Sales] ;
But My Output is:
My Source is:
Hi Renato,
You might be true sorry for not testing your option but what gave me satisfied solution is,
LOAD
(if ((isnum(Date) = -1),Date,Date(Num#(Date)))) as Date,
Sales
;
num#() helped me here
Hi,
Please share sample data.
samwise
Sample data is attached
Hi Guruprem,
Few of the data is store as numeric I guess that's why your facing the issues. Please post your app so that we can help you out.
Please find the attached qvw
Regards
Samwise
I am using PE, Could you post script?
Hi,
use this
Directory;
LOAD
Date,
Date(Date#(Date,'DD/MM/YYYY'),'DD-MM-YYYY') as DATES
FROM
[Sample Dates.xlsx]
(ooxml, embedded labels, table is Sheet1);
regards
nadeem
Hi
I think its just a formatting issue. This works with your sample data:
Date(DATE#(Date,'DD/MM/YYYY'))as Date
HTH
Jonathan
I tried this, it output date is not showing some dates(Text dates as shown in first post )
I tried this, it output date is not showing some dates(Text dates as shown in first post) . I mean there should be 24 dates in output but only 14 dates are showing