Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

dynamic variable name with columnno() in pivot chart expression

Hi,

if I use 'vcalc' & ColumnNo() in a chart expression in a pivot table, I see this in the cells: vcalc1, vcalc2... as text.

Looks good so far.

But I would need to use is as variable names.

I have different variables for each column in a pivot table.

How to convert the text created with 'vcalc' & ColumnNo() into a variable name?

I tried different things like:

=$($(='vcalc' & ColumnNo()))....

but nothing works.

Any idea?

Roland

3 Replies
Anil_Babu_Samineni

Can you show the image, Where you are trying this

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Anonymous
Not applicable
Author

in the definition of a chart expression

Anonymous
Not applicable
Author

doing the same with RowNo() works fine.