We are getting this error when trying to view chart report grouped by week:
SQL State: 42000-8144 Message: [Microsoft][ODBC SQL Server Driver][SQL Server]Procedure or function dbo.SM_TO_CHAR has too many arguments specified. (display,fdisp.1)
But the same chart report grouped by month/year is working fine. The function SM_TO_CHAR exists in database. Do you have any ideas what can cause this error?