Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Anonymous
Not applicable

Report builder error

Hi

 

I have dataset1 generated from this query

select
  *
from
  [RPT_Pvt_WeDh].dbo.ClientRestraint_ReportData
 WHERE
  [region] = @Region
  and [channel] = @Channel
  and [Cust_Prism_Risk_Class_Desc] = @RiskClass
  and [bank_relationship_type] = @Relationship
  and [DaysClassifications] = @Duration
  and [RST_TYPE_CAT] <> 'COMPLIANT'

 

But when I run it it complains about query execution failed on that dataset1 incorrect syntax near ','  Interesting thing is it works if I switch default parameters to none for the  [channel] parameter which i have set as multivalue.

1 REPLY 1
bradsy
Employee
Employee

The multi value parameter comes back as a list. You should use an IN clause instead of =.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.