Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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