Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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