Making Jan = Jan or break a relation in pivot table?

teddy0bear

New Member
Joined
Aug 26, 2016
Messages
4
Hello world.
I've created a lovely query from a SharePoint list which is working very nicely but I'm having troubles getting a pivot table to display the results I want.

Simplified version of query returns:

Created
Closed
1/1/2016
1/28/2016
1/2/2016
2/20/2016
2/24/2016
3/18/2016

<tbody>
</tbody>


Easy.

What I'm trying to get is:

Month
Created (count)
Closed (count)
Jan
2
1
Feb
1
1
March
1

<tbody>
</tbody>

What I'm getting instead is:

Month
Created (Count)
Closed (Count)
Jan
2
2
Feb
1
1

<tbody>
</tbody>


It does make sense what it's doing, it's saying that of those 2 opened in January 2 of them have been closed. Helpful, but I don't want that. I want it to count ALL those closed in January and not be limited by those created in January. The month created and closed dates are data fields instead of text.

This is a pretty simple table, and I could just do a formula instead but I need to add a slicer to it and possibly some other things so I need to keep it as a pivot table.

Do I have to some how break the relationship? Or do I have to tell it somehow that January = January and it should store things under there instead..?
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Forum statistics

Threads
1,215,359
Messages
6,124,488
Members
449,166
Latest member
hokjock

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