Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
rammuthiah
Creator III
Creator III

In Qlik Sense, Column header based on if condition

In Qlik Sense, I am using if condition in expression that if (flag=0, column1,column2) and it's shows the correct value. Here my problem is, I want to show the column header based on condition.

if( flag=0) --> Header as column1

if( flag=1) --> Header as column2

2 Replies
lironbaram
Partner - Master III
Partner - Master III

hi

in qlik sense table you can't use expressions in column labels ,

in pivot table you can use expressions in measures labels only

if you want the capability to use labels in all type of columns

you can look at Vizlib table extension , but this extensions isn't free

https://www.vizlib.com/table/

Anonymous
Not applicable

Hi Ram,

If you are using a simple if condition with flag value like '0' or '1', you can use and give custom header for that column in Pivot column or normal dimension itself.

Regards,

Sadasiva