Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Ambiguous reference to a field in a table

Is there a way to reference a field in a table without using the given name of the field?

For example, I have a field A in table X, can I reference the field A using some other identifier that is not tied to the actual "name" of the field?

Thanks,

Siarhei K.

1 Solution

Accepted Solutions
isaiah82
Creator III
Creator III

I'm assuming you're trying to keep things dynamic and hence why you don't want to reference by name?  Check out "Table Functions" in the QV help file.  Namely FieldName comes to mind which returns the name based on it's ordinal position in the table; you could possibly use this in a variable definition.

View solution in original post

2 Replies
isaiah82
Creator III
Creator III

I'm assuming you're trying to keep things dynamic and hence why you don't want to reference by name?  Check out "Table Functions" in the QV help file.  Namely FieldName comes to mind which returns the name based on it's ordinal position in the table; you could possibly use this in a variable definition.

Not applicable
Author

Perfect!

Thank you so much.