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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

reg-visual cubes

HI Team,

1. i have 500 records in my table and i want to get if 1-50 records should get yellow color,50-100=orange,100-150=blue  for this we can write condition or normally we can do like if records>50 yellow

can anyone say

.

6 Replies
tresesco
MVP
MVP

If it's a straight table, try expression like: If(RowNo(Total)>50, yellow(), ....)

Not applicable
Author

thanx

Not applicable
Author

and can u say one thing if i have 100 records and i want to display top 5 records and low 5 records

cfz
Former Employee
Former Employee

Hi,

You can write an expression  for doing this in the background color under the dimension like in the attached example .

I hope it helps

Carlos

tresesco
MVP
MVP

preminqlik
Specialist II
Specialist II

sum({{<Dimension={'=rank(sum(sales))<6'}>}sales)   top 5

sum({{<Dimension={'=rank(-sum(sales))<6'}>}sales)   bottom 5