Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Alessandro_TZ9
Contributor III
Contributor III

Dynamic field as a measure

Hello,

I need to make a measure dynamic based on an alternative selection made by the user during navigation.

The selection must be between two different fields, for example:

  • selection 1 = FieldValue_1
  • selection 2 = FieldValue_2

Then, some formulas have to adapt to this.

I'm not so sure what the best solution might be: buttons? variable input? or both?

 

Thanks for helping

 

Labels (1)
3 Replies
JHuis
Creator III
Creator III

I would use variables for this. 

 

brunobertels
Master
Master

marcus_sommer

The mentioned selection could be directly used by providing the wanted fields in this selection or if they are associated to them. To fetch the selected value respectively related value you may use:

[$(=maxstring(YourSelectionField))]

which would return a valid field-reference in dimensions and expressions.