我在运行报告时收到错误 - “报告处理期间发生错误。(rsProcessingAborted)”
这是我的查询:
SELECT COUNT(I.Id) AS Count_Id
, U.FirstName AS AffectedUser
FROM IncidentDimvw
JOIN (s) ...
WHERE WIAUF.DeletedDate IS NULL
AND DSD.LanguageCode = 'ENU'
AND (I.CreatedDate BETWEEN (@StartDate) AND (@EndDate))
AND IC.IncidentClassificationValue = (@Classification)
GROUP BY DSD.DisplayName, U.FirstName
HAVING COUNT(I.Id) = (@CountId)
当我在过滤器中选择全部时,它会返回以下错误。不知道如何进一步解决此错误。
Incorrect syntax near ','.
----------------------------
Query execution failed for dataset 'AffectedUser'. (rsErrorExecutingCommand)
----------------------------
An error has occurred during report processing. (rsProcessingAborted)
请给我一个更好的解决方案。