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

Editing an inputfield: Propagation to all instances

I want to calculate a weighted sum for several objects which have several aspects:

sum_for_object = weight_1*aspect_1 + weight_2*aspect_2 + ... + weight_n*aspect_n

My task is to make the weights in this summation editable, but always for the summation for every object, independent of any selection.

I declared the field for the weights as 'inputfield'. Now I get a separate value for, let's say, weight_1 for every object, these separate values are OK for me. When editing the value of weight_1 (inputfield), I want all the separate values of weight_1 to be updated for all objects, in order to have them all equal in the summations for every object.

Anyone has an idea? Thanks in advance!

1 Reply
datanibbler
Champion
Champion

Hi,

again, I may be overlooking your actual difficulty - but what about making the weight_factor(s) into (a) variable(s)?`

=> That way, whenever that variale is edited, it will be used for every object, no?

HTH

Best regards,

DataNibbler