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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Display distinct date in list box

Hi,

I am getting duplicate dates in a list box like this:

Duplicate Date List.jpg

But I just want to show only distinct dates.

Do you know how to set it up?

Thanks in advance

1 Solution

Accepted Solutions
MayilVahanan

HI

Use

Load *, Floor(DateField) as DateField

from tablename;

Hope it helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

5 Replies
MayilVahanan

HI

Use

Load *, Floor(DateField) as DateField

from tablename;

Hope it helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
hic
Former Employee
Former Employee

These dates probably contain a time part also, that is hidden by the formatting. You need to create the field using Date(Floor(Date)).

See more on Why don’t my dates work?

HIC

Not applicable
Author

Yes, you solution worked.

Thanks a lot..

On Thu, Mar 21, 2013 at 7:50 PM, Henric Cronström

Not applicable
Author

Hi,

The following worked for me as an expression in the ListBox.

Date(floor(DATE_TIME_FIELD), 'MM/DD/YYYY')

Hope this helps someone.

Not applicable
Author

Yes, I have used the same expression in my ListBox while following your

help.

Thanks...