Forum Discussion
julianmbs
10 years agoAdvocate II
PowerBIClient.Datasets.GetGatewayDatasourcesAsync returns NULL
Hi, I am trying to embed Power BI reports (using Direct Query) in my ASP.NET application, and get "Can't display the visual" message. I understand that I need to patch my data source credentials....
julianmbs
10 years agoAdvocate II
Yes, as I stated above, I am using DirectQuery mode.
jocaplan-MSFT
10 years agoMicrosoft Employee
And SQL Azure? Getting null there means that your dataset didn't bind to any gateway. This should only happen if you are not using one of the supported sources.
- julianmbs10 years agoAdvocate II
It is SQL Azure. I have datasets for both SSAS and regular databases. When I upload the report to Power BI Online, it works fine, so the gateway is working.
- jocaplan-MSFT10 years agoMicrosoft Employee
We don't support the enterprise gateway yet so the source must be in the cloud. This rules out SSAS and on premise SQL.
- julianmbs10 years agoAdvocate II
Ok, so SSAS is out for now. Then it should at least work with Azure SQL database? It's not on premise.