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: 
artmar
Partner - Contributor III
Partner - Contributor III

Trying to use an expression to show today's date in my template, Pixel Perfect keeps showing it as a number instead of a date. How can I change that?

This same expression works in Qlik instead, showing a date properly.

artmar_0-1737102847799.png

 

Labels (1)
1 Solution

Accepted Solutions
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

text(date(today(),'DD/MM/YYYY'))

Obviously date() by itself returns dual which is number and text and withing pixel perfect it still returns number as expected hence you have to force it to represent text value.

cheers

Lech

cheers Lech, 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 to the problem.

View solution in original post

2 Replies
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

text(date(today(),'DD/MM/YYYY'))

Obviously date() by itself returns dual which is number and text and withing pixel perfect it still returns number as expected hence you have to force it to represent text value.

cheers

Lech

cheers Lech, 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 to the problem.
artmar
Partner - Contributor III
Partner - Contributor III
Author

Thanks!