Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
antonybi
Creator
Creator

remove

Hi,

I have been trying remove the duplicate login times(6:30 and 15:30)

How do we remove these duplicates??

123.PNG

urgent,kindly suggest.

PFA, for your reference!!!

1 Solution

Accepted Solutions
sunny_talwar

Load your data like this

temp:

LOAD Time(Round([login time], 1/1440)) as [login time]

FROM

demo.xlsx

(ooxml, embedded labels, table is Sheet1);

View solution in original post

4 Replies
Anil_Babu_Samineni

May be this?

Aggr([login time], [login time])

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
sunny_talwar

Load your data like this

temp:

LOAD Time(Round([login time], 1/1440)) as [login time]

FROM

demo.xlsx

(ooxml, embedded labels, table is Sheet1);

antonybi
Creator
Creator
Author

Thank you sunny !!!

I wanted to know whats wrong with the existing format????

sunny_talwar

Not entirely sure, but it seems that this was related to decimal numbers not entirely matching between the two 6:30 pm... they might look something like this

0.27083333333333333

0.27083333333333334

In order to make the two number equal, we rounded them to the nearest minute... you can round them to nearest second, if you have seconds by using this

temp:

LOAD Time(Round([login time], 1/86400)) as [login time]

FROM

demo.xlsx

(ooxml, embedded labels, table is Sheet1);