Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Friends
I have have a pivot table where one of the dimension is sent_date. The format of the date is 03/06/2014 but I want to date appear
like 06-Mar-2014. Pls help me
Thanks
Check below script...
Load
sent_date as sent_date_original,
Date(Date#(sent_date,'MM/DD/YYYY'),'DD-MMM-YYYY') as sent_date_new
Inline
[
sent_date
03/25/2014
04/26/2014
01/27/2014
];
==========================
Now create two list boxes...
one for sent_date_original
2nd for sent_date_new
try:
Date(sent_date, 'DD-MMM-YYYY')
Hope this helps!
=Date(Date#('03/06/2014','MM/DD/YYYY'),'DD-MMM-YYYY')
or
=Date(Date#(YourDateField,'MM/DD/YYYY'),'DD-MMM-YYYY')
Here YourDateField=sent_date
Thanks
Pls tell me where should I enter this format
You can enter this in your script also in place of your sent_date
Date(Date#(sent_date,'MM/DD/YYYY'),'DD-MMM-YYYY') as sent_date
Hi Manish
It is not working. Is there a any other way other than write it in the script. If possible pls let me know
Let me have your script sample. It should work...
Check below script...
Load
sent_date as sent_date_original,
Date(Date#(sent_date,'MM/DD/YYYY'),'DD-MMM-YYYY') as sent_date_new
Inline
[
sent_date
03/25/2014
04/26/2014
01/27/2014
];
==========================
Now create two list boxes...
one for sent_date_original
2nd for sent_date_new
Thanks
It is working