Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Date part

Hi All,

I have one date field in database in the format of  '30-Jun-14 05.39.00 000000 PM'. Present i need to convert date format as 'MM/DD/YYYY', for this i used "date(DATE_Field,'MM/DD/YYYY') as LOG_DATE".

it's working fine but getting duplicate values (Means same date repeating many times), I want to get only one value for one date.

Please anybody respond me on this requirement.

Thanks,

M V

Labels (1)
2 Replies
ashfaq_haseeb
Champion III
Champion III

Try below

date(floor(DATE_Field),'MM/DD/YYYY') as LOG_DATE


Regards

ASHFAQ

maxgro
MVP
MVP

I suppose you have just formatted your datetime field

If you add a listbox for LOG_DATE and format with some decimals (in number tab) I think you see many values for the same date.

Maybe the little example in the attachment can help you