Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
ilanbaruch
Specialist
Specialist

ColorMix

hi all

i am using ColorMix1 to turn pivot into a heatmap, using below function:

ColorMix1( rank(total column(1))/noofrows(TOTAL) , LightGreen(),LightGray())

the outcome is "heated"  dimension (rows) as in the attached picture.

how can i highlight the high/low values within the dimension rows?

ilanbaruch_0-1662020968631.png

 

any ideas?

advanced thanks

Labels (1)
1 Reply
MatheusC
Specialist
Specialist

Olá @ilanbaruch ,

Vou passar uma expressão abaixo que utilizei para cor em Gradiente,  ai você vai precisar adaptar sua medida a ela.

Caso ajude, marcar como solução.

Grato!

// Cálculo para trazer a expressão da cor de fundo em Gradiente
ColorMix2(
(
avg([Total-Venda])
-
min(total
Aggr(
avg([Total-Venda])
,Filial))
-
(
Max(total
Aggr(
avg([Total-Venda])
,Filial))
-
min(total
Aggr(
avg([Total-Venda])
,Filial))
)
/
2
)
//retorna a média entre entre o valor max e mínimo

/
//Calculo para retornar Valor Máximo
(
(
Max(total
Aggr(
avg([Total-Venda])
,Filial))
-
//Calculo para retornar Valor mínimo
min(total
Aggr(
avg([Total-Venda])
,Filial))
)
/
2
)
,
Red(),
Green(),
Yellow()
)

 

Did you find a solution to your question? Mark the solution as accepted and if you found it useful, press the like button!