I'm trying to use the Direct Query feature in Power BI
It is working on Power BI Desktop, but when I publish it to Power BI online, it gives the error below.
The source database is Azure SQL Database with pricing tier Standard S0: 10 DTUs.
The Power BI license is Premium (I've also tried with Pro).
The firewall setting of the Azure SQL Database
The error:
Cannot load model
Couldn't load the model schema associated with this report. Make sure you have a connection to the server, and try again.
Please try again later or contact support. If you contact support, please provide these details.
Activity ID671fca94-b76e-4660-a944-dff3b06235b3
Request ID748c1fb6-d8c1-b1af-072a-ea49a79c6b64
Correlation ID862117fb-f595-4130-40be-f1d195fa7cbe
TimeSat Sep 18 2021 18:13:33 GMT+0200 (Central European Summer Time)
Service version13.0.16736.54
Client version2108.5.07549-train
Cluster URIhttps://wabi-europe-north-b-redirect.analysis.windows.net/
When you are using Azure SQL Database as a data source, you must provide credentials before the Power BI service shows the published report.
Follow the instructions to provide the credentials from this Microsoft document.
If credentials are not added error occurs when opening the published report or a dataset that is created with the DirectQuery connection.
Related
I have Power BI report server setup in my on-premise environment. Here I am trying to connect to the PowerBI report server (on-premise) via the Excel sheet add-in (Power BI publisher for Excel).
I followed the below mentioned article :
https://learn.microsoft.com/en-us/power-bi/publisher-for-excel
But in this case I am not able to connect to the on premise PowerBI report server. It is always connecting me with the cloud version of PowerBI.
Can any one help me to know how to fix this issue?
Currently PowerBI addon - publisher-for-excel only Support for PowerBI services not for desktop/On-premises/Report servers.
As it mentioned in the description that When you pin an element from Excel, a new tile is added to a new or existing dashboard in Power BI,
In our case the dashboard feature it-self would not be available in Power BI report server. Eventually, publisher for excel would not be in the consideration with Power BI Report server. For full features list..
We are using PowerBI online. we purchased pro license.
I checked for my login and I am in Global Administrator role.
Still I found Refresh schedule on Dataset option disabled for me?
It is disabled, because your dataset is not refreshable. You should check What's supported? section of Configuring scheduled refresh article. You didn't mention what is the source of your dataset. In general, Power BI service needs access to the data source to be able to refresh the dataset. This means that either your data source should be somewhere in the cloud (e.g. Azure SQL Database, file on OneDrive and SharePoint Online, etc.), or there is a data gateway installed and configured.
I want to create a dashboard for our office that shows the progress of my team in real time.
I get the data from an on premises sql database, modeled the data in Power BI Desktop, and want to show the data on a TV that shows the Power BI website.
But how do I keep the data up to date?
I know that the Power BI Website offers a scheduled refresh but I can only set 7 times per day and I want the dashboard to refresh at least every 5 minutes. I also know about the streaming datasets but you cant use them in Power BI Desktop and I want to use custom visualisations. When I try to use Direct Query I get the following message :
This Step leads to a Query which is not supported in Direct Query Mode.
Is it possible to create live dashboards using Power BI? Or do you know software that is more suitable for my purpose?
This is possible with a Power Bi Report Server installed on premises and SQL Server Agent running with your on premises sql database. You develop your report and save it to the Power Bi Report Server. Then you can setup your Data Refresh interval to every 5 minutes.
This walk through shows you how to setup a Data refresh interval for every 2 minutes. Use it as a guide to create your report and save to Report Server.
Once saved to Report Server you can setup a data refresh interval for your report to every 5 minutes.
You will need the latest version of Report Server (March 2018 at the time of this answer) and a the latest version of Power Bi Desktop Optimized for Report Server (March 2018 also). SQL Server Agent will be needed to be installed at your SQL Server. The SQL Server Agent will store the data refresh job specification that you define using the Power Bi Report Server interface.
I have a working SSAS tabular model and I want to connect Power BI with live connection to this model. In the model there is a role (READ) for user DOMAIN\aldo. In Power BI desktop everything works fine. I can create report I can see data. In Power BI services I created gateway and successfully connected gateway. Upload to Power BI services was without problems. But despite of this I cannot see data in Power BI services.
Details:
ssas runs on NT service\mssqlserverolapservices
ssas admin technicUser
user in PBI: aldo#boston.com
user in client (according to whoami /upn): aldo#seattle.com (this is user DOMAIN\aldo in SSAS role)
mapping done in gateway to replace boston.com with seattle.com
user used in Gateway: technicUser
I can see user aldo#seattle.com in profiler as effective user name
<Catalog>AW</Catalog>
<SspropInitAppName>PowerBI</SspropInitAppName>
<EffectiveUserName>aldo#seattle.com</EffectiveUserName>
Error message in POwer BI Services:
Couldn't retrieve the data for this visual. Please try again later.
Please try again later or contact support. If you contact support, please >provide these details.
Activity ID8661ae16-5c87-4d04-9049-1e841341f25e
Request ID15355511-8ce9-2842-0eea-df1117ecb280
Correlation ID3e50c72c-06e8-8c81-8a44-78af1f309549
TimeWed Mar 14 2018 14:01:41 GMT+0100 (Central Europe Standard Time)
Version13.0.4622.132
Any idea what I´m missing to make to work?
I had the same error, like you mentioned in your comment. It has to do with the 32 or 64 bit version of the DLL.
OLE DB provider 'MSOLAP.5' cannot be instantiated
COMException (0x80040154)
80040154 Class not registered
I managed to resolve this by deregistering the 32-bit versions
“C:\Program Files (x86)\Microsoft Analysis Services\AS OLEDB\110\msolap110.dll”
“C:\Program Files (x86)\Microsoft Analysis Services\AS OLEDB\120\msolap120.dll”
and registering the 64 bit version.
“C:\Program Files\Microsoft Analysis Services\AS OLEDB\120\msolap120.dll”
In a command prompt running as admin you use the regsvr32 command.
To register a dll:
regsvr32 <pathToDLL>
To unregister a dll:
regsvr32 -u <pathToDLL>
From reference: PBI Forums
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.