My organization recently publish a PowerBI dashboard via the Publish to Web and an embed code. We have configured a daily refresh via a gateway running on a virtual machine that's always on. The data refreshes automatically daily. This is all successful and works well.
The issue we are running into is that the data seems to update incrementally on the embedded version. For example, data in one tab will update to the most current data, while changing a slicer selection will continue to display the previous day's data.
This is incredibly confusing, especially as it's a publish facing dashboard.
Is there a way to resolve this?
Thanks!
Related
Is there still no way for Power BI Desktop to automatically refresh data without publishing pbix to Power BI Service? Due to threat of private information leakage, we want to maintain our data only via Power BI Desktop (not using Power BI Service first). We have been looking for ways on how to work around the automatic refresh in PBI Desktop for over a day already but all pointing us to publishing pbix to Power BI Service, which will allow us to schedule the refresh after. Any feedback will be much appreciated.
Thank you!
There is no supported way to do this. The easiest workaround is to teach your users to click on Refresh button. Second easiest thing could be to use DirectQuery instead of import mode.
There are some attempts for workarounds from the community, but you should use them with caution:
PBIXRefresher and pbixrefresher-python scripts by Michal Dúbravčík
Write some code that starts opens the .pbix file in Power BI Desktop, finds its PID, then finds the port on which the child Tabular process listen and use Tabular Object Model (TOM) to refresh it
Use Power Update (paid) tool
But leaving workarounds aside, Power BI is compliant with a lot of security standards. Data leaks of data from the cloud in most (all?) of the cases will be caused by a human factors, which is also possible with on-premise data. But if it is a no-go for your organisation, then either use Power BI Server on-premise, or another reporting tool (e.g. SSRS).
There is no way to automate the refresh in PowerBI desktop. You have to manually click the refresh button. Many organisations trust PowerBI Service with their data. However, in the case that you have some serious data residence restrictions, then you can deploy PowerBI Report Server on premises and publish to this without your data leaving your network.
I am new to Power BI. I have a requirement where I need to create a Real-time Report.
My data is coming from Event Hub but we don't want to use Azure Stream Analytics.
So how can we do this?
You can use other opportunities like pubnub or create a small scheduled console application/script (and use the Power BI API).
More information for creating such an application can be found here: https://www.sqlshack.com/real-time-streaming-in-power-bi/
I worked on a demo report with similar requirement. To demonstrate how things will work, we created a real-time report that shows weather information like wind speed, temperature, etc live data.
To eliminate azure from the picture, we had to create a c# console application, which runs in the background and pushes the data in the database at a specified interval of time (in our case every 15 seconds) with a timestamp.
We are publishing our powerbi reports embedded into a website with a PowerBI Premium Plan. All our analytic visualizations are on PowerBI but we are in troubles to offer some user interactions through the interface.
Specifically, we want to confirm some events pressing a button which is located on the same powerbi in order to call a backend API through a Javascript.
Fortunately, we've figured out how to solve this problem and our button is updating our database. But we couldn't solve the problem associated with limitations about numbers of requests to the power bi service. It is said that there is a limit of one request every 15 seconds. So, we have to wait 15 seconds to press the button again. Nobody will want to wait more than a few seconds to interact again with the button.
We've used the last example as is described in the following URL:
Embedding Basic interactions
Someone has experience with this kind of interactions on PowerBI? I find it a little strange, I do not find any information about this limitation on the Microsoft website
Here an example of the exception:
You are using PowerBI Embedded. This is a service from Microsoft where you pay for a certain amount of processing power. When you go over this processing power, PowerBI will return an error.
A capacity calculator is available to see how much processing power you would need. You can find it on the Microsoft website.
I'm not sure what you're using this functionality for. You say you use the button to "confirm some events" which suggests that the PowerBI solution is part of an interactive application. Do remember that PowerBI is an analytics platform and as such not really suited for real-time interaction. If this is the case I would strongly advise finding a different solution since higher-tier PowerBI embedded licenses are very expensive (and still won't guarantee that no error will be generated)
I have scheduled 8 refreshes in Power BI for a day for 7 dashboards. But i found out that one of the dashboards is not updating its values. That particular dashboard only refreshes if refresh now option is clicked. Also the schedule refresh option is disabled automatically every day.
Just sharing my learning on the same issue. I have just found out through technical support that schedule refresh will turn off automatically after 4 refresh fails.
I couldn't find the reason because my schedule was being turned off randomly. So it seems that's the reason. I have few sources connected and every time one is down my refresh fails.
You need to troubleshoot why your one dashboard refresh is failing. Follow the steps recommended here:
Go to the Power Bi Web Portal and browse to the location of your dashboard.
Right click on the the three dots and select Manage
In the left menu select "Scheduled Refresh" tab (see left red circle in image)
The rightmost column Status will contain any error that was occurred (see right circle from above image).
The documentation on configuring Scheduled Refresh can be a good place to find a solution to the cause of your problems as well as this scheduled refresh troubleshooting guide. Without the error, we can only guess that its an authentication error, problem with data source, gateway, drivers, memory, etc.
As I know Power BI caches the report definition and the results of the queries required to view the report.
It can take approximately one hour before changes are reflected in the version of the report viewed by your users.
Could this interval be decrease? Or could the caching be turned off?
Please help!
Publish to web is designed for internet scale. If you're looking to target internal users or as part of an application, you can use one of the authenticated embedding options -there's no cache there. Take a look at my answer here for a review of those options:
How to Pass a URL Filter to a Power BI Publish to Web Report
We are working on making the cache update time fast for report metadata. Essentially if you save the file in our service, the changes to the report definition will be updated immediately.
Any more details on your scenario would be helpful.