Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
vengadeshpalani
Creator
Creator

customize Pivot table

Hi all,

i have pivot table like below but i need to show extra one row with blue color based on Dim-3 how can i achieve this requirement?

Actual

1.png

what we need

2.png

please give some idea...

16 Replies
sunny_talwar

Of course... I am not thinking straight.. try this

Dim3

=Pick(ExtraDim, if([FINANCIAL PLAN]<>'ZZZZZ',[FINANCIAL PLAN]), ' ')

Dim3 color

=If(Only({1} ExtraDim) = 2, LightBlue())

expression

Pick(ExtraDim, (if ([FINANCIAL PLAN] <>'ZZZZZ', SUM(AMOUNT),0)), 0)

expression color

=If(Only({1} ExtraDim) = 2, LightBlue())

vengadeshpalani
Creator
Creator
Author

8.png

vengadeshpalani
Creator
Creator
Author

it's not working Sunny.values are showing as null

7.png

sunny_talwar

Can you share what you have?

vengadeshpalani
Creator
Creator
Author

the issue is if anyone of month column is null means it applies color

Root cause --> if the total value is zero or null means we want to apply color.

is it possible in Pivot Table? 

9.png

vengadeshpalani
Creator
Creator
Author

How to apply total value in all month Dim value?

10.png

jonathandienst
Partner - Champion III
Partner - Champion III

The problem is that the cell is probably not null, but missing. Missing values are never calculated, so the colour expression cannot fix the problem. The solution could be to backfill the missing values with zeroes or nulls.

NULL handling in QlikView

The Importance of Nothing

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein