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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

background colour

Hi,

I'd like to define a specific background colour for the total Column of a pivot table (see the file attached). How can I do it?

Thank you in advance,

Larisa

1 Solution

Accepted Solutions
petter
Partner - Champion III
Partner - Champion III

You can test for being in the Total Column (which programatically could be the Row if you have moved the dimension around in your pivot) by doing this:

(the expession for the background color)


     If( RowNo() = 0 , Yellow() )

View solution in original post

5 Replies
Anonymous
Not applicable
Author

hi,

goto expression tab - expand expression (click +) -  background -  give =rgb(255,255,0)

Anonymous
Not applicable
Author

Yes, I know about this possibility. But what I mean is a bit different.

I wat to set a certian colour for Total column ONLY, but not for the whole expression.

petter
Partner - Champion III
Partner - Champion III

You can test for being in the Total Column (which programatically could be the Row if you have moved the dimension around in your pivot) by doing this:

(the expession for the background color)


     If( RowNo() = 0 , Yellow() )

Anonymous
Not applicable
Author

hi,

please try:

if(fieldname ={value},rgb(255,255,0))

or

If( RowNo() = {value}, rgb(255,255,0) )

Anonymous
Not applicable
Author

Thank you!