A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Grouping dates in pivot table



 
 
Thread Tools Display Modes
  #1  
Old November 18th, 2009, 04:01 PM posted to microsoft.public.excel.misc
Marc[_17_]
external usenet poster
 
Posts: 2
Default Grouping dates in pivot table

I am pulling data from a SQL Server database to create a pivot table.
Excel (07) is not recognizing the field as a date. This is a field I
would like to group by in the pivottable. I am aware of all the
techniques to convert this to a date field, but I am searching for an
answer as to why XL pivot tables cannot consume the dates directly
from a sql query.

I have played with bringing the dates back in a number of differenent
formats with no success.

Any insights into this would be appreciated.
  #2  
Old November 18th, 2009, 05:23 PM posted to microsoft.public.excel.misc
Bob Umlas, Excel MVP
external usenet poster
 
Posts: 275
Default Grouping dates in pivot table

Probably coming in as text and yuo may only need to copy an unused cell and
paste special values + "Add" to convert them to all real dates that yuo can
then group

"Marc" wrote:

I am pulling data from a SQL Server database to create a pivot table.
Excel (07) is not recognizing the field as a date. This is a field I
would like to group by in the pivottable. I am aware of all the
techniques to convert this to a date field, but I am searching for an
answer as to why XL pivot tables cannot consume the dates directly
from a sql query.

I have played with bringing the dates back in a number of differenent
formats with no success.

Any insights into this would be appreciated.
.

  #3  
Old November 18th, 2009, 07:23 PM posted to microsoft.public.excel.misc
Herbert Seidenberg
external usenet poster
 
Posts: 1,113
Default Grouping dates in pivot table

Search criteria:
OLAP Pivot Table date 2007
Advanced Search microsoft.public.excel.*
  #4  
Old November 18th, 2009, 07:34 PM posted to microsoft.public.excel.misc
Marc[_17_]
external usenet poster
 
Posts: 2
Default Grouping dates in pivot table

On Nov 18, 11:23*am, Bob Umlas, Excel MVP
wrote:
Probably coming in as text and yuo may only need to copy an unused cell and
paste special values + "Add" to convert them to all real dates that yuo can
then group



"Marc" wrote:
I am pulling data from a SQL Server database to create a pivot table.
Excel (07) is not recognizing the field as a date. *This is a field I
would like to group by in the pivottable. *I am aware of all the
techniques to convert this to a date field, but I am searching for an
answer as to why XL pivot tables cannot consume the dates directly
from a sql query.


I have played with bringing the dates back in a number of differenent
formats with no success.


Any insights into this would be appreciated.
.- Hide quoted text -


- Show quoted text -


This is true. The trick is consuming the data directly from the query
which should be possible.
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:39 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.