Forum Discussion

aaron_carter95's avatar
aaron_carter95
New Member
4 years ago

Dynamic M query Parameter to SQL Source Not Working in Web Service Version of Report

Hello,

 

I have created a dataset that uses direct quert to sql server with the new dynamic M query parameter feature. The overall model uses a live connection to a power bi dataset and some direct query connections to sql.

 

The dynamic parameter is a value selected from a table in the power bi dataset.

 

Everything works correctly in desktop but breaks in the web service. On any visuals that contain data from the direct query tables, i get the following error:

 

The cartridge generated a statement that is not valid because more than one text statement was generated, the statement was not the correct type, or more than one parameter list was generated.

 

 

 

Any adivce on what is causing this would be great.

2 Replies