Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Rob Rob is offline
external usenet poster
 
Posts: 718
Default Pivot Table Grouping from OLE DB source

I have a Pivot table whose source data is a worksheet that is populated via a
stored procedure on a SQL Server DB using OLE DB. When I attempt to group by
the date column in the pivot table I get "Excel cannot group that selection."

Is there any way around this?

Thank you
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Pivot Table Grouping from OLE DB source

Make sure all your source data in that column is stored as an excel date.
Make sure you have no blank cells in that column.

--
Regards,
Tom Ogilvy


"Rob" wrote in message
...
I have a Pivot table whose source data is a worksheet that is populated

via a
stored procedure on a SQL Server DB using OLE DB. When I attempt to group

by
the date column in the pivot table I get "Excel cannot group that

selection."

Is there any way around this?

Thank you



  #3   Report Post  
Posted to microsoft.public.excel.programming
Rob Rob is offline
external usenet poster
 
Posts: 718
Default Pivot Table Grouping from OLE DB source

All columns have values in them. What is the difference between Excel Date
and regular m/d/yyyy date format?

In Office help I saw that there is a section in the Grouping Items
explanation in Help that says sometimes dates obtained from an external
database cannot be grouped. I've tried copying from the sheet that the
stored proc is read into to another worksheet that ten populates the pivot
tables, but same results.

"Tom Ogilvy" wrote:

Make sure all your source data in that column is stored as an excel date.
Make sure you have no blank cells in that column.

--
Regards,
Tom Ogilvy


"Rob" wrote in message
...
I have a Pivot table whose source data is a worksheet that is populated

via a
stored procedure on a SQL Server DB using OLE DB. When I attempt to group

by
the date column in the pivot table I get "Excel cannot group that

selection."

Is there any way around this?

Thank you




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 - Grouping slow386 Excel Worksheet Functions 3 April 1st 08 08:21 PM
Pivot Table Grouping Karen Excel Discussion (Misc queries) 3 August 2nd 06 09:33 PM
Grouping in Pivot Table Derek Excel Programming 0 November 22nd 04 06:35 AM
Pivot Table Grouping Mike Waldron[_2_] Excel Programming 0 April 26th 04 10:15 PM
Help required with setting up a pivot table with the source on sheet1 to have the pivot table created on sheet called "report" Diana[_5_] Excel Programming 0 August 21st 03 10:19 PM


All times are GMT +1. The time now is 11:05 AM.

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"