Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
AO1
Contributor II
Contributor II

Text Color Expression Error

Hello!

I have a pivot table in Qlik that includes a Percentage column. The percentage column is calculated based on other columns in the table. 

I want this column to color code based on the returned result (above 70% should be GREEN and below should be RED). 

Below is my expression, but I am receiving an error.

if([Column('Productivity Percentage')] > 70, green(), red())

What is the proper way to write this expression? 

Thank you!

Labels (1)
1 Solution

Accepted Solutions
Dana_Baldwin
Support
Support

Hi @AO1 

Please note the forum you have posted to is for the Data Integration product Enterprise Manager, used for managing multiple Replicate/Compose/Catalog servers. To reach your target audience, please consider posting your question here: https://community.qlik.com/t5/Qlik-Sense/ct-p/qlik-sense

Thanks,

Dana

View solution in original post

2 Replies
Dana_Baldwin
Support
Support

Hi @AO1 

Please note the forum you have posted to is for the Data Integration product Enterprise Manager, used for managing multiple Replicate/Compose/Catalog servers. To reach your target audience, please consider posting your question here: https://community.qlik.com/t5/Qlik-Sense/ct-p/qlik-sense

Thanks,

Dana

AO1
Contributor II
Contributor II
Author

Oh, that was my oversight. I will repost, thank you!!