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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
madhubabum
Creator
Creator

How to get multiple colors for multiple expressions in Text object ?

Hi Experts,

How we can get multiple colors for multiple expressions in single Text Object..

TEXT Object :

Example : Sales Vs Profit ( Values are like :  1500 Vs  5000)

Output : 1500 (in green) Vs 5000 (in red)

               1500 Vs 5000

How we can achieve this scenario ...any suggestions ?

Regards,

Madhu

3 Replies
Chanty4u
MVP
MVP

if([sales <1500 , green(),  and profit <5000  ,red())

ThornOfCrowns
Specialist II
Specialist II

Simple answer is you can't.

You can use two text boxes and align them, etc., but I'm not  a fan of this.

You can use an extension to do some of this:

QlikTip #39: Displaying Html content within QlikView (Minimalistic HtmlTextBox Object Extension)

MK_QSL
MVP
MVP

It is not possible in a single textbox, but you can achieve this by using two text boxes.

or use extension object...http://www.qlikblog.at/1579/qliktip-39-displaying-html-content-minimalistic-htmltextbox-object-exten...