Qlik Community

QlikView Layout & Visualizations

Discussion Board for collaboration on QlikView Layout & Visualizations.

Not applicable

Condition in position ?

Hi everyone,

I just would like to know if it is possible to set a condition to define the X-pos and Y-pos of an object ?

I haven't been able to find it anywhere..


Matthieu JUNIER

Tags (2)
4 Replies

Re: Condition in position ?


No, I am afraid it is not possible.

Best Regards,     Bill

Contributor II

Re: Condition in position ?

Closest you can get to this is to have duplicate objects and then show/hide them in the different positions based on the condition. This might get very confusing if you are trying to make lots of position changes.

Not applicable

Re: Condition in position ?


You can do this by two ways:

1. Use two objects and show/hide logic.

2. Use macro to achieve this . (It won't run on ajax).

For example macro for increasing the size of object

sub cin

set obj = ActiveDocument.GetSheetObject("CH09")


    set fr = obj.GetFrameDef

    set pos = fr.Rect

    pos.Width = pos.Width * 1.1

    pos.Height = pos.height * 1.1

    obj.SetFrame fr,true,dummy

End sub

Not applicable

Re: Condition in position ?

Ok, I think I'll go with the show/hide logic for now.

Thank you all !

Community Browser