on 03-27-2008 3:43 PM
Hi Everyone,
I need your help: I have a BI query to feed VC table, there are some Date fileds in the query, but their data type are all shown as "T" (text) in VC, so that all dates are displyed as yyyymmdd. Can you please help and tell me how to change their data type to "D", so I can change the format to mm/dd/yyyy?
Thanks, Jin
Hi Jin,
Can u send the screen shot of the UI control types to govindunagotla@gmil.com.
I will check one thing.
i will be in office one more half an hour we will conclude ur problem
Regards,
Govindu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Jen,
You should right click on the input field then choose properties from the context menu,Under General Tab the last field is the default valu you should add your expression there.
Regards Ahmed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ahmed,
Thanks alot for your great help. So I should put the expression string in Expression and choose Custom option in Formatting tab, is it right?
(since our system is down, I can't test it, but I will let you know)
Thanks again, Jin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Jin,
You can use the MID function.
MID(@SHORT_TEXT,5,3)
Displays a substring consisting of the sixth, seventh and eighth character of the string. For example, DOCUMENTATION would be displayed as ENT.
So lets say if the parameter field supplying the date is called 'DATE" and its format is yyyymmdd you can change the format using the following expression
(MID(@DATE,4,2))&"/"&(MID(@DATE,6,2))&"/"&(MID(@DATE,0,4))
to change the format to mm/dd/yyyy
Regards,
Ahmed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.