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: 
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

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

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