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: 
jorgelardi
Contributor II
Contributor II

Fieldvalue with variables

I want to use fieldValue as follows:

fieldvalue ('Field' variable) where registration of the field is calculated from a variable calculated from the user's selection

It's not working me. Question: fieldValue works with variables?

Thank you

3 Replies
rubenmarin

Hi Jorge,

'variable' is used to complete the field name? In that case you can use:

=FieldValue('Field$(variable)',ValueNumber)

Saravanan_Desingh

Please check the attachment. I have come up with an example.

jimbeierschmitt
Partner - Contributor
Partner - Contributor

In your example the field value function works as defined.  It's referencing the original load order of the field values.  If you sort the table in the load script the field value function will follow.