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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
davyqliks
Specialist
Specialist

Date format in QS chart

Hi,

I have a simple issue i think...

in a chart if i have a dimension as [expiry Date] i get the correct date format (DD/MM/YYYY).

but, i have some blanks i want to name as N/A

so i add the following:

=if(isnull([Expiry date]),'N/A',[Expiry date],)

this works and adds the N/A but i have the number in num format and there is no place i see in the chart settings to change to Date format.

Can anyone assist please?

Thanks again

Labels (1)
1 Solution

Accepted Solutions
sonkumamon
Creator
Creator

Hi,

Please try

=if(isnull([Expiry date]),'N/A',Date([Expiry date],'DD/MM/YYYY'))

View solution in original post

2 Replies
sonkumamon
Creator
Creator

Hi,

Please try

=if(isnull([Expiry date]),'N/A',Date([Expiry date],'DD/MM/YYYY'))

davyqliks
Specialist
Specialist
Author

So simple.....I just couldn't get the syntax right.

Thanks