Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

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

Re: Change selected hierarchy through COM API

Sorry, I found it. Simple For example:

 

Set gtu=ActiveDocument.GetGroup("xxxx")

gtu.Cycle 1

Community Browser