Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
madnanansari
Creator
Creator

Change column name in more than 100 variables

I have an app where there are more than 100 variables mentioning the same column. I would like to change the name of the column in all these variables. Is there any way to do this in one shot?

7 Replies
rubenmarin

Hi Mohammad, check in configuration -> Expression preview (CTRL+ALT+E), there you can change many expressions in one shot.

sharpjoki
Contributor II
Contributor II

Hey. As far as I know, the expression browser does not display variables. You need to use the rename fields through the mapping table.

sharpjoki
Contributor II
Contributor II

madnanansari
Creator
Creator
Author

where do i find configuration?

rubenmarin

Press CTRL-ALT+E and the dialog will open.

You can look for expressions and use replace to change the name of the column.

madnanansari
Creator
Creator
Author

I m using Qlik Sense Server. How to do it in the browser?

rubenmarin

Ops, sorry, I thought it was a QlikView question, I don't know any similar utility in Sense.

Just to give some tips I use to centralize management of expressions:

- Using the master items.

- Using variables. As a simple example:

LET varName='[Column Name]';

Then the expression can use the variable, switching the variable in one place and all expressions using the varaiable reflects the changes:

Sum($(varName)) // It's the same than write Sum([Column Name])