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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

IF Statement to maximize sheet object

I want to use an if statement that will automatically maximize an object based of a field. If(1=1, maximize).

Any thoughts?


Thanks,

6 Replies
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

You can maximize an object using a Macro (e.g. VBScript) or an Action (if you are on ver. 9.00). Macros are pretty bad for performance. Actions, on the other side, don't have IF conditions.

If you can reach the same effect by showing and hiding the object, then your job is much simpler - you can use a variable in the "Show Condition".

Ask me about Qlik Sense Expert Class!
Not applicable
Author

The object will be visible to all users. However, certain users I want the object to be maximized. You think an action would have this desired effect?

Not applicable
Author

I have found a similar solution for a problem.
Maybe this can help you.
You can check which user is announced and then a Macro or a condition explain.

TextBetween

(OSuser(),'\','') = 'testman'





Not applicable
Author

Only problem is macro's can't run on ajax.

johnw
Champion III
Champion III

I would use Oleg's suggestion of showing and hiding objects. Create a clone of your object. Maximize the clone. Put in an IF statement for it, and the opposite IF statement for the normal-sized object.

bharatkishore
Creator III
Creator III

HELLO ALL,

Can u provide Macro codes for maximizing and minimising the object..........

Regards,

R.Bharat Kishore