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

Announcements
Now accepting applications for the Qlik Luminary and Partner Ambassador Programs: Apply by July 6!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Change selected hierarchy through COM API

Hi, I'm looking for a way to, pressing a button, change the default selected hierarchy of a dimension in a chart.

I'm doing it with a Macro; but I can't find any reference to changing selected hierarchy in the COM API (apiguide.qvw).

Any ideas?

Thanks.

Labels (1)
1 Reply
Not applicable
Author

Sorry, I found it. Simple For example:

 

Set gtu=ActiveDocument.GetGroup("xxxx")

gtu.Cycle 1