Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Is there any way to refresh the Power BI using VBA?
I want to refresh the BI every time Refresh excel, but there is no way to download Gatway. I know that VBA can be used to perform tasks in Browsers, such as logging in to social networks or accessing programs that use some script. Is there a way to do this in POWER BI? Is there a script that helps with Refresh and BI publishing?
Solved! Go to Solution.
Just to follow up on @VahidDM suggestion, if you use the Excel file in Onedrive (using the link to the cloud), you can either refresh manually or let Power BI do an hourly automatic refresh. (So no gateway needed).
Source: https://learn.microsoft.com/en-us/power-bi/connect-data/refresh-desktop-file-onedrive
Here is a video from Guy in a Cube which shows how to set up the connection
Proud to be a Super User!
Paul on Linkedin.
Just to follow up on @VahidDM suggestion, if you use the Excel file in Onedrive (using the link to the cloud), you can either refresh manually or let Power BI do an hourly automatic refresh. (So no gateway needed).
Source: https://learn.microsoft.com/en-us/power-bi/connect-data/refresh-desktop-file-onedrive
Here is a video from Guy in a Cube which shows how to set up the connection
Proud to be a Super User!
Paul on Linkedin.
HI @Anonymous
You can not use VBA to refresh your Power BI Dataset/Report.
You can use the Gateway or move your excel file to the SharePoint or Onedrive and then use Power Automate to update/refresh the power BI dataset/report.
Refresh your Power BI dataset using Microsoft Flow
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
User | Count |
---|---|
79 | |
74 | |
44 | |
32 | |
28 |
User | Count |
---|---|
100 | |
93 | |
52 | |
50 | |
48 |