Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
How to add two colours in expression(conditional)?
if([field]>72, black(), Black(),White())
@Zohaib_Awan777, from looking at the picture you provided, you are probably looking for an expression that will add both colors (black and white) if < 72, and only one color if > 72. Unfortunately it does not seem like we have an expression / function for coloring with stripes. More details under https://help.qlik.com/en-US/sense/August2021/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/ColorFu...
If you would like to suggest this feature, you may create an Idea under the link below:
https://community.qlik.com/t5/Suggest-an-Idea/idb-p/qlik-ideas
Since this Question is related to app development I will move to that forum
Do you want to explain in words what you are trying to do. It's "If(<condition>, what-to-do, else-what-to-do)
If field is greater then 72 color black, else everything else is colored white would be:
if([field]>72, black(), White())
Actually, I want two colours using if conditional in expressions like black and white. I am giving the snapshot you will definitely understand what I want.
Sorry, I have no idea what your question is. This is the best i have to help you if([field]>72, black(), White()). Maybe someone else can decipher your question or you'll need to be more clear with details.
@Zohaib_Awan777, from looking at the picture you provided, you are probably looking for an expression that will add both colors (black and white) if < 72, and only one color if > 72. Unfortunately it does not seem like we have an expression / function for coloring with stripes. More details under https://help.qlik.com/en-US/sense/August2021/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/ColorFu...
If you would like to suggest this feature, you may create an Idea under the link below:
https://community.qlik.com/t5/Suggest-an-Idea/idb-p/qlik-ideas