Calculate the total expenses for each cost unit.
SELECT Costunits.Name, SUM(GLAccounts.Amount) AS TotalExpenses FROM Costunits JOIN GLAccounts ON Costunits.ID = GLAccounts.CostunitID WHERE GLAccounts.Amount < 0 GROUP BY Costunits.Name
Connect 300+ sources, serve any BI tool, and give every AI agent one governed endpoint to read, and write back where the app supports it.