Expand my Community achievements bar.

SOLVED

Connection to PowerBI using Query Service - sslmode

Avatar

Level 1

Hi,

 

I'm trying to connect PowerBI to Query Service. However, I'm running into a problem "Unable to connect". It's says that only secure connections are supported, and that I have to set "sslmode" as "require" in connection settings. Where do I have to set that while connecting to PostgreSQL?

 

Thanks

Screenshot 2024-11-26 at 9.01.24 AM.png

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @RenatoZu , 

 

I have just did a test and my connection is working. 

I have followed the following steps: 

 

Steps to Connect Power BI to Query Service

  1. Open Power BI:

    • Launch Power BI Desktop.
    • Select Get Data from the top menu.
  2. Select Data Source:

    • In the search bar, type "PostgreSQL".
    • Select PostgreSQL database from the results and click Connect.
  3. Enter Server and Database Information:

    • In the PostgreSQL database dialog, enter the server and database values from your Adobe Experience Platform credentials.
    • For the server, use the host value from the Query Service Credentials section and append :80 for production (e.g., made-up.platform-query.adobe.io:80).
    • For the database, you can use "all" or specify a dataset table name (e.g., prod:all).
  4. Choose Data Connectivity Mode:

    • You can select either Import or DirectQuery mode:
      • Import: Imports the full dataset into Power BI.
      • DirectQuery: Queries the data source directly without importing data.
  5. Authentication:

    • Enter your username (Organization ID) and password (authentication token) from the Query Service credentials page.
    • Click Connect.
    • Parvesh_Parmar_0-1732720983269.png

Kr,

Parvesh 

 

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Hi @RenatoZu , 

 

I have just did a test and my connection is working. 

I have followed the following steps: 

 

Steps to Connect Power BI to Query Service

  1. Open Power BI:

    • Launch Power BI Desktop.
    • Select Get Data from the top menu.
  2. Select Data Source:

    • In the search bar, type "PostgreSQL".
    • Select PostgreSQL database from the results and click Connect.
  3. Enter Server and Database Information:

    • In the PostgreSQL database dialog, enter the server and database values from your Adobe Experience Platform credentials.
    • For the server, use the host value from the Query Service Credentials section and append :80 for production (e.g., made-up.platform-query.adobe.io:80).
    • For the database, you can use "all" or specify a dataset table name (e.g., prod:all).
  4. Choose Data Connectivity Mode:

    • You can select either Import or DirectQuery mode:
      • Import: Imports the full dataset into Power BI.
      • DirectQuery: Queries the data source directly without importing data.
  5. Authentication:

    • Enter your username (Organization ID) and password (authentication token) from the Query Service credentials page.
    • Click Connect.
    • Parvesh_Parmar_0-1732720983269.png

Kr,

Parvesh 

 

Avatar

Level 1

Hi @Parvesh_Parmar 

 

That's not working for me. After trying to connect, I get the error message that is attached when I created this thread. 

 

Best,

Renato