Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to calculate an object's size ?

Hi everyone !

Is there a way to define a text object’s size with an expression ?

Here is my example :

I have two text objects :

- “Number of boys : 153”

- “Number of girls : 170”

153 and 170 are the result of an expression.

I would like the girl’s text object to be bigger than the boy’s one when there are more girls than boys (the size of the text object depends on the result).

Is that possible ?

Thanks,

Best regards,

Sarah

1 Solution

Accepted Solutions
marcus_sommer

This isn't possible with a single textbox - you will need several textboxes which are laying over eachother and where the visibility is controlled with variables. An alternatively could be an extension like: QlikTip #39: Displaying Html content within QlikView (Minimalistic HtmlTextBox Object Extension).

- Marcus

View solution in original post

4 Replies
marcus_sommer

This isn't possible with a single textbox - you will need several textboxes which are laying over eachother and where the visibility is controlled with variables. An alternatively could be an extension like: QlikTip #39: Displaying Html content within QlikView (Minimalistic HtmlTextBox Object Extension).

- Marcus

r_wroblewski
Partner - Creator III
Partner - Creator III

Hi Sarah,

I think you need to create two text objects and use conditional show to create something like that.

You can't use an expression for the size of an object as far as I know.

Best regards,

Ronny

Not applicable
Author

Thanks, I'll try this

Not applicable
Author

Thank you