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

Color the max values corresponding to a dimension in a table.

Hi Experts,

I am trying to solve a business problem where I have to color the maximum switching loss for drugs. Below is the sample data along with the result I want. I need help in creating a color expression in QlikSense to apply this logic.

    

Prev DrugCurre DrugMonthPatient count
ABJan29
ACFeb60
ABFeb40
BBFeb45
BCMar60
BCMar65
BDApr44
DDMay20
DEJun15
DFJul55

   

Prev DrugCurr DrugSum(Patient Count)
AB69
AC60
BB45
BC125
BD44
DD20
DE15
DF55

Thanks in Advance.

1 Reply
jonathandienst
Partner - Champion III
Partner - Champion III

Something like

If(Rank(Sum([Patient Count])) <=3, Red())

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein