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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Validating input date parameter against chart object

Hi,

I need to run a qv chart object having CALENDAR_DATE column for the date range given by the user in variables StartDate and EndDate.

I have written the following in a Run Macro trigger to perform the same but not getting the desired output.

startDate = ActiveDocument.variables("vStartDate").GetContent.String & "*"
endDate = ActiveDocument.variables("vEndDate").GetContent.String & "*"
selexpr = ">=" & startDate & "<=" & endDate
ActiveDocument.GetField("CALENDAR_DATE").Select(selexpr)

I would appreciate any help.





0 Replies