Originally Posted by
June7
Could try a UNION query, something like:
SELECT [Completed], [Progress], [Total] FROM queryA
UN ION SELECT [Completed], [Progress], [Total] FROM queryB;
Must type into SQL View of query builder.
Hi June7,
This is what I typed into the SQL view,
Code:
SELECT Sum([Opportunity - Full List].[OPEX Savings Per Day]) AS CompletedOpexTotal
FROM [Opportunity - Full List] where [Opportunity - Full List].[Status]='Completed'
UNION
SELECT Sum([Opportunity - Full List].[OPEX Savings Per Day]) AS InProgressTotal
FROM [Opportunity - Full List] where [Opportunity - Full List].[Status]='In Progress'
UNION
SELECT Sum([Opportunity - Full List].[OPEX Savings Per Day]) AS Total2015
FROM [Opportunity - Full List]
;
When I run this query, only the first Union shows up (CompletedOpexTotal). I'm only testing for the SUM's of these columns.