Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
JoaquinLazaro
Partner - Specialist II
Partner - Specialist II

Pivot table + Conditionally Hide Rows

Hello:

I've a pivot table with one dimension Warehouse and three expresions Input, Output and Stock.

I don't want to show rows (warehouse item) where Input = 0 and Output = 0 and Stock = 0. How can I do it?

Thank you.

Joaquín

1 Solution

Accepted Solutions
Sokkorn
Master
Master

Hi joaquinlr,

Did you try calculated dimension yet? Like this

Aggr(Only({$<Input -={0}, Output -={0}, Stock -={0}>} Warehouse), Warehouse)

Regards,

Sokkorn

View solution in original post

15 Replies
er_mohit
Master II
Master II

Check in dimension tab suppress when value is null

or in presentation tab check

suppress zero value

Sokkorn
Master
Master

Hi,

Does your (Input, Output and Stock) is Expression or Dimension?

If dimension then you can use "Calculated Dimension" for you [Warehouse Item] with below expression

Aggr(Only({$<Input -={0}, Output -={0}, Stock -={0}>} [Warehouse Item]), [Warehouse Item])

Regards,

Sokkorn

JoaquinLazaro
Partner - Specialist II
Partner - Specialist II
Author

Sokkorn Cheav

They're expressions

Sokkorn
Master
Master

Hi,

Can you share those expression (Input, Output and Stock)?

Regards,

Sokkorn

JoaquinLazaro
Partner - Specialist II
Partner - Specialist II
Author

er.mohit

Supressing zeros value works, but now I've a fourth expression with a correct value.

JoaquinLazaro
Partner - Specialist II
Partner - Specialist II
Author

Hi Sokkorn Cheav

Yes sum(Inputs), sum(Outputs), sum(Stock)

Sokkorn
Master
Master

Hi joaquinlr,

Did you try calculated dimension yet? Like this

Aggr(Only({$<Input -={0}, Output -={0}, Stock -={0}>} Warehouse), Warehouse)

Regards,

Sokkorn

JoaquinLazaro
Partner - Specialist II
Partner - Specialist II
Author

Hi Sokkorn Cheav

The calculated dimension works.

Sokkorn
Master
Master

Hi joaquinlr,

Great to hear that.

Cheer!!!

Sokkorn