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

Announcements
April 13–15 - Dare to Unleash a New Professional You at Qlik Connect 2026: Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
priyarane
Specialist
Specialist

Dynamic label name

Hi Community,

I have a list box(Dim1),and one straight table dimension for straight table(X_Dim).

values:

Dim1

X

Y

Z

in straight table dimennsion(X_Dim) it should dim1 values it means that what I ever I select in Dim1 and then for X_Dim label should be same.

ex:

If I select X in Dim1 and label will be X for X_Dim(Straight table Dimension)

12 Replies
priyarane
Specialist
Specialist
Author

That is selection of Dimension not for Label name

priyarane
Specialist
Specialist
Author

Hi Enrique,

In your example treat like below

Dimension - Company and Id would be same so Enable condition I have changed like: max(Match(Dimension,'Company','Id'))

so Label should come like, If I select Company from Dimension then Label/name: Company, if I select ID from dimension then Label should be: ID

PFA for this code

maxgro
MVP
MVP

=only({$ <Dim1*={x,y}>}  Dim1)