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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
guruprem
Partner - Creator III
Partner - Creator III

Duplicate values appearing in Listbox

Hi,

I loaded data from a logfile.txt  when I used LogDate as list box it started displaying duplicate values, please help as I this is not how Qlik normally displays list boxes

1 Solution

Accepted Solutions
sunny_talwar

To fix this, may be try this in the script:


Load Date(Floor(LogDate)) as LogDate

View solution in original post

6 Replies
Anonymous
Not applicable

On the Number tab of the list box:

  • Tick Override Document Settings
  • Select Timestamp

Thus you should be able to whether these are indeed duplicates of discrete data or different Timestamps displayed merely as dates.

sunny_talwar

To fix this, may be try this in the script:


Load Date(Floor(LogDate)) as LogDate

guruprem
Partner - Creator III
Partner - Creator III
Author

Date is extracting fine with your suggestion. One follow up question is suggest way to get Hour from Timestamp?

sunny_talwar

May be this:


Load Date(Floor(LogDate)) as LogDate_Date

         Time(Frac(LogDate), 'hh:mm:ss') as LogDate_Time

guruprem
Partner - Creator III
Partner - Creator III
Author

It is working. Thanks for help

sunny_talwar

No problem

I am glad I was able to help.

Best,

Sunny