Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-01-2022, 03:04 AM
tomohawk tomohawk is offline Pivot Table Date Issue Windows 10 Pivot Table Date Issue Office 2019
Advanced Beginner
Pivot Table Date Issue
 
Join Date: Sep 2020
Location: Dublin
Posts: 48
tomohawk is on a distinguished road
Default Pivot Table Date Issue

I have a spreadsheet with a data table from which I create a pivot table.



In the columns section of the pivot table, I use the Date field and I want to only show Months.

I am getting a very strange result in the columns (see attached).

Also, when I use the column drop-down in the pivot table, I can see the strange selections as well as all 12 months. The data table ONLY contains data for January 2022.

Tommy
Attached Images
File Type: jpg Screenshot 2022-02-01 095416.jpg (103.2 KB, 25 views)
Reply With Quote
  #2  
Old 02-01-2022, 03:53 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Pivot Table Date Issue Windows 7 64bit Pivot Table Date Issue Office 2010
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,780
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Please post a sample sheet. Pictures are useless to work with. Thanks
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #3  
Old 02-01-2022, 05:00 AM
tomohawk tomohawk is offline Pivot Table Date Issue Windows 10 Pivot Table Date Issue Office 2019
Advanced Beginner
Pivot Table Date Issue
 
Join Date: Sep 2020
Location: Dublin
Posts: 48
tomohawk is on a distinguished road
Default

Sample attached.

If you click on the Column Label dropdown, you will see the spurious references that I can't figure out. I seem to have managed to correct the other issue.

Also, how do I hide any rows that have zero totals?

Tommy
Attached Files
File Type: xlsx reconciliation.xlsx (29.8 KB, 10 views)
Reply With Quote
  #4  
Old 02-01-2022, 10:08 AM
p45cal's Avatar
p45cal p45cal is offline Pivot Table Date Issue Windows 10 Pivot Table Date Issue Office 2019
Expert
 
Join Date: Apr 2014
Posts: 872
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

I suspect that when you grouop ther dates by Months, you do get all the months in the dropdown.
Separately, if you only group my Months (as opposed to groupiong by Month and Years) then if your source data extends over more than one year, all the the data from multiple years will appear under a single month name.
Reply With Quote
  #5  
Old 02-01-2022, 10:16 AM
tomohawk tomohawk is offline Pivot Table Date Issue Windows 10 Pivot Table Date Issue Office 2019
Advanced Beginner
Pivot Table Date Issue
 
Join Date: Sep 2020
Location: Dublin
Posts: 48
tomohawk is on a distinguished road
Default

Thanks p45cal

The data is only for a single month.

Tommy
Reply With Quote
  #6  
Old 02-01-2022, 10:37 AM
p45cal's Avatar
p45cal p45cal is offline Pivot Table Date Issue Windows 10 Pivot Table Date Issue Office 2019
Expert
 
Join Date: Apr 2014
Posts: 872
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

I realise that, but I think you'll still get all the months appearing.
Reply With Quote
  #7  
Old 02-01-2022, 10:48 AM
tomohawk tomohawk is offline Pivot Table Date Issue Windows 10 Pivot Table Date Issue Office 2019
Advanced Beginner
Pivot Table Date Issue
 
Join Date: Sep 2020
Location: Dublin
Posts: 48
tomohawk is on a distinguished road
Default

Oh OK - good top know.

Any idea why I am getting the other info in the drop-down.

Also, any idea how to get rid of blank rows?

Tommy
Reply With Quote
  #8  
Old 02-02-2022, 06:20 AM
p45cal's Avatar
p45cal p45cal is offline Pivot Table Date Issue Windows 10 Pivot Table Date Issue Office 2019
Expert
 
Join Date: Apr 2014
Posts: 872
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

Quote:
Originally Posted by tomohawk View Post
Any idea why I am getting the other info in the drop-down.
That's just the way it is.





Quote:
Originally Posted by tomohawk View Post
Also, any idea how to get rid of blank rows?
What blank rows? Usually you can filter out (blanks).
Reply With Quote
  #9  
Old 02-02-2022, 06:52 AM
tomohawk tomohawk is offline Pivot Table Date Issue Windows 10 Pivot Table Date Issue Office 2019
Advanced Beginner
Pivot Table Date Issue
 
Join Date: Sep 2020
Location: Dublin
Posts: 48
tomohawk is on a distinguished road
Default

Please see attached
Attached Images
File Type: jpg Screenshot 2022-02-02 135135.jpg (126.1 KB, 20 views)
Reply With Quote
  #10  
Old 02-02-2022, 07:13 AM
p45cal's Avatar
p45cal p45cal is offline Pivot Table Date Issue Windows 10 Pivot Table Date Issue Office 2019
Expert
 
Join Date: Apr 2014
Posts: 872
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

You can use Value filters to get:
2022-02-02_140510.png


How?:
2022-02-02_140625.png
then:
2022-02-02_140806.png
I notice you have some blanks in your picture which you can filter directly, but it probably won't necessary if the above has eliminated them already:
2022-02-02_141020.png
Reply With Quote
  #11  
Old 02-02-2022, 07:47 AM
tomohawk tomohawk is offline Pivot Table Date Issue Windows 10 Pivot Table Date Issue Office 2019
Advanced Beginner
Pivot Table Date Issue
 
Join Date: Sep 2020
Location: Dublin
Posts: 48
tomohawk is on a distinguished road
Default

Thanks P45cal
Reply With Quote
  #12  
Old 02-05-2022, 11:17 PM
spillerbd spillerbd is offline Pivot Table Date Issue Windows 10 Pivot Table Date Issue Office 2013
Competent Performer
 
Join Date: Jan 2016
Posts: 130
spillerbd is on a distinguished road
Default

The Pivot Table is going to show all the data from the selected range. The items that are showing without any values are listed in your data set without any values.
A mindset for the Database, or any data set to reduce waste, is that only records with data are recorded. Those rows are incomplete and, for some, not appropriate to be included in the dataset.
Also, there is a difference between 0 (zero) and NULL (no records.)
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Pivot Table Date Issue Issue With Date In Pivot Table tomohawk Excel 6 01-18-2022 08:42 AM
Pivot Table Date Issue Pivot table dates issue salse Excel 1 06-08-2016 12:23 PM
Excel pivot table with a DATE value field for some reason stops at a certain date angie450 Excel Programming 2 08-19-2014 08:50 AM
Pivot Table Date Issue Pivot Table issue ominae Excel 1 07-18-2014 01:40 AM
Pivot Table Issue Grovesy Excel 0 10-28-2012 09:08 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:09 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft