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

Get label name in group of expressions

I have a dimension group of expressions and they each have labels. Next to the cycle button the currently selected label of the expression shows fine. I want to display the current selections label in the caption but GetCurrentField(GroupName) returns the big ugly expression, not the label.

Is there a way to get the label of the currently selected field in a group?

3 Replies
fkeuroglian
Partner - Master
Partner - Master

Hi Cameron, i have a simple and fast solution(possible its not the best, but if you have a quick solution, you could use it)

in the object box that you want to show the name correct you could do it wiht some if conditions, for example

=if(GetCurrentField(Jerarquías)='Desc. de Producto','Descripcion','Desc. de Producto')

my group Jerarquias have Desc. de Producto, and now i want to show in the label Descripcion

if you dont have a lot of options in the group and you coud do

i know it is hardcode but i recomend do it fast and go on with the thing that take much more time..

i hope help you

Fernando

El mensaje fue editado por: Fernando Keuroglian

Not applicable
Author

That's pretty much what I have done, I was just curious if there was a more simple way.

Thanks