Filter pivot table if any month value is not zero

cr731

Well-known Member
Joined
Sep 17, 2010
Messages
611
I have a table with a column of dates and a column of values, which should all be zero (variances).

When I pivot this and put the dates in the columns, I want to filter the table so that all rows with a variance in any month will remain. But when I use a value filter, it just filters for the summed value of all months, so that if January is -10 and February is +10, it would net to zero and not be captured.

Is there any way to do this, either with basic pivot table functionality or using a calculated measure (DAX)?

Thanks
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
I spoke a little too soon.

So I was working with the formula a bit to make it less susceptible to small variances (in other words, if it rounds down to 0, such as .25, I want to hide it). So my formula is,

Code:
IF(
   ROUND([Var (Total Hours)],0) = 0,
   BLANK(),
   [Var (Total Hours)]
)

And I get some rows where every value in the columns is blank, but the pivot table is still showing that row. Is there anything I'm doing wrong above that would make this happen?
 
Upvote 0

Forum statistics

Threads
1,224,166
Messages
6,176,843
Members
452,745
Latest member
CommonManCrypto

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top