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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
KellyHobson
Former Employee
Former Employee

How to highlight rows on a table object by column value?

Hey there,

With example dataset, sales_data_sample.csv, I would like to highlight records where QUANTITYORDERED is greater than 50. 

I've played around with the rank function within Style- > Background color -> by expression

=if(rank(QUANTITYORDERED)>50, yellow())

But still cant get it quite working. I want the records to be highlighted even before clicking into any of the data points. 

 

KellyHobson_0-1687456012552.png

 

Any tips are appreciated!

Thank you,

Kelly 

 

 

Labels (1)
2 Replies
Chanty4u
MVP
MVP

Try this

=if(QUANTITYORDERED > 50, 'yellow', 'white')

 

KellyHobson
Former Employee
Former Employee
Author

Hey @Chanty4u ,

Thanks for the reply. 

Is it possible

1. to pre-highlight the values before having to click into a value

2. only highlight the records above 50?

example this highlights the whole table:

 

KellyHobson_0-1687545831558.png

 

Thanks,

Kelly