Pivot Table to Include only Amounts Greater Than 0 in Sum of Amount Value Column

mxam

New Member
Joined
May 6, 2009
Messages
6
Hi! I have a spreadsheet I am reporting Attendance for each ticket type each month by Quantity and Dollars.

The rows are attendance by attendance type.
The columns are by month with a column for each month for Quantity and Dollars.

The Problem: The Quantity amounts are off because it is including the counts for $0 Amounts which I want to exclude.

I can get the correct quantity amounts by using Dollars as a Report Filter, but I need the Quantity and Dollars for each month side by side.

Is there a way to have the Sum of Quantity column only count the quantities for Amounts greater than $0?

Thank you for your help!!!
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Use Calculate function, where you can filter out the zeros

=Calculate(Sum[Dollars],[Quantity]<>0)
=Calculate(Count[Quantity],<>[Dollars]<>0)

Use something like the above DAX Formulas
 
Upvote 0
Use Calculate function, where you can filter out the zeros

=Calculate(Sum[Dollars],[Quantity]<>0)
=Calculate(Count[Quantity],<>[Dollars]<>0)

Use something like the above DAX Formulas



Hi Mavericks334,

Where in the pivot table function would you enter the above formula? I tried looking in the Value Field Settings but there isn't a field to enter a custom formula. Thanks in advance!
 
Upvote 0

Forum statistics

Threads
1,223,957
Messages
6,175,623
Members
452,661
Latest member
Nonhle

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