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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Automation of changing hard coded values in filter of an expression

I have hundreds of expressions.

Every expression has filter say product={'pens','paste','soaps'}.

i created variable say-let v1='pens','paste','soaps'.

I want to replace hard-coded values with variables like:product={$(v1)}.

Pls can any 1 help other than manually going to expression n replacing values with variables; is there any way like to replace hard-coded values in all expressions at once without manually changing them?

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Open the Expression Overview and use the Find/Replace dialog.


talk is cheap, supply exceeds demand

View solution in original post

5 Replies
Kushal_Chawda

why you are not simply selecting the product instead of hard coding

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Open the Expression Overview and use the Find/Replace dialog.


talk is cheap, supply exceeds demand
awhitfield
Partner - Champion
Partner - Champion

Hi prudhvi,

you can use the 'Expression Overview' and use Find/Replace. Just be careful with Upper / Lower case etc.

HTH - Andy

Not applicable
Author

depending on requirement, values in filter have to be changed n there r many expresions in many charts.

Not applicable
Author

Thanks Andrew