Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

jasmina_karcic
Contributor II

How to define a variable for date?

Hello,

How can I define variable in Qlik sense app, for date yesterday (today-1)?

I want use this variable for a title of excel report in NPrinting.

variable.png

total.png

But this doesn't work...

Please help,

Jasmina

1 Solution

Accepted Solutions

Re: How to define a variable for date?

try putting an = character in front of it an use the date function to format the result as a date: =date(today()-1)


talk is cheap, supply exceeds demand
4 Replies

Re: How to define a variable for date?

try putting an = character in front of it an use the date function to format the result as a date: =date(today()-1)


talk is cheap, supply exceeds demand
jasmina_karcic
Contributor II

Re: How to define a variable for date?

THANK YOU VERY MUCH!!!!

jasmina_karcic
Contributor II

Re: How to define a variable for date?

Do you know maybe how can I put this variable in body of email that I am sending by publish task in NPrinting....

Please...

Thanks anyway

Re: How to define a variable for date?

Sorry, no idea.


talk is cheap, supply exceeds demand