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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
lakshman1031
Contributor III
Contributor III

Same column two dimension are there one dimension one colour and another dimension another color

Hi Team,

I have table number of column are there, 

One column having Name & ID are concatenates,

Now I want display table Name Filed value shows red and Id values shows Blue.

Like 

Name&ID    Value   Range   Version 

A(Red) 1(Blue)   1    10     12

B(Red color)  2 (blue color)     2     15      12 

like that

How will do this one.

Thanks in advance.

Regards,

Ram

 

 

 

 

Labels (3)
3 Replies
JandreKillianRIC
Partner Ambassador
Partner Ambassador

Hi @lakshman1031 

If this is in the same column / dimension this is not possible. 

The best option will be to split the Dimension into 2 separate fields and color them accordingly. 

Based on the text color, we can only assign one color based on a expression, Not split that into multiple's if that makes sense.

Regards Jandre 

Mark the solution as accepted that solved your problem and if you found it useful, press the like button! Check out my YouTube Channel | Follow me on LinkedIn

henrikalmen
Specialist II
Specialist II

Another way of saying what @lakshman1031 already said is: you can't have two different text colours in one cell in a qlik sense table. (At least not standard tables, perhaps there are third party extensions that have other possibilities.)

diegozecchini
Specialist
Specialist

Hi!
To modify your data model you can use something like that

LOAD
SubField(Name_ID, ' ', 1) AS Name,
SubField(Name_ID, ' ', 2) AS ID,
Value,
Range,
Version
FROM YourDataSource;

Then in the viz, set color conditions "Text Color Expression"