Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Friends,
I'm having a problem in Retrieving the date format.
I'm having the field Ret_Month and need to use it as dimension.
My Ret_Month is in 01,02,03,04......
I need show like it as full names January....December.
I used like below.
=if(date(Ret_Month,'MMMM'),Ret_Month)
But, i'm getting as January, December, January, January,January......January.
Please anyone suggest me what may be the problem is...
Thanks & Regards
Krishna
Have a look at attached application.
Edit:
You can even use the below code too.
Date(Date#(MONTH,'MM'),'MMMM') as TestField,
Regards
ASHFAQ
You need to see the SET sentence in the begining script .... and see the QV file attached
Load
*,
Date(Date#(SubField('$(MonthNames)',';',Ret_Month),'MMM'),'MMMM') as Ret_MonthFull
Inline
[
Ret_Month
01
02
03
04
05
06
07
08
09
10
11
12
];
Hi,
Can you post a sample qvw file.
Regards
ASHFAQ
Attaced a Qv file
Hi Colomer,
i used the expression which you suggested me.but its not working.
regards
Krishna
Post your sample file.
Regards
ASHFAQ
Get me the QV file to see
In my QV they are another file xls in charge script
Here you have all
Maybe also:
Date#(SubField('$(LongMonthNames)',';',Ret_Month),'MMMM')
?
Regards
Marco
Hi Colomer,
Please find the below attachment and guide me further.
Regards
Krishna