Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
vinod22kv
Creator
Creator

Help in date

Hi,

I am trying to extract the date from hte below field, All the records has the same date but when i am using the date function ilst box DUPLICATE has to remove and has to menction only single date since all has same date and diffternt time, but i am getting all the fileds with same data.

 

Contact Date and Time
24/05/2018 04:50
24/05/2018 04:50
24/05/2018 04:50
24/05/2018 04:50
24/05/2018 04:50
24/05/2018 04:50
24/05/2018 04:50
24/05/2018 04:50
24/05/2018 04:50
24/05/2018 04:50
24/05/2018 04:50
24/05/2018 04:50
24/05/2018 04:50
24/05/2018 04:50
24/05/2018 04:50
24/05/2018 04:50

Expected out put in list box.

24/05/2018

But getting out put in list box.

 

24/05/2018
24/05/2018
24/05/2018
24/05/2018
24/05/2018
24/05/2018
24/05/2018
24/05/2018
24/05/2018
24/05/2018

Regards,

Vinod.

1 Solution

Accepted Solutions
PrashantSangle

try date(floor(dateField))

Regards,

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

View solution in original post

4 Replies
PrashantSangle

try date(floor(dateField))

Regards,

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
parthesh
Creator
Creator

Hello can you provide scenario in qvw? because i am not able to reproduce the scenario in my test qvw.

sudhirpkuwar
Partner - Creator II
Partner - Creator II

Hi,


Try this

Date(Floor(Subfield([Contact Date and Time], ' ' , 1)),'DD/MM/YYYY')

qlikviewwizard
Master II
Master II

Hi,

Please check this.

Data:

LOAD date(Date#(DATE,'DD/MM/YYYY hh:ss'),'DD/MM/YYYY') as DATE inline [

DATE

24/05/2018 04:50

24/05/2018 04:50

24/05/2018 04:50

24/05/2018 04:50

24/05/2018 04:50

24/05/2018 04:50

24/05/2018 04:50

24/05/2018 04:50

24/05/2018 04:50

24/05/2018 04:50

24/05/2018 04:50

24/05/2018 04:50

24/05/2018 04:50

24/05/2018 04:50

24/05/2018 04:50

24/05/2018 04:50];