Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I am establishing connection of Report Builder with dataset using below expression, however getting syntax error while executing the same. I am not able to identify the error, hnce posting here to check if anyone can help
Error
ERROR [ ] ERROR: Syntax error: Exception parsing query near 'a' java.sql.SQLException: Syntax error: Exception parsing query near 'a'; Error while executing the query
Query
="Select a.* , coalesce(sub_region,0) sub_region_flag from
(Select * from study where project_id in
(" & join(Parameters!Parameter1.Value,",") & ")
"&" OR
full_title like '%" & Parameters!Parameter2.Value & "%'
"&" OR
abbreviated_title like '%" & Parameters!Parameter2.Value & "%'
"&" OR
(Select distinct clinical_study_master_id from study_country where sub_region in
(" & join(Parameters!Parameter3.Value,",") & ")))a
Left join
(
Select clinical_study_master_id,count(distinct clinical_study_master_id) as sub_region_flag
from study_country
where sub_region in (" & join(Parameters!Parameter3.Value,",") & ")
group by clinical_study_master_id
) b
on a.clinical_study_master_id = b.clinical_study_master_id"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.