Thank you. It seems to be more than the commas. The one below has all the commas and does not work. Worked fine before migrating to SQL.
SELECT [A ENCOMPASS DATA].Branch, Avg((([A LYDIAN DATA].[File received Date])-([A ENCOMPASS DATA].[File Started]))) AS [Avg Days From Lead To Loan]
FROM...