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

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.

1 Reply
Not applicable
Author

Sorry, I found it. Simple For example:

 

Set gtu=ActiveDocument.GetGroup("xxxx")

gtu.Cycle 1