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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
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

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

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
MVP
MVP

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
MVP
MVP

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
MVP
MVP

No problem

I am glad I was able to help.

Best,

Sunny