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

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. 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