I have SSMS installed on my laptop along with a localdb I created:
I am trying to create a connection with my localdb (in Power BI Service) and my local SQL db via my gateway but I keep getting an error. Here is a screenshot:
I am uploading a report from Power BI Report Builder. I am able to connect using the same credentials on Power BI Report Builder. However, when I enter the credentials on Power BI Service I get an error. Does anyone know why I am getting this error?
Try to install and use the normal SQL Server instead of LocalDB. When connecting to LocalDB, the necessary SQL Server infrastructure is automatically created and started, but I'm not sure that the Power BI Gateway supports that.
Related
im getting a error to refresh mi report in Power BI Service. Currently I can refresh the report locally however when I publish the report and then want to sync it to a gateway I get the following error:
I have this configuration in the new data source:
Finally i have this configuration in ODBC ( 64x):
Sometimes i get error of credentials but its impossible because y refresh the data with these credentials locally.
Thanks!
I try using different gateways, changue the configuration of the ODBC and Power BI Report. I have synchronized another report with the same gateway and it works correctly. Now when I try to link a second report to this same gateway I get the error.
I am working on power bi desktop for visualizations. I have SQL server dataset which is on my local machine. I have connected the Data using import connection mode of power bi and loaded the data set into my power bi desktop. I have installed gateway to make connection of my on premises dataset to the power bi service. I have successfully made the connection as well. But when I come to publish my reports It never gets published (taking ages to publish) and just keeps loading for hours that will get published but they never get published.
When I connect the dataset using Query mode connection the reports get published but I cannot further create calculated tables and play with measures and columns effectively.
While in Import connection mode I can do everything except publishing my reports.
Good morning,
I am working with PowerBI premium and I am looking to connect a datasets existing in a premium workspace.
I need to connect to SQL Server Analysis services using the following connection string:
powerbi://api.powerbi.com/v1.0/myorg/workspacename;initial catalog=report_name
It works when connecting from PowerBI desktop but I am unable to connect to the datasets when I publish my report in the same workspace as the datasets.
The purpose of using SQL Server Analysis service instead of "Connect to PowerBI Datasets" is that I can work locally.
2 files:
1 datasets (Model)
1 report connected through "localhost:PortNumber"
When ready I can publish my datasets, then change datasets connection string in my report file and finally I can publish the report online for consumption.
Would someone know how I can do that without having an error after publishing the report online?
I have designed a power bi report for a client using data set as his SQL Server database backup in my local system, and publish it on his provided power bi service account, now how do i connect this publish report with my client's local SQL server database?
In other words how my client be able to connect his local system's SQL database with this report?
You can use parameterized connection where you can store your local database access and client database access details, by using:
I have a MSSQL server on-prem and followed the steps from Microsofts Docs
in order to install the gateway.
Than i managed the gateway via manage gateways within power bi (cloud) and the test there worked and i got the green check.
Now the question how do i get the data from the gateway into a dataset? when i try to add a new dataset there and click on data bases i only get Azure SQL Database, Azure SQL Data Warehouse, SQL Server Analysis and Spark on Azure HDInsight but now sign of my fresh data gateway to my on-prem db.
Currently you can only access on premise SQL Server databases by building a model & publishing it to powerbi.com using the Power BI Desktop.
If you select "Import" as your connection option, Power BI will store the required data online. You will be able to query on that fixed data and work with it even when your connection to the on premises server is down. You can update your fixed dataset with new data if your connection is properly defined in your gateway.
If you select "DirectQuery" in your Power BI Desktop you will require an active connection to the On premises server for any reporting to work online. On the up side, it'll work on live data and will not store any data online.
When publishing, Power BI Desktop will try to match your connections used in your report to the ones defined in your gateways. If it can find a match, it'll automaticly link those up. It'll give you an informational message to let you know if this step succeeded after publishing. At the same time it'll add a dataset using the same data you used in the reports you just built.