Problems with exporting subtotals -
09-23-2005
, 09:03 AM
Hi,
I am an FM newbie trying to export summarized data from an FM file.
I can see what I want in a Preview layout but what I want is the same
sort of data but exported out into an Excel file.
(Sorry about my earlier posting.
In the rather laborious example, all the figures were wrong.)
Here is the detailed data as stored in my file
You'll maybe need to reformat this into a fixed font to get it lined up
correctly.
sale date region town price
20/12/2004 North Manchester 66.00 ?
22/12/2004 North Manchester 99.00 ?
24/12/2004 North Manchester 95.00 ?
26/12/2004 North York 76.00 ?
28/12/2004 South London 93.00 ?
30/12/2004 South Bristol 84.00 ?
01/01/2005 South London 92.00 ?
03/01/2005 North Manchester 64.00 ?
05/01/2005 South London 74.00 ?
07/01/2005 South London 89.00 ?
09/01/2005 South Dover 84.00 ?
11/01/2005 North Leeds 49.00 ?
13/01/2005 South London 55.00 ?
15/01/2005 South London 50.00 ?
The object is to export summarized data into another file monthly.
The 'price' field is to be summarized on a breaker field composed of
'Year-and-month' & 'Region' & 'Town'
So I have added a composite 'breaker' field to do that.
So, here's what I have now :
sale date region town price breaker
20/12/2004 North Manchester 66.00 ? 2004/12 - North - Manchester
22/12/2004 North Manchester 99.00 ? 2004/12 - North - Manchester
24/12/2004 North Manchester 95.00 ? 2004/12 - North - Manchester
26/12/2004 North York 76.00 ? 2004/12 - North - York
28/12/2004 South London 93.00 ? 2004/12 - South - London
30/12/2004 South Bristol 84.00 ? 2004/12 - South - Bristol
01/01/2005 South London 92.00 ? 2005/01 - South - London
03/01/2005 North Manchester 64.00 ? 2005/01 - North - Manchester
05/01/2005 South London 74.00 ? 2005/01 - South - London
07/01/2005 South London 89.00 ? 2005/01 - South - London
09/01/2005 South Dover 84.00 ? 2005/01 - South - Dover
11/01/2005 North Leeds 49.00 ? 2005/01 - North - Leeds
13/01/2005 South London 55.00 ? 2005/01 - South - London
15/01/2005 South London 50.00 ? 2005/01 - South - London
Here now is the detail and the summarized data together in one report.
sale date region town price breaker
20/12/2004 North Manchester 66.00 ? 2004/12 - North - Manchester
22/12/2004 North Manchester 99.00 ? 2004/12 - North - Manchester
24/12/2004 North Manchester 95.00 ? 2004/12 - North - Manchester
260.00 ? Total 2004/12 - North - Manchester
26/12/2004 North York 76.00 ? 2004/12 - North - York
76.00 ? Total 2004/12 - North - York
28/12/2004 South London 93.00 ? 2004/12 - South - London
93.00 ? Total 2004/12 - South - London
30/12/2004 South Bristol 84.00 ? 2004/12 - South - Bristol
84.00 ? Total 2004/12 - South - Bristol
01/01/2005 South London 92.00 ? 2005/01 - South - London
92.00 ? Total 2005/01 - South - London
03/01/2005 North Manchester 64.00 ? 2005/01 - North - Manchester
64.00 ? Total 2005/01 - North - Manchester
05/01/2005 South London 74.00 ? 2005/01 - South - London
07/01/2005 South London 89.00 ? 2005/01 - South - London
163.00 ? Total 2005/01 - South - London
09/01/2005 South Dover 84.00 ? 2005/01 - South - Dover
84.00 ? Total 2005/01 - South - Dover
11/01/2005 North Leeds 49.00 ? 2005/01 - North - Leeds
49.00 ? Total 2005/01 - North - Leeds
13/01/2005 South London 55.00 ? 2005/01 - South - London
15/01/2005 South London 50.00 ? 2005/01 - South - London
105.00 ? Total 2005/01 - South - London
1 070.00 ? Total
Things are looking OK here, I have the details and the subtotals as I want
them.
But my aim is not to print this data but to make it available in MS Excel.
And .... I just want to export the subtotal lines just as they are here :
breaker price
Total 2004/12 - North - Manchester 260.00 ?
Total 2004/12 - North - York 76.00 ?
Total 2004/12 - South - London 93.00 ?
Total 2004/12 - South - Bristol 84.00 ?
Total 2005/01 - South - London 92.00 ?
Total 2005/01 - North - Manchester 64.00 ?
Total 2005/01 - South - London 163.00 ?
Total 2005/01 - South - Dover 84.00 ?
Total 2005/01 - North - Leeds 49.00 ?
Total 2005/01 - South - London 105.00 ?
It's seems so simple (and basic and straightforward and necessary) I can't
imagine that it is not possible in FM.
I can do it in Excel and on old-fashioned databases from the last century, I
can even manage it in FM but only in Preview Mode.
I can't get it right as an export.
And ... it's driving me nuts.
So I'm looking for a HowTo, guidance, advice, etc.
TIA,
Maude. |