Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default DATE FORMAT IN PIVOT TABLE FROM EXTERNAL DATA SOURCE

I have created a pivot table directly from an external data source (ODBC
database). I would like to group the results by year/quarter/etc., however
the Pivot Table does not seem to be recognising the date field as a date
format. The field is displayed as "20070222" but I cannot convert it to a
date, and I have not figured out a way to use the calculated field either.
Any suggestions?

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default DATE FORMAT IN PIVOT TABLE FROM EXTERNAL DATA SOURCE

You need to go back to your ODBC Query itself and add in a field that is an
actual date. The field that you have is just an ordinary number. If your
source data does not have a date field (of data type date) in it then you
will have to do a bit of SQL manipulation to coerce the number that you have
into a date. How you go about coercing the number to date will depend on the
source database...
--
HTH...

Jim Thomlinson


"uncreative" wrote:

I have created a pivot table directly from an external data source (ODBC
database). I would like to group the results by year/quarter/etc., however
the Pivot Table does not seem to be recognising the date field as a date
format. The field is displayed as "20070222" but I cannot convert it to a
date, and I have not figured out a way to use the calculated field either.
Any suggestions?

Thanks!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default DATE FORMAT IN PIVOT TABLE FROM EXTERNAL DATA SOURCE

Thanks - I have decided to perform a separate query in Excel, make a
spreadsheet & manipulate the date there before making the pivot table.

"Jim Thomlinson" wrote:

You need to go back to your ODBC Query itself and add in a field that is an
actual date. The field that you have is just an ordinary number. If your
source data does not have a date field (of data type date) in it then you
will have to do a bit of SQL manipulation to coerce the number that you have
into a date. How you go about coercing the number to date will depend on the
source database...
--
HTH...

Jim Thomlinson


"uncreative" wrote:

I have created a pivot table directly from an external data source (ODBC
database). I would like to group the results by year/quarter/etc., however
the Pivot Table does not seem to be recognising the date field as a date
format. The field is displayed as "20070222" but I cannot convert it to a
date, and I have not figured out a way to use the calculated field either.
Any suggestions?

Thanks!

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
Pivot Table Data Source external excel file IH Excel Discussion (Misc queries) 4 November 4th 06 02:42 AM
Pivot Table external XLS file source change and GETPIVOTDATA refresh mbobro Excel Discussion (Misc queries) 0 July 8th 06 12:45 PM
Pivot table format changes if value of source data is null Frustrated with formatting! Excel Discussion (Misc queries) 0 October 24th 05 01:16 AM
Determine the location of an external source of pivot table? Pivot Novice Excel Worksheet Functions 3 June 1st 05 09:34 PM
Pivot and changing External data source Peter Excel Discussion (Misc queries) 3 January 13th 05 04:59 PM


All times are GMT +1. The time now is 04:48 PM.

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

About Us

"It's about Microsoft Excel"