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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
perumal_41
Partner - Specialist II
Partner - Specialist II

Color

Dear All,

We have requirement as below

We have a field with some string values eg: Bangalore - India in a table column.

We have to apply different color bangalore and India though it is shown as a single column in a Straight table object.

we have tried several methods but could not get solution for the same.

I hope you would help us in getting the solution.

Note: we should have the data into a single only, should not split to two columns.

Thank you.

Labels (1)
3 Replies
sivarajs
Specialist II
Specialist II

Hi,

can you see the attached file

This is what you are trying to do..or..

Sivaraj S

Not applicable

hi

in expression tab put City as field name, then pres + to expand the in click Back ground color

in defination put the expression 

=if(Name='Bangalore',Yellow(),LightGreen()).

apply then in straight table you will see Banglore in yellow while rest as light green.

Thanks

Anant

perumal_41
Partner - Specialist II
Partner - Specialist II
Author

Hi

thanks for ur Replay.but i want output  below this style in single coloum on object

Color.bmp

Regards

Perumal A