PowerBI - Automatic Refresh OneDrive Business From Excel File - powerbi

I have an excel sheet stored in a OneDrive Business Folder, which is updated continuously (approximately every minute). I am trying to show a live count of the number of entries in the table, as below, on a powerBI report:
From here I have tried two options:
1.Created a PowerBI Desktop File which shows the total count on a single card. I have then published this to PowerBI Service as a report.
2.Imported the excel file in via "Get Data->Files->OneDrive-Business" on PBI Service:
I loaded in the data and then created a report as below:
However, when a change is made to the excel file on the onedrive, the report data does not update automatically when any change is made. Instead, the only way that it updates is via the "refresh now" option in datasets on PBI service:
Then once that is refreshed, I have to manually refresh the data in the report window also.
The connection between the report and the excel file is therefore available to allow the manual update, but for some reason does not automatically update when I make a change. Are there are solutions available to get this to update automatically.
I saw this cool idea, but I can't seem to get it to work:
https://bigintsolutions.com/2019/03/29/refresh-power-bi-report-every-min-and-show-on-a-tv/
I have also read many threads, with some people having the same issue I am having:
https://community.powerbi.com/t5/Power-Query/Automatic-Refresh-not-working-when-connecting-to-SharePoint/td-p/546308
I know that there should be an update every hour for PowerBI-OneDrive connections, but I was hoping there was a way for updating live.
Goal: PowerBI Service Report to update automatically, for live data feed to a TV screen, when a change is made, say every minute.
Any help would be greatly appreciated!

Where are you sourcing your data? Updating each minute to an Excel file seems like something that won’t scale in the long term. This sounds like a better scenario for a real-time dataset that is in hybrid mode. Then you could build a dashboard over the data and it would automatically update as the data updates. I’ve used Power Automate to push data into a real-time dataset as well.
Treb Gatte, Power BI MVP

Related

Can PowerBi dynamically load files?

I think I'm on a severe wishful thinking trip here, please confirm if I am, if not then what would be the process to accomplish this?
Every day a team compiles an Excel file and sends it via email attachment. I have a Power Automate Flow that saves the attachment into a SharePoint space.
I can create a Power Bi and manually connect load those files to create the report, but it seems the real "Power" would be to not have to manually connect the new file (which has the creation date in the filename - eg 'Daily DRR 3-16-22.xlsx') every day, ergo:
What steps (using the Power Platform) would I take to have my PowerBi report auto (dynamically) refresh using the last 5 files (days) in the SharePoint drive? Is that possible?
Thanks in advance!

Adding static Excel to automatically refreshing Power BI report

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.

Custom Realtime Data in PowerBI Dashboards

I am new to the powerbi platform and have a challenge of scoping/converting an old dashboard solution to powerbi.
The old dashboard solution is custom made and refreshes data every minute.
Powerbi lists its refresh rate for 8 times a day for Pro and 48times a day on Enterprice. Does that means there is no option to provide the same realtime (1min) updates in a dashboard using powerbi?
Can you embed iframes or anything in a powerbi dashboard?
How can you do a realtime graph in powerbi if it only refreshes 8 times a day?
Refreshing data 8/48 times a day is applicable when you import data in Power BI dataset. But if you want "more recent" data, you can connect to your data source using DirectQuery mode. DirectQuery sends queries to your data source when rendering the report. If you apply a filter, the database will get a new query, and so on. Not every data source supports DirectQuery, e.g. you can't use it for flat files (obviously). You may want to take a look at Data refresh in Power BI article.
For embedding iframes in Power BI report you can use HTML Viewer custom visual.
By default when using DirectQuery mode, tiles pinned to a dashboard refresh automatically hourly (Datasets in DirectQuery/LiveConnect mode), but you can reduce this time down to 15 minutes:
A tile is a report visual pinned to a dashboard, and dashboard tile refreshes happen about every hour so that the tiles show recent results. You can change the schedule in the dataset settings, as in the screenshot below, or force a dashboard update manually by using the Refresh Now option.
However if you want to display real-time data in Power BI dashboard, it will be better to use push or streaming datasets. With push datasets you can programatically push data to the dataset and the data will be stored and you can use them in reports. Streaming datasets are similar to push, but they will keep only the last hour of data pushed to them and can't be used in report, only pinned to a dashboard. There are also other options, like using PubNub or Microsoft Flow. For more information also take a look at Real-time streaming in Power BI.

How to create a power bi report with excel which updates on daily basis

Hi I have an excel which is saved in one drive for business. I update the file on daily basis with the agent name, date and no of clients handled. I have created a report with power bi file in desktop version and published it in power bi online and then created link by publish to web option. Now this link is not updated with recent data.
I tried to create the report through power bi online but it does not have options like modeling and query editor...
I am very new to power bi so kindly excuse for any errors ....
I just need to give the operations team a link to view daily performance of the team, rather than opening excel file and looking at the data.
I just need to paste the data in excel file and the report should be updated automatically ...
I have created a report with power bi file in desktop version and published it in power bi online and then created link by publish to web option.
Creating the report in Power BI Desktop is the correct first step. But if you are using Publish to Web functionality, you are publicly sharing your data in an insecure manner. Do you actually mean Publish To Web, or do you just mean that you published your report to PowerBI.com?
Now this link is not updated with recent data.
You need to set a scheduled refresh so the Power BI model will contain the latest version of the data from your Excel file. You can also manually refresh your dataset, but if you want to make sure it has the latest data every day, scheduled refresh is the way to go. Locate your dataset in PowerBI.com. There will be a scheduled refresh option. On the settings page, enter your credentials, then under scheduled refresh turn on the Keep your data up to date toggle. Choose a frequency and time.
Here is a link to make sure you connected to your file in OneDrive correctly that also mentions how to set up scheduled refresh at the bottom.

How to use real database in Power BI and make it refresh dynamicaly?

I'm new to Power BI (Free Version) and I have been asked to develop a report system which generates report from an excel sheet, the reports work good for only the data I have collected.
but my question is how to connect to the data immediately from SQL server without the need to convert it to excel and then import it in power BI, I also want the data to be refreshed dynamically.
One of the solutions I tried is to add new dataset but I get the following message:
Refresh can't be scheduled because the data set doesn't contain any
data model connections, or is a worksheet or linked table. To schedule
refresh, the data must be loaded into the data model.
I have looked for many solutions but none has worked.
am I missing a concept? thank you
If this data is stored in a SQL SERVER table it is a pretty straight forward process.
When you create a new power bi report (.Pbix) you should see a prompt asking you if you want to "Get Data". You would select the 'SQL Server Database' option - See the image below:
Then, you will be asked to enter the Server and Database name, and to specify either 'Import' or 'Direct Query' mode. If you choose 'Import' the data will be refreshed every time you access the report or upon 'Refresh' within a report session. If you choose the latter, the connection will always be live i.e. any changes to the data in your database will be reflected in the report.
Once you get passed this window, you will be asked to either specify credentials or use a windows authentication to access the database and server. After that you can either specify a query to pull in some data or you can select from a list of tables.
I hope this helps!!