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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

colormap in script

Hi,

Can anyone advise how you put a colormap in the script? We want to eassign a colour to a saftisfaction score (1-10) and ensure this score is always represented by the assigned colour regardless of what question is asked on our application.

Blogs, discussion and guidance highlight how to do this on charts; however, our request is specific to expressions on map.

Chris

1 Reply
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     Yes you can do this in Expression .

     Click + sign next to the expression, you will find the background color option. Here you can write the condition like below.

     if(Score >= 1 and Score is <=10, Red(),Yellow())

Regards,

Kaushik Solanki

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