SUM totals to high

D

dwaynesworld

I have created a query which sums up data from 3 separate queries. For one
record in the query, it seems to multiply the totals for 2 values within the
results, thus getting a sum that is way bigger that what it is supposed to
be. Here is my query:

SELECT qryAdjustedTechSkillsGrandTotals.[Course Name],
qryAdjustedTechSkillsGrandTotals.[SumOfTotal Participants] AS [Total
Participants], qryAdjustedTechSkillsGrandTotals.[SumOfFacilitator Hours] AS
[Facilitator Hrs], qryAdjustedTechSkillsGrandTotals.[SumOfPrep/Wrap Hours] AS
[Prep/Wrap Hrs], Sum(Nz([Total ISD Hours],0)) AS [Total ISD Hrs],
Sum(Nz([Total Admin Hours],0)) AS [Total Admin Hrs],
qryAdjustedTechSkillsGrandTotals.[SumOfCourse Count] AS [TS Course Cnt]
FROM (qryAdjustedTechSkillsGrandTotals LEFT JOIN qryISDData ON
qryAdjustedTechSkillsGrandTotals.[Course Name] = qryISDData.[Project Name])
LEFT JOIN qryAdminData ON qryAdjustedTechSkillsGrandTotals.[Course Name] =
qryAdminData.[Course Name]
GROUP BY qryAdjustedTechSkillsGrandTotals.[Course Name],
qryAdjustedTechSkillsGrandTotals.[SumOfTotal Participants],
qryAdjustedTechSkillsGrandTotals.[SumOfFacilitator Hours],
qryAdjustedTechSkillsGrandTotals.[SumOfPrep/Wrap Hours],
qryAdjustedTechSkillsGrandTotals.[SumOfCourse Count];

Any help will be greatly appreciated!!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top