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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
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

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!