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: 
Not applicable

Put a field name in Column Heading

I need to get a field value to show in the column heading in a straight table. The column heading (AuxReasonDescription) is in the following table:

Capture1.JPG

The following script works to get the "y" in the label but I can't get it to show the AuxReasonDescription instead of "y":

=if(count({$<AuxReasonCode={'1'}>}AuxReasonDescription)>0,'y','n').

Any help would be appreciated.

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Try

=only({<AuxReasonCode={1}>} AuxReasonDescription)

View solution in original post

2 Replies
swuehl
MVP
MVP

Try

=only({<AuxReasonCode={1}>} AuxReasonDescription)

Not applicable
Author

That worked!! Thanks so much.