Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
beck_bakytbek
Master
Master

color expression for numberintervall

Hi Folks, i got a Question regarding of Color Expression. my data does look like:

Numbers:

0

-5

-10

how to build the Color Expression for intervall of data, i mean

>0 , green(),

and between 0 and -5 , White,

and between - 5 and  - 10, yellow,

> - 10, red

 

i tried to bield with "and", but it does not work.

Does anybody have any idea?

 

Thanks a lot

Labels (1)
1 Reply
lironbaram
Partner - Master III
Partner - Master III

hi 

the straight forward method will be 

if (number >0 , green() ,

      if(number<=0 and number >-5, white(),

            if(number <-10 , red(),yellow())))