Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Frédéricdh
Creator II
Creator II

Colour on Pivot table

I made a pivot table with data from a SQL request:

This is the result:

Frdricdh_0-1717678093640.png

 

And then I want to color the background of the Dimension ORT with diverse Color, but Qlik don't do it. It colors only the value 'sonstige Ort' and not the others. WHY?

 

Can anyone help me.

thanks a lot and in advance.

 

Best Regards

 

Frédéric

Labels (1)
1 Solution

Accepted Solutions
Frédéricdh
Creator II
Creator II
Author

I found the problem, it was in Presentation: Suppress Zero-Values. and now the background is colored. I don't understand why

View solution in original post

7 Replies
Brian_C
Contributor III
Contributor III

Hi

In the background color expression property under the dimension you can put an expression such as 

if(match(RowNo(),'1','3'),red(),green()) and this will set alternate rows to different colours.

I hope this helps you.

Brian

Frédéricdh
Creator II
Creator II
Author

No it is not, what Im looking for.

 

But thx for the help

 

Frédéric

Brian_C
Contributor III
Contributor III

OK Can you explain a little more what your requirement is.

Frédéricdh
Creator II
Creator II
Author

can we meet online?  With a visio coference?

 

Frédéricdh
Creator II
Creator II
Author

I come back to you, when I have a visio prog.

 

thanks for the help

Frédéricdh
Creator II
Creator II
Author

Hello Brian,

 

i don'r understand.

I have two pivot table.

One with this Function:

= if ( JW < (Year(addmonths(Today(1),-1) ) *100 + Week(addmonths(Today(1),-1))) + 1, '<= ' & (Year(addmonths(Today(1),-1,0) ) *100 + Week(addmonths(Today(1),-1,0))), If( JW <= (Year(addmonths(Today(1),1,0))*100 + Week(addmonths(Today(1),1,0))),JW))

And the background of the dimension is not properly colored

 

And the second with this Function:

= if (JW <= (Year(Today(1))*100 + Week(Today(1))), '<=' & (Year(Today(1))*100 + Week(Today(1))) )

and the background of th dimension is properly colored. Like I need

Frédéricdh
Creator II
Creator II
Author

I found the problem, it was in Presentation: Suppress Zero-Values. and now the background is colored. I don't understand why