Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

gateway doesn't work with SQL server Stored procedure

The gateway option is greyed out on the Dataset settings window. A stored procedure is used to get the data from SQL server. Data connectivity mode is set as 'Impoort'.

 

Can anybody help?

 

thanks!

  • Anonymous's avatar
    Anonymous
    8 years ago

    AnonymousAnonymous

     

    Thanks, and it works now. I changed the server of the connection on the desktop to match what is on the list of gateway setting while add the real server in the query.

6 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Anonymous The datasource set up in the Service needs to match what you have set in the Power BI Desktop exactly. That is most likely the cause if you have no issues when running the report in the Desktop.

    • Anonymous's avatar
      Anonymous
      Not applicable

      AnonymousCould you tell me more about how to setup the datasource in the service to get the SP work? screenshot would be great. Thanks!

      • Anonymous's avatar
        Anonymous
        Not applicable

        Anonymous Which gateway did you deploy? Are you just executing a stored procedure or are you trying to pass a parameter?