Forum Discussion

Anonymous20's avatar
Anonymous20
Regular Visitor
3 years ago

Need help with dynamic parameter using direct query

  

Hi,

I am trying to add dynamic parameter to filter the data based on this parameter. I am using direct query here by inputting a sql statement in the box provided. I use. Sql server database.

I have created a parameter, referenced that parameter to the main query, created a list of people that will feed the parameter and have also bound the above list to the created parameter.

 

the main query fetches data from multiple tables using many join conditions.


The issue:

When the filter is used to dynamically change the value of the table, it throws a OLE DB or ODBC error:[Expression.Error]

 

Could anyone please help me solve this.

 

Thank you

 

No RepliesBe the first to reply