Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Announcements
BI & Data Trends 2021. Discover the top 10 trends emerging in today. Join us on Dec. 8th REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Creator III
Creator III

Setting a variable to a date (Simple)

Hi Experts,

Need of your help

I am Hard coding this into the script

I am trying to set a variable (vPriceDate) to the default date of 01/02/2017

how would i write this?

Set vPriceDate=????????????

thankyou

1 Solution

Accepted Solutions
Highlighted

The another best way is

LET vPriceDate = Date('01/02/2017');

View solution in original post

3 Replies
Highlighted
Creator III
Creator III

Hi,

set vPriceDate = MakeDate(2017,02,01).

BR

Martin

Highlighted

Write in a variable

Set vPriceDate ='01/02/2017';

Highlighted

The another best way is

LET vPriceDate = Date('01/02/2017');

View solution in original post