Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Husky_Bab12
Contributor
Contributor

Title of the chart

Can someone help me with this expression which Im trying to use in qliksense from qlikview for the title of the chart?

=if(GetCurrentField(GROUP_2)='SUPP', 'By Supp, if(getCurrentField(GROUP_2)='CONV_A', 'By A' ,if(getCurrentField(GROUP_2)='att_end_date', 'By Month','')))


Labels (1)
4 Replies
sidhiq91
Specialist II
Specialist II

@Husky_Bab12  Replace your expression with Getfieldselection() function, something like shown below:

if(GetfieldSelections(GROUP_2)='SUPP', 'By Supp, if(GetfieldSelections(GROUP_2)='CONV_A', 'By A' ,if(GetfieldSelections(GROUP_2)='att_end_date', 'By Month','')))

If this resolves your issue, please like and accept it as a solution.

Husky_Bab12
Contributor
Contributor
Author

I tried the above approach.

Its throwing up an error

Husky_Bab12_0-1662738933588.png

 

sidhiq91
Specialist II
Specialist II

@Husky_Bab12  is By_month a field or a value? or if possible could you please  us sample sample data?

Husky_Bab12
Contributor
Contributor
Author

@sidhiq91 Attached how the data looks.

Let me know if this helpful.

Husky_Bab12_0-1662817794197.png