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: 
manojkulkarni
Partner - Specialist II
Partner - Specialist II

Alternate Colors in Pivot tabel

Hi All,

 

How do we color the rows in pivot table with alternate rgb and specific color for Total/Sub Total rows ?

1 Solution

Accepted Solutions
abhijitnalekar
Specialist II
Specialist II

Hi @manojkulkarni ,

Please use below set expression in baground color expression property.

if(mod(RowNo(Total),2)=0,green(),red() )

 

abhijitnalekar_0-1632832445635.png

 

 

Regards,
Abhijit
keep Qliking...
Help users find answers! Don't forget to mark a solution that worked for you!

View solution in original post

2 Replies
abhijitnalekar
Specialist II
Specialist II

Hi @manojkulkarni ,

Please use below set expression in baground color expression property.

if(mod(RowNo(Total),2)=0,green(),red() )

 

abhijitnalekar_0-1632832445635.png

 

 

Regards,
Abhijit
keep Qliking...
Help users find answers! Don't forget to mark a solution that worked for you!
stevejoyce
Specialist II
Specialist II

Another approach which i think you are looking for is to use dimensionality().  This will let you have conditions on total/sub-total rows.