Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

HELP!!How to adjust background fill according to the cell value in straight table

hi,

I have one dimension and 1 expression.My expression is in percentage.I want the background color filled according to the value in the cell.I have attached the requirement.


Can please someone help on this?


Regards,

Sahana

1 Solution

Accepted Solutions
vinieme12
Champion III
Champion III

We cannot show both Value and gauge in same cell , you will have to add another column to show the values in it

A trick you can try is

Add a column showing values before the linear gauge and fill it with the same color and uncheck vertical expression borders in the Style tab

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.

View solution in original post

6 Replies
Anil_Babu_Samineni

Could you provide sample application

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
dmohanty
Partner - Specialist
Partner - Specialist

Hi,

Something like this -

Pivot Background Color.png

=if([Your Expression Name] >= '85%' , Green(),

if([Your Expression Name] >= '50%'  and [Your Expression Name] < '85%' , Yellow(),

If([Your Expression Name] < '50%' , Red()

)

)

)

vinieme12
Champion III
Champion III

use a linear Gauge

http://livingqlikview.com/variations-on-the-linear-gauge/

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
Not applicable
Author

Hi Vineeth,

Thanks !

I have tried the same present in your link.I am able to get the background colour equivalent to the value but cannot show the value.

I want the value also to be displayed with the background in the same cell .Can you help?

I have attached the output I am receiving

Regards,

Sahana

vinieme12
Champion III
Champion III

We cannot show both Value and gauge in same cell , you will have to add another column to show the values in it

A trick you can try is

Add a column showing values before the linear gauge and fill it with the same color and uncheck vertical expression borders in the Style tab

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
Not applicable
Author

Thanks Vineeth