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  

Group Dates from SQL Query



 
 
Thread Tools Display Modes
  #1  
Old March 22nd, 2007, 11:33 PM posted to microsoft.public.excel.misc
wjvii
external usenet poster
 
Posts: 1
Default Group Dates from SQL Query

I have the results of a SQL datasource providing the data for a pivot table.
Several of the fields are dates however I cannot group them like they were
dates. How can I get the pivottable to understand which fields coming from my
SQL datasource should be treated as dates?
  #2  
Old March 22nd, 2007, 11:52 PM posted to microsoft.public.excel.misc
Nick Hodge
external usenet poster
 
Posts: 614
Default Group Dates from SQL Query

I always parse them in a sql query to dd/mm/yyyy (with the slashes) using
SUBSTRING or similar

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
DTHIS
www.nickhodge.co.uk


"wjvii" wrote in message
...
I have the results of a SQL datasource providing the data for a pivot
table.
Several of the fields are dates however I cannot group them like they were
dates. How can I get the pivottable to understand which fields coming from
my
SQL datasource should be treated as dates?


 




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 05:24 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.