I stored an excel file on one drive and was able to manually refresh it on PowerBi Services BUT when I set it to scheduled refresh it will load for ever and not stop loading
What am I missing
I made sure that the path is correct and it is as it does refresh manually but not automatically
Related
I have an existing PowerBI report that imports data from an SQL Server analytics services database. This is working fine and I can schedule automatic refreshes using the Gateway provided by my organization.
I would now like to add some additional, but rarely changing data, that I only have in a local Excel file. When I do add this data, the report stops refreshing automatically and complains, that it has no gateway to refresh this Excel file.
What I would like is that Power BI is refreshing the data of the SQL Server analytics services database, but just keeps the existing Excel file without updating it. - I will upload an updated version of the PowerBI report if I need to change the data in the Excel file.
Is that possible? I couldn't find out how. I was trying to upload the Excel file to a different dataset to the Power BI service and reference this dataset in my report. Just to find out, that I cannot access a different Power BI dataset and SQL server analysis services database from the same report.
Three things I can think of
Upload the file to onedrive/sharepoint so that it's accessible online (per Dev's answer)
If the data is simple enough, you can add the data directly into PowerBI itself and skip the Excel file entirely.
You can disable the Excel file refresh so that PBI does not try and refresh(and thus access) the local Excel file. (Not sure if this will work)
I had a similar issue I came across. Yes, you can just use Enter Data to add a table, but you can only build something with less than 3000 cells, so you'd have to merge several tables if something was larger than that.
Turning off the report refresh in the suggestion above (#3) still requires a gateway, unfortunately.
I just created a dataflow and plopped the data from my csv there. You'll have to create a connection and refresh it, but you don't need to schedule a refresh there, so no need to create a gateway.
Then just link the dataflow as a source to your .pbix file and setup your gateway to point at the dataflow.
I haven't done any changes in my dataset for a while and in the past few days, the refresh and publish features (via PBI Desktop) were working just fine. However, this morning, it suddenly stopped following through the scheduled/automatic refresh which were set 5x a day every 2 hours starting 8AM. When Itrigger manual refresh, it says "Preparing for refresh" but doesn't really follow through with it, so i kept on clicking it but to no avail. After a while, I checked the Refresh History and the error I got was it's timing out.
I was trying to republish it with a newer version which was the same dataset refreshed in a different workspace. Apparently, when I publish it to a different workspace, or if I rename it and publish it to my existing shared workspace, it works. BUT I don't want to push through with this kind of workaround because I cannot afford to redo my the set up of RLS and manage permission in the dataset of my existing workspace.
Hope you can help me on this. Thanks.
Try signing in to the workspace using a browser, then use the Get Data feature (arrow button at bottom left), then choose Files / Local File and select your PBIX.
It's effectively the same results as a Publish from Power BI Desktop, but sometimes the method above works when Power BI Desktop is jammed up.
You might also have a refresh issue, not a publish issue. There's an unannounced-refresh-on-publish feature that most people don't notice:
"When you republish a dataset published from Power BI Desktop and have a refresh schedule defined, a dataset refresh is started as soon as you republish."
https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-upload-desktop-files
I have a Power BI Report which contains a data flow which is automatically refreshed each morning, and a static excel which contains daily production targets.
The excel file is in a folder on a shared drive, for which I had set up a personal gateway in order to refresh. However, if I am not online the gateway is of course not active.
To try to circumvent this issue, I chose to exclude the excel file from refresh in power query editor. However, when the automatic refresh occurs each morning, I am still getting an error message that the report has failed to refresh as my personal gateway was not line.
Is there another way to avoid this issue?
How to set up automatic hourly refresh of a Power BI dataset from an Excel file stored on OneDrive for Business? What am I doing wrong?
My set up goes the following path on the map of possible connections described by Vesa Tikkanen in the post Power BI: Why my report is not refreshing from OneDrive? Compatibility chart for sources.
Original image comes from: https://www.qumio.com/Blog/Lists/Posts/Post.aspx?ID=44
Manual refresh of a dataset works correctly as shown on the picture below but hourly refresh does not even start.
I try to set up automatic hourly refresh by choosing 1 and then 3 "Schedule refresh". I have OneDrive refresh set up for ON. It should be sufficient. Should anything else be enabled? Should "Scheduled refresh" be enabled?
For sure I have good "Data source credentials", because manual refresh works. My PBIX file is also stored on OneDrive so it does not require "Publishing" for PBIX update.
I have sourced my Excel file just like it has been presented in this tutorial: https://youtu.be/uxMlV9KKf6E?t=315
I try to explain the meaning of those 2 different options.
Scheduled refresh is for Power BI to go to source and read new data and refresh the model with the new data.
OneDrive Refresh is for automatically re-uploading the file from OneDrive to Power BI. So if you don't update the file it will upload every hour that same pbix file to service. This behaviour is meant for reports which cannot be scheduled to be auto refreshed but you manually construct new version of the report and that should be uploaded automatically to service after you updating the file in OneDrive.
I think you are trying to implement the automatic refresh. That means that you should uncheck the onedrive refresh and add scheduled refresh to report. This "Onedrive refresh" option is only visible when you originally uploaded report from OneDrive.
OneDrive Refresh is for updating the file, scheduled refresh is to collect data from source
I need to refresh the dataset on a powerbi desktop file. The data source is an excel file placed on my onedrive for business folder - to which I have access to. I also saved my pbix file in the folder, however I am using a Mac as of the moment and the only way I'm thinking of is to share the pbix file from one drive to my colleague from work. Will that work, or is there any other way to refresh the data without connecting to the desktop file?
P.S. I've check the refresh, but since my work laptop is offline - I can't schedule a refresh
In powerBI without sharing the pbix file you can share the dashboard with your colleagues just by selecting 'share' on the dashboard.
For the data source you can use an online database instead of the oneDrive file.
The way to allow PowerBI to refresh data from your Onedrive for business is to "share" the file in Onedrive for business. https://medium.com/#Konstantinos_Ioannou/onedrive-powerbi-desktop-use-valid-paths-to-import-data-stored-in-onedrive-for-business-60089848e594#.e9wn6kqjn
Then you can share a) either the PBIX file (refresh will be enabled; authentication to the file is "oauth2"). Or you can upload it to the PowerBI web service and share the dashboard there. You need to reauthenticate the data source and then also scheduled refresh will work.
I would publish your report to the PowerBi online service. Here you can then share the report with your colleague and setup a schedule refresh using the data gateway.
This would require a network connection though.