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: 
jorge1
Contributor II
Contributor II

QlikSense partially failing to load dates

Good afternoon,

After breaking my head for a long time, I found the culprit of mismatches between the results I was obtaining in QlikSense and other application. The problem is that I have no clue on how to solve the issue.

I have a date field in my data set. QlikSense is only partially loading it. The dates are all formatted equally in the data source. QlikSense is only parsing some of them into values while returning null for the rest. A picture will show it better: 

dates_not_loading.PNG

 

Any support would be much appreciated

Labels (1)
1 Solution

Accepted Solutions
jorge1
Contributor II
Contributor II
Author

Solved the issue. The root cause of the issue seems to be that Excel is somehow altering some of the dates and parsing them to the Excel date format (which visualizes as a date but stores as an integer).

This results in a null value when QlikSense tries to parse those Excel date formats.

I was not able to figure out what where the triggers for values to be parsed to dates in Excel though.

View solution in original post

5 Replies
vinieme12
Champion III
Champion III

Classic case of garbage in garbage out 

There is absolutely nothing to do here 

 you may have dates for example  6/9/2022 how can you tell if it's June 9th or Sept 6th ??

 

 

 

 

 

 

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
jorge1
Contributor II
Contributor II
Author

Is it though? I know for a fact that the date consistently comes in a DD/MM/YYYY format. Furthermore, I am instructing QlikSense to use this format when loading the data by having:

Date(Date#([DateField], 'DD/MM/YYYY') ) AS [DateField]

Neither Python nor PowerBI had any problem parsing these dates so either there is some knowledge I am missing about working with dates in QlikSense or this is a bug...

vinieme12
Champion III
Champion III

can you post a sample?

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
vinieme12
Champion III
Champion III

is the table a result of concatenation and the other table does not have the below formatting applied?

 

Date(Date#( TRIM([DateField]), 'DD/MM/YYYY') ) AS [DateField]

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
jorge1
Contributor II
Contributor II
Author

Solved the issue. The root cause of the issue seems to be that Excel is somehow altering some of the dates and parsing them to the Excel date format (which visualizes as a date but stores as an integer).

This results in a null value when QlikSense tries to parse those Excel date formats.

I was not able to figure out what where the triggers for values to be parsed to dates in Excel though.