I'm trying to create a report listing organizations that have received a grant for the first time in our current fiscal year.. Any suggestions on how to search for this search?
Try this Advanced Search for Organizations:
EXISTS (SELECT * FROM Requests r WHERE r.Grant_Fiscal_Year = 2021 AND r.Disposition = N'Approved' AND r.Organization_ID = Organizations.ID) AND NOT EXISTS (SELECT * FROM Requests r WHERE r.Grant_Fiscal_Year <> 2021 AND r.Disposition = N'Approved' AND r.Organization_ID = Organizations.ID)
This query will list all Organizations that have received a grant in Fiscal Year 2021 and no other year.
This is amazing - very helpful, thank you
This is terrific, Justin. Thank you!