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

Dynamically Change the Expression Label

All,

Good Day...

I am making a pivot table with 3 dimension and 2 expression.

The dimension are

Customer Code

Customer Name

Air Line

The Expression are

Amount

Incentive

I want an option to dynamically change the name of this Incentive based on the dimension Airline, if the air line is A, then i need

Incentive as "Incentive -10%", if the Airline is B, incentive should be "Incentive-20%" and go on..

Appreciate your help

Thanks

RK1.png

7 Replies
MK_QSL
MVP
MVP

Is there any on AirLine selected at a time?

If Yes, you can use something like below in lable

=If(GetFieldSelections([Air Line]) = 'A', 'Incentive -10%', 'Incentive - 20%')

jsingh71
Partner - Specialist
Partner - Specialist

Please share some sample data then will try to implement this.

Not applicable
Author

No, I cannot select a particular Airline. Need to make it dynamic..

Not applicable
Author

Hi,

i have attached a sample file. Please have a look on that.

Not applicable
Author

I have attached a sample file..

buzzy996
Master II
Master II

Hi Ranjith, we have to tell the system/ur chart some way u changed some thing(accordingly ur changes ur chart expressions also will change),but ur saying to MRKachhiaIMP question answer as NO,if that is the case how ur system will understand something is dynamically changed?


u can use the option suggested by MRKachhiaIMP


else u can create a variable with input box,and pass ur values as Airline A or B, and in ur expression u can us ethis variable and write ur conditions.

Not applicable
Author

Okay Shiva,

Let me try like that...