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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Carlaf_93
Creator II
Creator II

colors in pivot table

Good afternoon,

 

is there a way to color the lines of a pivot table alternatively?

So, for example, the first line will be red, the second one blue and so on...

1 Solution

Accepted Solutions
sergio0592
Specialist III
Specialist III

Hi,

You can use Even() function with as background color :

 

=If(Even(RowNo(TOTAL))=0, lightblue(), lightred())

 

View solution in original post

1 Reply
sergio0592
Specialist III
Specialist III

Hi,

You can use Even() function with as background color :

 

=If(Even(RowNo(TOTAL))=0, lightblue(), lightred())