Qlik Community

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Read about the latest Qlik Community enhancements on the Community News blog!
cancel
Showing results for 
Search instead for 
Did you mean: 
anindya_manna
Partner
Partner

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 (2)
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