I connected my PostgreSQL DB to Power BI and then built a dashboard. Now I want to refresh the dashboard automatically once a day. I saw that there is an option to do that using the Power BI web version, so I have published the dashboard. In addition, I have pinned the report to the live view option. Then, I have determined the schedule refresh and added a new row to the DB. After the refresh time passed, nothing happened. I pressed the Refresh button in the Power BI web version, and still, nothing happened. However, when I went back to the Power BI desktop application and pressed the refresh button, the dashboard did refresh.
What am I doing wrong?
Thanks!
It looks like your PostgreSQL database is installed on-premise and Power BI Online server, which runs in the cloud, can't connect to your database, which runs in your internal network.
You need to install Power BI Gateway to allow Power BI to connect to your database, and configure it.
Your Power BI app is pulling data right from the source. The on-line web version requires a data gateway, either personal or on-prem depending on your business needs. Remember you can only use live refresh with a single source.
https://powerbi.microsoft.com/en-us/gateway/
Related
Disclaimer: not a developer, but an analyst looking for solutions
I currently have a DOMO dashboard ready, am looking to port/replicate it on Power BI for another set of users who have the rest of their dashboards on Power BI. Is there a way I can do this?
Found a link with regard to having a writeback connector, is this the right one to go about doing it?:
https://domohelp.domo.com/hc/en-us/articles/360063090013-Power-BI-Writeback-Connector
Another similar(?) question on this forum:
https://community.powerbi.com/t5/Developer/Custom-Connector-with-Token-Refresh/m-p/2320423
The worst case scenario given to me, is to recreate the dashboard directly with the data source used in the DOMO dashboard (which I find the most intuitive as an analyst).
I could be trying to do the opposite of what the user here was trying to do from Power BI to DOMO:
Power BI to DOMO
I see there being two options for your use case, you can move the data out of Domo to Azure / Power BI via the Power BI Write-back Connector, which you have already identified, this can be automated and scheduled like a regular Domo process and is all managed and contained within the Domo UI, or, you could retain your data in Domo and have Power BI query it directly by via the ODBC Data Driver.
The ODBC driver setup creates a DSN (Data Source Name) on your machine which references your Domo instance, allowing you to create queries against Domo directly. You can then connect Power BI to that ODBC Connection.
I believe the visualisations would need to be re-created manually, I'm not aware of a tool that would let you port these across.
We have IoT Data being streamed to the PowerBI Service (from Azure Stream Analytics). We would like to do filtering of this live streaming data - so that the user can view data for a certain IoT device (or machine) only.
It seems that PowerBI Reports allow filtering and drill-through but NOT dashboards. And Reports are not meant for streaming data. They do not auto-refresh.
I looked on AppSource for possible visuals that may be used. There is an Attribute Slicer visual but it seems to be for Reports - not dashboards.
Any recommendations for how to enable filtering - of this streaming data - on the dashboard?
Is a custom visual needed (using PowerBI SDK and/or PowerBI API's)?
Any other options?
One option is to have a simple HTML page with a drop down list that has the link for separate PowerBI dashboards per IoT device (a separate dashboard for each device). It is not the best solution.
Thanks.
I am using SQL Server Database for my Power BI reports using import , is there any way to refresh the reports every hour (without using direct query)?
Thanks
you can go on Power BI Services, on your dataset (the one related to your DB) and schedule a refresh and then, add every hour of the day in you scheduled refresh. I'm totally aware that it is not the best option but it is working. Let me know if it helps you.
One possibility would be to have a job on your SQL server that runs every hour and saves the data, for the BI, to a table. Then the BI would not have to do any processing, rather it would just read (i.e. Direct Query) the latest data from a table. That should be a lot faster than running the query, in Direct Query, every time.
I am sorry to say but the schedule refresh functionality is only present in your Power BI Service and not in Power BI Desktop. If you want to know how to implement Schedule Refresh in Power BI Service I will provide you the solution. Please revert back and I have written one blog too. You can go through this link.
Visit this link
Can we add user restriction in SQL like SSRS report or do we need to do something else?
We are using a master PBI account to embed the report feature.
Access permission need to set on data level. Within any power BI report, user has to see the data which is allowed with some permission level. It has to be data filtering based on user permissions.
You create your gateway and make sure it's ready to go.
Use Power BI desktop to create your reports and data sets.
Publish your solution to Power BI service "online version" app workspace ( requires Power BI pro or premium license.
From Power BI service, create a new app and select which reports to include, from this wizard, it will ask you who can see this application and view it's content.
Publish the application and only allowed users will be able to use it.
You may need to read this article - Create and publish Power BI apps
I'm using Power BI web preview and have SSAS as a data source. When my underlying SSAS tabular data model changes, I don't see my reports or the dataset in Power BI get updated.
Since manually "refreshing" the Power BI data set is not supported as of now, how do I make sure that my Power BI reports are in sync with the latest data?
There's a great blog on the Analysis Service connector here:
http://blogs.msdn.com/b/powerbi/archive/2015/03/11/power-bi-analysis-services-connector-deep-dive.aspx
It includes the top trouble shooting tips. If you're still having problems, please use the "?" at the top of the power bi preview UI to ask for support.
HTH,
Lukasz
As of now you can use Power BI Gateway, and you will have the option to update cubes on scheduled intervals, or you can live connect as well.
Are you using import or direct query method? If you are using import mode you can set up an schedule refresh for that. If you are using direct query all your data is going to be updated