Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
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

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