Skip to main content

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Action-Packed Learning Awaits! QlikWorld 2023. April 17 - 20 in Las Vegas: REGISTER NOW
Showing results for 
Search instead for 
Did you mean: 
Partner - Creator II
Partner - 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 (2)
2 Replies
Contributor III
Contributor III

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

Specialist II
Specialist II

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