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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
vireshkolagimat
Creator III
Creator III

column with date and time

Hello All,

I have a column called TransactionDate in my Master and transaction table and it's storing the values in YYYY-MM-DD hh:mm:ss:mmm format. When i try to compare the data between the backend database and Qlikveiw, the results won't be proper.

Any suggestions how to deal in this case.

Thank you.

Regards,

Viresh

5 Replies
Anil_Babu_Samineni

May be master calendar doesn't have same format. Can you check same

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
vireshkolagimat
Creator III
Creator III
Author

Hi, I have created datekey to link master calendar and fact table.

Anil_Babu_Samineni

How you are comparison with each date. Can you share full script?

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
vireshkolagimat
Creator III
Creator III
Author

Hi, can we maintain the similar date format in Qlikview as well. We are reading the data from 8:00 AM to 8:00 AM. For example, yesterdays data will be from 27/11/2017 8:00 AM to 28/11/2017 8:00 AM.

Anil_Babu_Samineni

Yes, using Date(Date#(..)..) can work like below

Date(Date#(FieldName, 'DD-MM-YYYY', 'YYYY-MM-DD hh:mm:ss:mmm')

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