Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
cristianevpm
Contributor III
Contributor III

Cor por expressão

Olá Pessoal,

Como incluo vermelho na maior quantidade e verde na menor quantidade do gráfico agrupado por gerente/coordenador?

Em anexo o print do gráfico.

Labels (3)
5 Replies
Thiago_Justen_

Talvez isso:

If(Sum(Quantidade) = Max(TOTAL Aggr(Sum(Quantidade),gerente/coordenado)),Green(),If(Sum(Quantidade)=Min(TOTAL Aggr(Sum(Quantidade),gerente/coordenado)),Red()))

Thiago Justen Teixeira Gonçalves
Farol BI
WhatsApp: 24 98152-1675
Skype: justen.thiago
cristianevpm
Contributor III
Contributor III
Author

Olá thiago.justen‌ não é isso.

Thiago_Justen_

Consegue detalhar mais o que queres então?

Thiago Justen Teixeira Gonçalves
Farol BI
WhatsApp: 24 98152-1675
Skype: justen.thiago
cristianevpm
Contributor III
Contributor III
Author

No Script criei MAX e MIN das quantidades e comparei no Background color da expressão:

=If(Quantidade = Max_Defeitos, RGB(255,0,0),If(Quantidade= Min_Defeitos, RGB(35,142,35),RGB(255,255,255)))

Thiago_Justen_

Perfeito Cristiane.

Thiago Justen Teixeira Gonçalves
Farol BI
WhatsApp: 24 98152-1675
Skype: justen.thiago