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: 
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

.

Labels (1)
6 Replies
tresB
Champion III
Champion III

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

tresB
Champion III
Champion III

preminqlik
Specialist II
Specialist II

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

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