Forum Discussion

septagon77's avatar
septagon77
Regular Visitor
2 years ago

Error: We couldn't connect to your DirectQuery data source

I am connecting to a PostGres database through a Transport connection.  I am able to connect to the server and see the tables in the database.  I am able to select a table and see a preview of the data.  I am using a DirectQuery connection.  Once I hit the load button to bring the table into PowerBI I receive the above error.  I am able to see the table in the Model View but not the Report View.  Any action that works with the model throws the same error again.  Any ideas as to the cause of the error?

6 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi septagon77 ,

     

    Double-check that your server and database names are correct and that you have access to them.


    1. Check that all data models have been imported into Power BI. If there is a Direct Query data model in the report, the local computer should have access to the data source.


    2. Try opening a new powerbi desktop and clearing the data source permissions.

     

     

    Then, reopen and reconfigure your pbix file. Ensure that your local machine has access to your data source.

     

    If your Current Period does not refer to this, please clarify in a follow-up reply.

     

    Best Regards,

    Clara Gong

    If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.