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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to colour the diagonal values in Pivot table?


Hi,

I have the Pivot chart with data which is in attached. I would need to colour the diagonal values which is in Pivot table. Please can anyone suggest me is it possible?

Thanks.

1 Solution

Accepted Solutions
eduardo_sommer
Partner - Specialist
Partner - Specialist

Try using this in the background color property of the expression:

     if (RowNo() = ColumnNo(), LightRed())

View solution in original post

4 Replies
Not applicable
Author

Please see attached.

eduardo_sommer
Partner - Specialist
Partner - Specialist

Try using this in the background color property of the expression:

     if (RowNo() = ColumnNo(), LightRed())

Not applicable
Author

Thanks. How can I change for all diagonal values. Please suggest me.

EDIT:  I tried using the below it is changing the colour. But I need exact change in the diagonals. Please help me. please see attached.

if (RowNo() = ColumnNo(), LightRed(),

If(RowNo() <ColumnNo(), Green()))

Not applicable
Author

Found the answer.

If (RowNo() = ColumnNo(), White(),

If(RowNo() < ColumnNo(), LightRed(100),

If(RowNo() > ColumnNo(), LightGreen(120))))