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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
anuradhaa
Partner - Creator II
Partner - Creator II

Background colours of pivot table

HI,

I want to add background colours for below pivot table.

See attached image

Is it possible to do?

19 Replies
avinashelite

did you tried using my expression in the expression background color ??

Chanty4u
MVP
MVP

is this?

anuradhaa
Partner - Creator II
Partner - Creator II
Author

Yes, it solve most of the case. only thing now i want is use light colr in my last right column

anuradhaa
Partner - Creator II
Partner - Creator II
Author

See attached

avinashelite

try with the dimensionality() function

if(dimensionality() =0,yellow(),if(dimensionality() =1,grey(),rgb(255,255,255))

)

vikasmahajan

Like This ?

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
anuradhaa
Partner - Creator II
Partner - Creator II
Author

Can you do it in attached qvw. It doesn't work for me

vikasmahajan

PFA

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
anuradhaa
Partner - Creator II
Partner - Creator II
Author

Finaly Did it with

=if(isNull(RowNo()),rgb(255,255,0),if(rowno()=0 and ColumnNo()<>0,rgb(255,155,100),if(ColumnNo()=0,Red(),rgb(225,225,225))))

AvinasheliteThank You for your Idea. You showed the way .

avinashelite

Cool glad to hear that I was able to help you