Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
vincBUUS
Contributor
Contributor

Change the color or size of text in a conditional expression

I want to do this : 

=If(vMesure = 'avg',Red('%') & ' ↔️ ∑','% ↔️ ' & Red('∑'))

But as you might guess, it doesn't work. Is there a way to change the color (or even the size) of an element of a sentence in an expression on QlikSense?
Are there extensions capable of doing this?

Thank you for your help

Labels (1)
1 Solution

Accepted Solutions
Or
MVP
MVP

Seems like it'd be easier to create two images, one for each state, and swap between those based on a condition, than to try and work around text formatting limitations.

View solution in original post

4 Replies
Kushal_Chawda

@vincBUUS  In which chart you want to change the colour of text?

vincBUUS
Contributor
Contributor
Author

It's the label/title of a button

vincBUUS_0-1727260651385.png

I want to change the color of the % and ∑ elements based on the value of a variable...

Kushal_Chawda

@vincBUUS  I don't think you can do that as it will apply colour to all elements and not individual. Probably need some extension

Or
MVP
MVP

Seems like it'd be easier to create two images, one for each state, and swap between those based on a condition, than to try and work around text formatting limitations.