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: 
emmanueld
Partner - Creator
Partner - Creator

Get the current state of a cyclic group?

Hello everyone,

Simple question : is it possible, in an chart using a cyclic group as dimension, to know which dimension is currently displayed among the dimensions of the group?

Making up something:

Let's say I'm in a table chart, and I would like to display either dimension A or dimension B. Then when dimension A is displayed I want to display columns A1 and A2 (like customer => customer address and city), and when switching to dimension B I want to display columns B1, B2, B3 (Employee => ID, category, phone number)

That may be done easily by having a button outside the table chart setting a variable, but I just wanted to know if something like that already existed without having to use an external button.

Thanks in advance.

1 Solution

Accepted Solutions
sunny_talwar

3 Replies
trdandamudi
Master II
Master II

To find out which dimension is selcted in the cyclic group you can use the below functon:

GetCurrentFiled(YourCyclicGroupName)

sunny_talwar

Use GetCurrentField() function:

GetCurrentField ‒ QlikView

emmanueld
Partner - Creator
Partner - Creator
Author

Niiice! This is exactly what I was looking for, thank you very much you two. Have a nice one.