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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Line Chart Date Format Changing when Zooming in.

Hello,

I have a simple line chart with my dimension as 'Date', which is being loaded  as mm/dd/yyyy. I even have set the format as Date and 'MM/DD/YYYY' in the number tab in properties. Before zooming, or applying a slider filter, the date is showing in the correct format. However, when I zoom in to look at one specific month, the format changes to 'DD/MM/YYYY'. Does anyone know how to prevent this?

Example Attached

@Sunny T

1 Solution

Accepted Solutions
sunny_talwar

I think you need to change your environmental variables here:

Capture.PNG

Change it to this:

SET DateFormat='MM/DD/YYYY';

SET TimestampFormat='MM/DD/YYYY hh:mm:ss[.fff]';

and reload to check if that fixes the issue

View solution in original post

4 Replies
sunny_talwar

I think you need to change your environmental variables here:

Capture.PNG

Change it to this:

SET DateFormat='MM/DD/YYYY';

SET TimestampFormat='MM/DD/YYYY hh:mm:ss[.fff]';

and reload to check if that fixes the issue

Not applicable
Author

This worked! Thank you very much!

sunny_talwar

Great, please close this thread by marking the correct answer.

Qlik Community Tip: Marking Replies as Correct or Helpful

Best,

Sunny

Not applicable
Author

Sunny,

I do not see the option to select 'Correct Answer' as is depicted in your Tip.