Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,101
Default Pivot Table W/E Date Grouping using external .CSV

Hi All,

I have a .csv file produced by our accounting software Exchequer containing
my data which contains the following:

Department
Invoice Value
Invoice Date

I have linked this data as an external datasource to a pivot table but am
unable to group the "Invoice Date" field. I am assuming this is becuase MS
Query is taking the invoice date field as text and not as an actual date OR
that the header is MS Query is making it not possible for me to groupt the
Invoice Date Data. Before I have only been able to get pivot tables to group
by date if only the Data is selected and not the header.

Please can anyone help?

Many thanks in advance

Mike
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,480
Default Pivot Table W/E Date Grouping using external .CSV

Hi Mike

There is no inherent reason why the date field cannot be grouped having come
through MSquery.
If the dates in the csv file are genuine dates, AND if there are no blank
date fields, then the PT will group them.

I would try just opening the csv file in Excel, by double clicking on it.
Examine the data and see if there are problems in the date field. If so,
amend them and save back as csv, then your link to the PT should work fine.
--
Regards
Roger Govier

"mike" wrote in message
...
Hi All,

I have a .csv file produced by our accounting software Exchequer
containing
my data which contains the following:

Department
Invoice Value
Invoice Date

I have linked this data as an external datasource to a pivot table but am
unable to group the "Invoice Date" field. I am assuming this is becuase
MS
Query is taking the invoice date field as text and not as an actual date
OR
that the header is MS Query is making it not possible for me to groupt the
Invoice Date Data. Before I have only been able to get pivot tables to
group
by date if only the Data is selected and not the header.

Please can anyone help?

Many thanks in advance

Mike


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,101
Default Pivot Table W/E Date Grouping using external .CSV

Hi Roger,

Whats the best way to track down where the problem. I have opened the .csv
file in excel and excel can recognise the dates as dates and i can produce a
pivot table grouping on the dates so would you assume that ms query is
looking at some blank data??

"Roger Govier" wrote:

Hi Mike

There is no inherent reason why the date field cannot be grouped having come
through MSquery.
If the dates in the csv file are genuine dates, AND if there are no blank
date fields, then the PT will group them.

I would try just opening the csv file in Excel, by double clicking on it.
Examine the data and see if there are problems in the date field. If so,
amend them and save back as csv, then your link to the PT should work fine.
--
Regards
Roger Govier

"mike" wrote in message
...
Hi All,

I have a .csv file produced by our accounting software Exchequer
containing
my data which contains the following:

Department
Invoice Value
Invoice Date

I have linked this data as an external datasource to a pivot table but am
unable to group the "Invoice Date" field. I am assuming this is becuase
MS
Query is taking the invoice date field as text and not as an actual date
OR
that the header is MS Query is making it not possible for me to groupt the
Invoice Date Data. Before I have only been able to get pivot tables to
group
by date if only the Data is selected and not the header.

Please can anyone help?

Many thanks in advance

Mike



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,480
Default Pivot Table W/E Date Grouping using external .CSV

Hi Mike

Works fine for me on a sample csv file I created.
If the data is not sensitive, mail me your workbook and the csv file and I
will see if I can see what the problem is.

To send direct mail to
roger at technology4u dot co dot uk
Do the obvious with at and dot.

--
Regards
Roger Govier

"mike" wrote in message
...
Hi Roger,

Whats the best way to track down where the problem. I have opened the .csv
file in excel and excel can recognise the dates as dates and i can produce
a
pivot table grouping on the dates so would you assume that ms query is
looking at some blank data??

"Roger Govier" wrote:

Hi Mike

There is no inherent reason why the date field cannot be grouped having
come
through MSquery.
If the dates in the csv file are genuine dates, AND if there are no blank
date fields, then the PT will group them.

I would try just opening the csv file in Excel, by double clicking on it.
Examine the data and see if there are problems in the date field. If so,
amend them and save back as csv, then your link to the PT should work
fine.
--
Regards
Roger Govier

"mike" wrote in message
...
Hi All,

I have a .csv file produced by our accounting software Exchequer
containing
my data which contains the following:

Department
Invoice Value
Invoice Date

I have linked this data as an external datasource to a pivot table but
am
unable to group the "Invoice Date" field. I am assuming this is
becuase
MS
Query is taking the invoice date field as text and not as an actual
date
OR
that the header is MS Query is making it not possible for me to groupt
the
Invoice Date Data. Before I have only been able to get pivot tables to
group
by date if only the Data is selected and not the header.

Please can anyone help?

Many thanks in advance

Mike



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,101
Default Pivot Table W/E Date Grouping using external .CSV

SOLUTION:

Although the dates in the csv all look OK, they are being stored as a Text
column, hence the PT is €śnot happy€ť

I opened the csvSelected the Date columnDataText to
columnsnextNextchose column formatD/M/YFinish

Save the csv

Close the csv



Drag the Date field off the PT

Refresh

Drag field back to Column Area

Right clickGroupGroupMonth



All worked OK.



"Roger Govier" wrote:

Hi Mike

Works fine for me on a sample csv file I created.
If the data is not sensitive, mail me your workbook and the csv file and I
will see if I can see what the problem is.

To send direct mail to
roger at technology4u dot co dot uk
Do the obvious with at and dot.

--
Regards
Roger Govier

"mike" wrote in message
...
Hi Roger,

Whats the best way to track down where the problem. I have opened the .csv
file in excel and excel can recognise the dates as dates and i can produce
a
pivot table grouping on the dates so would you assume that ms query is
looking at some blank data??

"Roger Govier" wrote:

Hi Mike

There is no inherent reason why the date field cannot be grouped having
come
through MSquery.
If the dates in the csv file are genuine dates, AND if there are no blank
date fields, then the PT will group them.

I would try just opening the csv file in Excel, by double clicking on it.
Examine the data and see if there are problems in the date field. If so,
amend them and save back as csv, then your link to the PT should work
fine.
--
Regards
Roger Govier

"mike" wrote in message
...
Hi All,

I have a .csv file produced by our accounting software Exchequer
containing
my data which contains the following:

Department
Invoice Value
Invoice Date

I have linked this data as an external datasource to a pivot table but
am
unable to group the "Invoice Date" field. I am assuming this is
becuase
MS
Query is taking the invoice date field as text and not as an actual
date
OR
that the header is MS Query is making it not possible for me to groupt
the
Invoice Date Data. Before I have only been able to get pivot tables to
group
by date if only the Data is selected and not the header.

Please can anyone help?

Many thanks in advance

Mike





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,480
Default Pivot Table W/E Date Grouping using external .CSV

Hi Mike

glad the solution I posted back to you privately worked out OK.

--
Regards
Roger Govier

"mike" wrote in message
...
SOLUTION:

Although the dates in the csv all look OK, they are being stored as a Text
column, hence the PT is €śnot happy€ť

I opened the csvSelected the Date columnDataText to
columnsnextNextchose column formatD/M/YFinish

Save the csv

Close the csv



Drag the Date field off the PT

Refresh

Drag field back to Column Area

Right clickGroupGroupMonth



All worked OK.



"Roger Govier" wrote:

Hi Mike

Works fine for me on a sample csv file I created.
If the data is not sensitive, mail me your workbook and the csv file and
I
will see if I can see what the problem is.

To send direct mail to
roger at technology4u dot co dot uk
Do the obvious with at and dot.

--
Regards
Roger Govier

"mike" wrote in message
...
Hi Roger,

Whats the best way to track down where the problem. I have opened the
.csv
file in excel and excel can recognise the dates as dates and i can
produce
a
pivot table grouping on the dates so would you assume that ms query is
looking at some blank data??

"Roger Govier" wrote:

Hi Mike

There is no inherent reason why the date field cannot be grouped
having
come
through MSquery.
If the dates in the csv file are genuine dates, AND if there are no
blank
date fields, then the PT will group them.

I would try just opening the csv file in Excel, by double clicking on
it.
Examine the data and see if there are problems in the date field. If
so,
amend them and save back as csv, then your link to the PT should work
fine.
--
Regards
Roger Govier

"mike" wrote in message
...
Hi All,

I have a .csv file produced by our accounting software Exchequer
containing
my data which contains the following:

Department
Invoice Value
Invoice Date

I have linked this data as an external datasource to a pivot table
but
am
unable to group the "Invoice Date" field. I am assuming this is
becuase
MS
Query is taking the invoice date field as text and not as an actual
date
OR
that the header is MS Query is making it not possible for me to
groupt
the
Invoice Date Data. Before I have only been able to get pivot tables
to
group
by date if only the Data is selected and not the header.

Please can anyone help?

Many thanks in advance

Mike



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
Grouping Date Fields in Pivot Table RuthBetts Excel Discussion (Misc queries) 2 August 26th 07 07:44 PM
Grouping Date Data in a Pivot Table Raymond[_2_] Excel Worksheet Functions 2 June 28th 07 02:59 AM
Grouping Date Data in a Pivot Table Raymond[_2_] Excel Worksheet Functions 1 June 26th 07 09:04 PM
Grouping By Date in Pivot Table Shams Excel Worksheet Functions 8 December 7th 05 07:15 PM
Pivot table-date grouping Dan Excel Discussion (Misc queries) 3 December 29th 04 09:23 PM


All times are GMT +1. The time now is 04:56 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"