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: 
Aldemarprins4
Contributor III
Contributor III

Variable where

Hi guys, I have the following problem, I have a where statement, but I want to include it in a variable, the statement is this

Where Date> = '$ (DateC)' and FlagoneFX = 1;

How can I include this statement in a variable?

Thanks
3 Replies
Saravanan_Desingh

So DateC is again a Variable here?

Aldemarprins4
Contributor III
Contributor III
Author

Hello, yes DateC is other Variable, 

What I want to do is that when, you have a variable X, do the where with the variable DateC and and FlagoneFX = 1, if the variable is different from X then do

where DateC y and FlagoneFX = 1 and Flagbg = 1

Arroyo45
Contributor
Contributor

when i use those variable in where clause(sql query) its not giving output and if i hardcode those vaiable values output will come.

liteblue