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

Header/Label Help

Hi All,

I was trying to see if Qlik allows you to reuse the Header/Label name calculation.  What I have field names, Company, Amount1, and Amount2.  On one of my Table I have 2 expressions named "SumAmt1_2" and "Ratio%". I'm curios if  I can type either of this expression Header on a separate table would give me the same results. Please see attached QVW.

Many Thanks,

Frank

1 Solution

Accepted Solutions
sunny_talwar

You can use Column() or you can use what ever name you have give it.

For instance if you call your expression Name XYZ -> You can refer it in other expression by calling [Name XYZ] (it will turn blue if it find the label name)

View solution in original post

7 Replies
sunny_talwar

The labels can only be used within the same chart and not outside. Can you use variables instead?

Anonymous
Not applicable
Author

Yes, I did use variables and it works. I'm just curious if it's doable within Qlik objects.

BTW - what's the label syntax within the same chart? I used column(). Thanks

sunny_talwar

You can use Column() or you can use what ever name you have give it.

For instance if you call your expression Name XYZ -> You can refer it in other expression by calling [Name XYZ] (it will turn blue if it find the label name)

sfatoux72
Partner - Specialist
Partner - Specialist

The advantage of using label is that you could let your user play with column order without impact the result of your expression. With Column(), you must remove the possibility to move the column to avoid wrong result.

Anonymous
Not applicable
Author

Thanks Sunny!!.. I shouldn't ask you this question..

Anonymous
Not applicable
Author

Sebatien, I agree label over Column().

Is there ways to lock the column's to prevent user moving the columns?

sfatoux72
Partner - Specialist
Partner - Specialist

‌yes,

properties --> presentation --> disable "Allow move column"