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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
anindya_manna
Creator II
Creator II

How to store an entire expression in a Variable

I want to store the below expression inside the variable.Please help me how to do this.

vAppCondition=((Trim(Schedule)='Daily' or Trim(Schedule)=date(now(),'WWWW')) and $(vFlag_NewProcessDate)=1)or (Trim(Schedule)='Monthly' and $(vFlag_NewProcessMonth)=1)

I am using escape chr(39)to keep the single quote but not working correctly

Labels (1)
2 Replies
saifuddin
Contributor III
Contributor III

Under Setting --Variable overview create a variable and add the expression as definition. Then use it in your chart . 

qv_testing
Specialist II
Specialist II

Go to Setting--> Variable Overview (Ctrl_Alt+v)--> you can add here 

Capture.PNG