I´m using the Power BI Service (https://app.powerbi.com) to present important KPI´s. Now I move to a new System which is fully based on Azure. The main database is a PostgreSQL Instance (DbaaS - https://azure.microsoft.com/en-us/services/postgresql/).
Connecting to the database from my local Power BI Desktop Version and querying data works perfect. But as soon as I deploy the Report on Power BI Service, I´m unable to automate data refresh cause it seems that the Power BI Service can only connect to the PostgreSQL instance on Azure using a local Data Gateway.
In fact it doesn´t make much sense to use an on-prem connector to bring data from one cloud application to another.
Does anybody know how I and if I can connect Power BI Service and PostgreSQL Database on Azure directly?
Thanks a lot in advance & best,
Michael
It seems that you need to configure a gateway to make it working https://blogs.msdn.microsoft.com/chmitch/2018/06/04/complete-guide-to-setting-up-power-bi-connecting-to-postgres-w-refresh-enabled/
Hope it helps.
I did not go so far myself. My expectation was to connect Postgres to Power BI in a few clicks and get a dashboard online. I was very surprised that it needs dancing with ssl certificates, configuring gateway o_O.
Related
Hello everyone, so I keep getting this error each time I try to refresh my dataset on power bi service. The data credential area is grayed out on powerbi service. I used ODBC to connect to PostgreSQL database hosted on AWS cloud service. Created my dashboard on desktop and publish but can't refresh on powerbi service but it refreshes on desktop. Please can anyone help resolve this?
We have created a power bi report in power bi desktop and we made the incremental refresh configurations and we, for the first time, published our report to pbi service:
The normal refresh button works fine in PBI Desktop, but The problem is that when trying to set a Scheduled Refresh or connecting our dataset to the a Gateway we face credential issues like shown below:
And when editing the credentials we faced this error:
And when it comes to adding a datasource to the GateWay here's the issue:
Please Help Us!!!
Could you change your data source authentication method to Windows, and provide your credentials?
The issue is that I was trying to connect to a localhost web api, but once I connected to the live one everything starts to work fine.
My probleme is the postgre connector on powerApps doesnt allow to connect to an online server . Its mandatory to select a gateway and to create a gateway , but you have to do it in local (see the screenshot) ?
I create a gateway on the azure portal and it doesnt appaer on the select option in powerapps. The only gateway who appear are the one on my local computer.
How can I create a connction between powerApps to my Azure PostGre database ?
I have try to use the SQL dataBase connector which allow us to use a cloud server but that doesnt work easer because it said the server doesnt exist or isn't found .
The screenshot of Postgres connector in PowerApps
(reposting answer from MSDN Forums)
That is correct -- you need a Gateway to use the PostgreSQL connector today in PowerApps. The reason we need a Gateway is because we need the user to install the PostgreSQL client for the connector to work. We need some work to update our documentation to explain this requirement better. PostgreSQL client: https://github.com/npgsql/Npgsql/releases
To understand more on PowerApps Gateway requirements, you can see this article here: https://learn.microsoft.com/en-us/powerapps/gateway-management
This article explains the on-premise Gateway in detail: https://learn.microsoft.com/en-us/powerapps/gateway-reference
Also, for any PowerApps specific question, please feel free to leverage PowerApps community here: https://powerusers.microsoft.com/t5/PowerApps-Community/ct-p/PowerApps1
I have developed some reports using power bi desktop which is using IBM DB2 as datasource. I have installed On-premises data gateway in my power bi system and configured. I have to create ibm db2 datasource connection in power bi web to make live connection with my IBM DB2 database. When i tried to create datasource connection it showing me unable to connect error message.I have given correct credentials but still it showing the same error. Am i missing anything? any special permissions needed to provide from IBM DB2 database admin side? Please help me to solve this issue.
Thanks in advance,
Kannas
I had an identical error. The issue appears to be related to the credentials given in the data source settings when configuring in the online service. In my case I had not entered the domain with the username.
Is there a way to get the server info of my VSO account and access using SQL Server?
I've tried logging in using the URL
{account}.visualstudio.com
But I got a sever not found error
No, the back-end databases are SQL Azure instances, different from the TFS on-premise databases. I cannot see MS ever giving you access to the database - maybe the data, but not the database.
You can only use the API (old and new REST) and Power BI tools to perform queries.
If you have a specific problem you are trying to solve, post it as a new question because it may be possible without database access.