Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Creator II
Creator II

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
Highlighted
Partner
Partner

Re: In Qlik Sense, Column header based on if condition

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/

Highlighted
Creator II
Creator II

Re: In Qlik Sense, Column header based on if condition

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