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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Change SheetObject Alternate State via Macro

Hi.

I want to able to change Sheet Object(a chart) Alternate state on the fly by pressing a button.

Is there a macros function to do that?

My backup plan is to make 2 charts with different states and use conditional show. But the macros would be better.

1 Solution

Accepted Solutions
tresesco
MVP
MVP

In that case use 'Set State Name' under Layout action type (trigger)

View solution in original post

4 Replies
tresesco
MVP
MVP

Having a trigger, I would always try to avoid a macro. See the attachment

qv9.png

Hope this helps.

Not applicable
Author

I think you didn't understand. I need to change state of a whole chart.

Astate.JPG

tresesco
MVP
MVP

In that case use 'Set State Name' under Layout action type (trigger)

Not applicable
Author

That worked greatly!

Ty!