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

Announcements
Posting on Qlik Community is temporarily paused. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Date to a variable

Hi,

I have three list box, for year, month and day.

If the user selects the date, I want to pass that to a variable as vPickDate.  And then I want that vPickDate in chart expression.  Like select data when vPickDate is greater than Planned Date.

How do I pass the selections made in day, month, and year to one variable and use that in chart.

I appreciate any help

Thanks

Labels (1)
12 Replies
Not applicable
Author

But SET gives that as a string and doesn't populates the variable when some thing is selected in the list box

Not applicable
Author

you need to use $(vPickDate) in your expression

Not applicable
Author

I am still trying to create variable in edit script using the line

LET vPickDate = MakeDate(only(Year), only(Month), only(Day));

and that gives me script line error.

Thanks!