B
Bongard
Hi I have a crosstab query that only has two records. It is a very
simple query with a sum field that is working for one of the records
but not the other. Here is my SQL
TRANSFORM Sum([99_02_Report - EIP Asset Value Summary].Net_Assets) AS
SumOfNet_Assets
SELECT [99_02_Report - EIP Asset Value Summary].Date, [99_02_Report -
EIP Asset Value Summary].ProductGroupID, Sum([99_02_Report - EIP Asset
Value Summary].Net_Assets) AS [Total Of Net_Assets]
FROM [99_02_Report - EIP Asset Value Summary]
GROUP BY [99_02_Report - EIP Asset Value Summary].Date, [99_02_Report
- EIP Asset Value Summary].ProductGroupID
PIVOT [99_02_Report - EIP Asset Value Summary].AssetType In
("Aggregate_Cash","Aggregate_MV","EQ_MV","EQ_Cash","RE_Cash","RE_MV","FI_Cash","FI_MV","BW_Cash","BW_MV");
One record is summing correctly in the field [Total Of Net_Assets] and
the other is taking the total of only [BW_Cash] and [BW_MV]... Not
sure why this is happening and any help you could offer would be much
appreciated as this needs to work in the morning!
Thanks much,
Brian
simple query with a sum field that is working for one of the records
but not the other. Here is my SQL
TRANSFORM Sum([99_02_Report - EIP Asset Value Summary].Net_Assets) AS
SumOfNet_Assets
SELECT [99_02_Report - EIP Asset Value Summary].Date, [99_02_Report -
EIP Asset Value Summary].ProductGroupID, Sum([99_02_Report - EIP Asset
Value Summary].Net_Assets) AS [Total Of Net_Assets]
FROM [99_02_Report - EIP Asset Value Summary]
GROUP BY [99_02_Report - EIP Asset Value Summary].Date, [99_02_Report
- EIP Asset Value Summary].ProductGroupID
PIVOT [99_02_Report - EIP Asset Value Summary].AssetType In
("Aggregate_Cash","Aggregate_MV","EQ_MV","EQ_Cash","RE_Cash","RE_MV","FI_Cash","FI_MV","BW_Cash","BW_MV");
One record is summing correctly in the field [Total Of Net_Assets] and
the other is taking the total of only [BW_Cash] and [BW_MV]... Not
sure why this is happening and any help you could offer would be much
appreciated as this needs to work in the morning!
Thanks much,
Brian