Forum Discussion

damit23183's avatar
damit23183
Microsoft Employee
4 years ago
Solved

Create Dataflow using Datasource under Gateway

Hi,   I want to create dataflow using Datasource I have created under Gateway.   How to do that process?   If i want to use M query then what should be there in Source.   Let Source = ? In ...
  • Burningsuit's avatar
    Burningsuit
    4 years ago

    Hi damit23183 

    If you have already created a Gateway datasource (Under GATEWAYS, SETTINGS, MANAGE GATEWAY). You can connect with Power BI Desktop, selecting the same database type location and credentials that you entered into the Gateway).

     

    Power BI Desktop can't connect to a datasource via a Gateway, you need to select the database.

    The normal process is the Gateway is only used for the Power BI Service.  You normally connect to the server via Power BI Destkop internal to the network that has your Server.  When you publish the workbook to the service, the service then uses the gateway to access the data (rather than an internal direct connection like used in Power BI Desktop).

     

    Assuming your issue is you can't connect with Power BI Desktop to the server,   I suggest first check you can connect to the server via SSMS or similar (you could also just use Excel).  If that works, then it is most likely incorrect credentials stored in Power BI Desktop.  Sign out (File\SignOut) and then clear your credentials cache (File\Options and Settings\Data Source Settings).  Just delete the ones that could be causing the problem - then try again.

     

    There is also a Power BI contruct called a Dataflow, it was that I thought you were using in my first response.

     

    Hope this helps

    Stuart