CoolFactor
Technical User
In the design view of my query I have field named contributions and I want to sum this by year in the Group by column. I don't know what the expression would be for this.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
SELECT Year([ContributionDate]) as Yr, Sum([Contribution]) As SumContribution
FROM tblContributions
GROUP BY Year([ContributionDate]);
SELECT [FirstName] & " " & [LastName] AS Candidate, [tbl_Candidates Funds].Year, Sum(tbl_Ledger.[Contributions/Disbursements])
FROM (tbl_Candidates INNER JOIN [tbl_Candidates Committees] ON tbl_Candidates.CandidateID = [tbl_Candidates Committees].CandidateID) INNER JOIN ([tbl_Candidates Funds] INNER JOIN tbl_Ledger ON [tbl_Candidates Funds].FundID = tbl_Ledger.CandidateFund) ON tbl_Candidates.CandidateID = [tbl_Candidates Funds].CandidateID
GROUP BY [FirstName] & " " & [LastName], [tbl_Candidates Funds].Year
ORDER BY [tbl_Candidates Funds].Year;