Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
prabhas277
Creator
Creator

Pivot Table

Hi Experts,

I have one pivot table having 2 dimensions i.e year and code . now i need to hide the rows which are having no data for code dimension .

How i can solve it?

Thanks in advance..

12 Replies
vcanale
Partner - Creator II
Partner - Creator II

Hi,
Chart Properties, click on Code dimension and select Suppress When Value is Null:

1.png
Hope this will help

prabhas277
Creator
Creator
Author

i did that still some more rows are there

vcanale
Partner - Creator II
Partner - Creator II

Tried to select "Suppress Missing" in the tab Presentation?

vcanale
Partner - Creator II
Partner - Creator II

or you can try to add the dimension Code as a Calculated Dimension:
=if(Code<>'',Code)

prabhas277
Creator
Creator
Author

I checked that option also but still some more.

Is there any possible way to get that by using expression?

prabhas277
Creator
Creator
Author

if am using If (code<>",code) then i am getting error..

trdandamudi
Master II
Master II

In the dimension for the code you can use the below expression:

=if(Len(Code)>0, Code)

Note: Make sure you select "Suppress when value is null" in the dimension tab

vcanale
Partner - Creator II
Partner - Creator II

which error?
..could you please post it?

deepakkrish
Creator
Creator

Check "Suppress when value is null"  to all fields in dimension tab,

at the same time check "Suppress zero values" in presentation tab for expression field.


check once