Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Background color based on possible values

Hi!

I have a list of names, a high score list (in a list box with expressions), where each name also blongs to a group. I want to have a different background color in my highscore-list based on the different groups the names belongs to. One person can only belong to one group.

Please help. Thanks!

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

I figured it out using concat for the field i was looking for with possible values.

Like this:

if(concat(Group,'')='GroupName', RGB(255,0,0), RGB(0,0,0))

View solution in original post

4 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

    Background color to the cells in listbox is not possible(As far as i Know).

    But you can achieve this in chart.

    After Adding Expression in chart, click on + next to the expression you added.

    You have a background color Option there.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Anonymous
Not applicable
Author

Not sure if you can modify the colors that much in a listbox.

Here's an ugly example using a straight table.

Anonymous
Not applicable
Author

for some reson i can't download the application. weird.

can't you post the expression? that's the one i'm having trouble with.

thanks!

Anonymous
Not applicable
Author

I figured it out using concat for the field i was looking for with possible values.

Like this:

if(concat(Group,'')='GroupName', RGB(255,0,0), RGB(0,0,0))