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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
aguirre
Creator
Creator

Show distinct values in a filter

I have a table with a date column.

I want a filter to show distinct value and not:

 

aguirre_0-1731073685997.png

 

 

What should I do?

Labels (2)
1 Solution

Accepted Solutions
Qrishna
Master
Master

i think even though you are just seing the date, i believe theres a different timestamp stuck to each date value hence the filter is taking each date as different field value.

 

try modifying your date field something like below:

Date(Floor(Timestamp#(DATE_CREATED,'DD-MMM-YY hh.mm.ss.fffffffff')),'DD/MM/YYYY') as DateField

 

you could just create new filter panne with this function instead of modifying it in the data load editor.

let me know once you do it.

View solution in original post

2 Replies
Qrishna
Master
Master

i think even though you are just seing the date, i believe theres a different timestamp stuck to each date value hence the filter is taking each date as different field value.

 

try modifying your date field something like below:

Date(Floor(Timestamp#(DATE_CREATED,'DD-MMM-YY hh.mm.ss.fffffffff')),'DD/MM/YYYY') as DateField

 

you could just create new filter panne with this function instead of modifying it in the data load editor.

let me know once you do it.

aguirre
Creator
Creator
Author

Yes @Qrishna you were right and I did as you wrote. THanks