Hi ,
im working on SSRS report in Dynamics CRM 2013 ( Dynamics CRM 2013 SP1 update rollup 1 on-premise ) in SQL Server Data Tools.
I would like to iclude account prefiltering in my report.
I tried CRMAF alias:
select name from filteredaccount as CRMAF_FilteredAccount
and also explicit pre-filtering:
declare @sql varchar (max) set @sql = 'select name as [StoreID] from ('+@CRM_FilteredAccount+')as Acc' exec (@sql)
When I execute the report from report area filter is set do default value.
But when i execute the report from the account view - run report on the selected reports, or from account form i recieve following error on report loading:
"There are some clauses that have error in the please remove them and try again"
_https://social.msdn.microsoft.com/Forums/getfile/611382
_https://social.msdn.microsoft.com/Forums/getfile/611383
When i remove the condition with error from the filter and set any condition report is displayed correctly.
Did you experience something similar or can you please provide some workaround ?
For me it seems as CRM 2013 bug.
Thanks in advance.