Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Visual guides in a Pivot Table

Hello everyone,

i was wondering if there's a way to combine colors in the backgrond of a pivot table to use them as visual guides(like pyjama stripes in a straight table), i would like to get a pivot table to look like this.

Captura.PNG

if anyone can help i qould apriciate it

Best regards.

1 Solution

Accepted Solutions
pover
Luminary Alumni
Luminary Alumni

I wouldn't recommend using so many colors, but if you enable the Design Grid found in the View menu option, you can right-click on the table column and you will see an option called Custom Format in the right-click menu.  That will allow you to change the background color of that column.

Or, you can use an expression like if(rowNo()/2=floor(rowNo()/2),LightBlue(),Blue()) in the background color of the column in your pivot table to color alternate rows differently.

Karl

View solution in original post

4 Replies
pover
Luminary Alumni
Luminary Alumni

I wouldn't recommend using so many colors, but if you enable the Design Grid found in the View menu option, you can right-click on the table column and you will see an option called Custom Format in the right-click menu.  That will allow you to change the background color of that column.

Or, you can use an expression like if(rowNo()/2=floor(rowNo()/2),LightBlue(),Blue()) in the background color of the column in your pivot table to color alternate rows differently.

Karl

Not applicable
Author

Thanks, Karl - I never knew that how to change cells and headers like that. Very helpful!

Not applicable
Author

Thank you very much Karl that expression it's indeed what i was looking for, sorry about the late answer i was very busy, thats a lot your help it's apreciated

Best regards.

anderseriksson
Partner - Specialist
Partner - Specialist

> if(rowNo()/2=floor(rowNo()/2),LightBlue(),Blue())

What a complicated way of calculating Even!

Try if(Even(RowNo()), LightBlue(), Blue()) instead.