Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Martijn_M
Contributor
Contributor

Trying to associate a date field DD/MM/YYYY with a date/time field DD/MM/YYYY+Time

Hi,

 

I am trying to associate 2 tables with each other, using the date fields as connection. But one field also contains time after the date and i am struggling to link the 2 together. Should I first use the TRIM function and the rename them so that they ]are linked? I have added a picture of the two fields in my datamodel. 

Thank you guys in advance!

Kind regards, 

Martijn

2 Replies
PrashantSangle

You have to make it in one common format

for timestamp value you can use combination floor() & date()

 

Regards,

Prashant

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 🙂
Martijn_M
Contributor
Contributor
Author

Could you please show in code what you want me to do?

I was trying this: 

Date(Date#(left(trim(DATETIME),8),'MMDDYYYY'))