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: 
brindlogcool
Creator III
Creator III

Reference Column Number

Is there any way we can reference the column number in the variable?

Like this If(1='Test','Success','Failed').

We can use the column(1). But not sure about referencing the column number as mentioned above

2 Replies
jpapador
Partner - Specialist
Partner - Specialist

If you want to make a standalone variable that references a chart column then, no.  If you'd like to create an additional column in the chart then you can reference the column.  I think it is only possible to reference columns or expressions within the same chart.  Like you can create expressions that reference columns or expressions on the same chart but not from a different object in your qvw

brindlogcool
Creator III
Creator III
Author

Thanks for the response. I have used Column (1) in the charts but not sure 1 will work. Like using 1 instead of Column(1).