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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
hjm35055
Partner - Contributor III
Partner - Contributor III

Color messing up when I add expressions

Hi!

So I have the following chart.  As you can see, there are not that many employees showing and it is repeating colors which should NOT be happening.

Screen Shot 2016-12-14 at 11.36.46 AM.png

I believe the reason this is happening is because I have 3 expressions that are only "text as a pop-up".  These are needed for a custom pop-up label.

Screen Shot 2016-12-14 at 11.43.21 AM.png

When I remove the 3 "text as pop-up" expressions, it works fine!

Screen Shot 2016-12-14 at 11.39.20 AM.png

Anyone know a way to fix this and keep those expressions??

Thank you!!!

1 Solution

Accepted Solutions
vinieme12
Champion III
Champion III

Experiment by Creating a DUAL Expression and remove the other pop ups

example

DUAL(  TEXXT  & TEXT & TEXT , sum(whatever) )

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.

View solution in original post

5 Replies
vishsaggi
Champion III
Champion III

Can you share a sample app with just this chart if possible? In the chart properties Colors tab what are the sequence of colors there ? Before and after the expressions?

hjm35055
Partner - Contributor III
Partner - Contributor III
Author

Sample is attached.

vinieme12
Champion III
Champion III

Experiment by Creating a DUAL Expression and remove the other pop ups

example

DUAL(  TEXXT  & TEXT & TEXT , sum(whatever) )

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
hjm35055
Partner - Contributor III
Partner - Contributor III
Author

Thanks! I got the dual expression to work.  The only issue now is that all the text is on one line.  Is there a way in the expression to add it to a different line?

My current expression is:

Dual(Name
&IF(IsNull(GetFieldSelections([Person Type])),[Person Type],'')
&IF(IsNull(GetFieldSelections(Position)),Position,''),
count({<[Skill/Trait]={'Logic, Deduction, & Reasoning'}>}Score))

I would like it to be:

Hermelinda Stollings

Employee

Screen Shot 2016-12-14 at 12.54.04 PM.png

Thank you!

vinieme12
Champion III
Champion III

Dual(Name & cHR(10)

&IF(IsNull(GetFieldSelections([Person Type])),[Person Type],'') & chr(10)

&IF(IsNull(GetFieldSelections(Position)),Position,''),

count({<[Skill/Trait]={'Logic, Deduction, & Reasoning'}>}Score))


If you want 2 or more line spaces use repeat(chr(10),2)


Cheers

V

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.