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

Coloring a cell as per the the value based on condition

Hi Experts,

Please find the attached excel file, where i need to get color as per the value present in cell.

Ex: If the cell value is DGR the cell color should reflect as "Green color" in Qliksense.

I did crosstable for all the months (1,2,3...12) and values(DGR,LGR..) as Data

like Crosstable(Month,Data,7)

So coloring the cell in qliksense i used the below expression. but its showing error.

If(Data="DGR",Green())  I even tried If(Data="DGR",RGB(102,204,0)) but no luck

Kindly help me with the Expression please

Thank You 🙂

1 Solution

Accepted Solutions
jwjackso
Specialist III
Specialist III

Use single-quotes,

If(Data='DGR',Green())

Use of quotes outside a load statement 

 

 

View solution in original post

1 Reply
jwjackso
Specialist III
Specialist III

Use single-quotes,

If(Data='DGR',Green())

Use of quotes outside a load statement