Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

From an expression can it be determined which cyclic group is active?

In the backgrond color attribute in the expressions tab for a chart I am using "=rgb(R,G,B)" for the color. It it is working well.

From the background color attribute is there a way to know which one of the cyclic group demensions has been selected by the user?

1 Solution

Accepted Solutions
Not applicable
Author

Dear friend

there is a function called 'getcurrentfield'.

use this example, it work for me :

=if(getcurrentfield(MyGroup) = 'Efecto', rgb(255,0,0) , if(getcurrentfield(MyGroup) = 'Caracteristica', rgb(200,0,0), rgb(0,0,255)))



View solution in original post

1 Reply
Not applicable
Author

Dear friend

there is a function called 'getcurrentfield'.

use this example, it work for me :

=if(getcurrentfield(MyGroup) = 'Efecto', rgb(255,0,0) , if(getcurrentfield(MyGroup) = 'Caracteristica', rgb(200,0,0), rgb(0,0,255)))