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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
fzalexanderjohn
Creator
Creator

Only color one Dimension in Pivot Table

Hello,

I habe a pivot table with 3 Levels: Manufaturer, Type and Produkt. I want to a apply a color code just to Type independant how to Pivot Table is sorted.

So, if Type is Dimension 1 it should apply there just as when Type is Demension 3. So I can't use something like

if(Dimensonality()=",'green') because it should also work if the user changes the order of dimensions.

Is this possible?

Labels (1)
1 Solution

Accepted Solutions
timpoismans
Specialist
Specialist

Hi

Try the following:

If(GetObjectDimension(Dimensionality()-1)='Type',Green())

This should work, even if you re-arrange dimensions.

View solution in original post

2 Replies
timpoismans
Specialist
Specialist

Hi

Try the following:

If(GetObjectDimension(Dimensionality()-1)='Type',Green())

This should work, even if you re-arrange dimensions.

fzalexanderjohn
Creator
Creator
Author

It works just as I want, thank you!