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

visual cues

Hi,

Wondering if its possible, and if so, how to rank results in visual cues.

So we currently have quite a few staright tables that have 31 results (we have 31 neighbourhoods) and was wondeirng if these could be coloured based on position. So for example the first 10 results are green, 11-20 are amber and 21-31 are red. Obviously this has to be done in the script but is this possible?

Any help would be greatly appreciated.

Cheers

Chris

1 Solution

Accepted Solutions
Clever_Anjos
Employee
Employee

Use this expression as BackGroundColor

if (rowno() < 11, lightgreen(), if(rowno()<21, yellow(), lightred()))

View solution in original post

5 Replies
Siva_Sankar
Master II
Master II

If you just want to highlight the fields consistently by value, I think can use something like

=pick(FieldIndex('Item',Item),blue(), green(),yellow(),lightblue(),lightgreen(),lightyellow())

Regards.

siva

jvishnuram
Partner - Creator III
Partner - Creator III

Hi Chris,

Is there any intention to use visual cues for your requirement., if not use the text color in expression tab.

sujeetsingh
Master III
Master III

See this sample may it help you

Not applicable
Author

Hi,

The value may change depending on field selected but there will always be 31 results (neighbourhood).

sujeetsingh - tried copying expression but didnt seem to work...

Here is the table and data trying to get this to work on. So love the top 10 to be green, 11-20 yellow, 21-31 red.

NeighbourhoodCount(No_Repairs)
4692
Barton Lane & Trafford
  Road
567
Eccles & Weaste326
Mountskip314
Armitage312
Clifton Green312
Peel260
New Lane216
Kenyon213
Brindley203
Monton & Ellesmere Park198
Westwood & Alder Park196
Swinton South189
Brookhouse & Newland164
Manchester Road South159
Moss Vale151
Baronfold112
Peel Green107
Amblecote89
Walkden South80
Astley Area76
The Glaze72
Pendlebury64
Grosvenor61
The Vista41
Higher Irlam38
Wardley36
Falmouth35
Agecroft33
Nelson32
Moorside22
Boothstown14
Clever_Anjos
Employee
Employee

Use this expression as BackGroundColor

if (rowno() < 11, lightgreen(), if(rowno()<21, yellow(), lightred()))