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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Displaying dates correctly

Hi everyone,

I could need some help with the following:

This is my source data:

To have the dates displayed in the format DD.MM.YYYY I used the following expression in my script, which works nearly perfect.

Date(Date#(VALUE_OLD, 'YYYYMMDD'), 'DD.MM.YYYY') as [Alter Wert BELEG];

However, the value 00000000 is only displayed as " - "

Since I need the date for a follow-up calculation I need it to be displayed as 00.00.0000, therefore getting rid of the sign.

Any suggestions appreciated.

Thanks in advance,

Daniela

1 Solution

Accepted Solutions
sunny_talwar

How about this may be

Alt(Date(Date#(VALUE_OLD, 'YYYYMMDD'), 'DD.MM.YYYY'), Dual('00.00.0000', 0)) as [Alter Wert BELEG];

View solution in original post

2 Replies
sunny_talwar

How about this may be

Alt(Date(Date#(VALUE_OLD, 'YYYYMMDD'), 'DD.MM.YYYY'), Dual('00.00.0000', 0)) as [Alter Wert BELEG];

Not applicable
Author

Thanks a lot.

This works just the way I want it