Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,173
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?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Uisng an option group query mohd21uk via OfficeKB.com New Users to Excel 0 May 26th 06 12:34 PM
Pivot table - group dates per week or month digicat Excel Discussion (Misc queries) 1 January 8th 06 08:46 PM
Why aren't dates always available to group in pivot tables? JLM Charts and Charting in Excel 4 December 31st 05 06:25 PM
PivotTables - Group Dates, excluding dates Todd1 Excel Discussion (Misc queries) 4 December 10th 05 05:06 PM
Can't group by dates in Excel 2003 pivot table barbara1234 Excel Discussion (Misc queries) 5 March 15th 05 05:13 AM


All times are GMT +1. The time now is 01:57 PM.

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

About Us

"It's about Microsoft Excel"