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: 
datanibbler
Champion
Champion

Identify which expression within a cyclic group is active?

Hi,

is there any possibility to identify which of the dimensions within a cyclic Group is active?

I have not used These Groups much in the past - for a reason, I assume - but now I have one and no Details are displayed about the Group as a whole on the "expressions" tab of my Chart_dialog.

Can anyone advise me here?

Alternatively I'll have to implement a button to Change a variable which I can use.

Thanks a lot!

Best regards,

DataNibbler

4 Replies
stigchel
Partner - Master
Partner - Master

For cyclic groups you can use

GetCurrentField (group_name)


For cyclic expressions I don't know..

datanibbler
Champion
Champion
Author

Hi Piet,

I know. That's as far as I got 😉 I know you can use that function, it works with grouped dimensions - but it seems there is no way to give a Name to a Group of expressions.

I guess I remember now why I refrained from using cyclic Groups in the past 😉

So I'll do it the old-fashioned way and use either two separate Charts or a button to Switch - that way I have something which I can also use to influence other formulas.

For Starters I guess I'll go for separate Charts since I already have some formulas and stuff in the Chart -which would be doubled if I introduce a second Dimension ...

Thanks a lot!

Best regards,

DataNibbler

Frank_Hartmann
Master II
Master II

You can use a macro to get the active Expression within an Expressiongroup

hope this helps

prees959
Creator II
Creator II

Hi Can this macro be used to test what the current dimension is?