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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Formatting Pivot table cell background

Hi,

Is there a way to chnage the cell background based on the value of precious cell.

For Eg: If cell1 > cell2 then green() else Red().

I have used background colour expressions based on the dimension values and cell value thresholds, but not by comparing two cells.

Please let me know if anybody has tried this already.

Thanks,

Shruthi Reddy

Labels (1)
1 Solution

Accepted Solutions
Not applicable
Author

Yes, I got it working.

If the dimension is shown vertical then If( Above(Sum(Sales))> Sum(Sales), green(), Red())

If the dimension is shown horizontal If( Before(Sum(Sales))> Sum(Sales), green(), Red())

View solution in original post

2 Replies
tresB
Champion III
Champion III

May be like:

If( Before(Sum(Sales))> Sum(Sales), green(), Red())

Not applicable
Author

Yes, I got it working.

If the dimension is shown vertical then If( Above(Sum(Sales))> Sum(Sales), green(), Red())

If the dimension is shown horizontal If( Before(Sum(Sales))> Sum(Sales), green(), Red())