Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Ederur4
New Member

Excel desktop

Hello, I would like to know if it is possible to have an excel file on my personal Windows Desktop and every time I update that file, the Power BI report published in the cloud is updated. I have tried Power Automate through a gateway, but am unable to see the updated results. Is there a way to do it or something similar? Thank you, All the best.

3 ACCEPTED SOLUTIONS
123abc
Community Champion
Community Champion

Steps to Set Up Auto-Refresh:

1. Install and Configure an On-Premises Data Gateway

The On-Premises Data Gateway acts as a bridge between Power BI Service and your local data sources (in this case, your Excel file). Here's how to configure it:

  • Download and install the On-Premises Data Gateway from Microsoft's site.
  • Sign in with your Power BI credentials during installation.
  • After installation, register your gateway in the Power BI Service.

2. Place the Excel File in a Stable Location

  • Keep the Excel file in a consistent location on your computer.
  • Note the file path (e.g., C:\Users\<YourName>\Desktop\FileName.xlsx).

3. Use Power BI Desktop to Connect to the File

  • Open Power BI Desktop.
  • Click Home > Get Data > Excel, and navigate to your file.
  • Load your data into Power BI.

4. Publish the Report

  • Publish the Power BI report to your desired workspace in Power BI Service.

5. Configure the Data Source in Power BI Service

  • Go to Power BI Service and navigate to your report's workspace.
  • Under Settings, locate the dataset tied to your report.
  • Configure the data source to use the On-Premises Data Gateway:
    • Select your gateway.
    • Ensure the file path in Power BI matches the local path you used in Power BI Desktop.
    • Enter your credentials for accessing the file, if prompted.

6. Set Up Scheduled Refresh

  • In Power BI Service, configure a Scheduled Refresh for your dataset:
    • Navigate to your dataset's settings.
    • Enable Scheduled Refresh and specify the refresh frequency (e.g., daily, hourly).

7. Optional: Automate Immediate Refresh (if needed)

If you want the Power BI report to refresh immediately after the Excel file is updated, you can use Power Automate:

  • Create a Power Automate flow that triggers on changes to your Excel file.
  • Use the "Refresh a dataset" action in Power Automate to refresh the dataset in Power BI Service.

Troubleshooting Tips

  1. Verify Gateway Connection: Ensure the gateway is running and connected in Power BI Service.
  2. File Path Consistency: The file path in Power BI Desktop must match the one configured in the gateway.
  3. File Locks: Avoid keeping the Excel file open when Power BI is refreshing.
  4. Test Scheduled Refresh: After setting it up, manually trigger a refresh to confirm everything works.

By following these steps, your Power BI report in the cloud will reflect updates made to your Excel file on your desktop. If you're still facing issues, let me know, and we can troubleshoot further!

 

I hope this helps!
If you found this answer helpful:

Mark it as the solution to help others find it faster.
Give it a kudo to show your appreciation!
Thank you for being an awesome community member!

View solution in original post

powerbidev123
Advocate III
Advocate III

Hey @Ederur4 , Use sharepoint online if you are working with a online excel file. Another option is using PowerBI data gateway with configuring the On-premises Data Gateway on your machine or a server in your network. But you must ensure to keep your machine on or connected to internet. 

 

If you go with 1st option i.e Sharepoint online then that eliminates dependency on your personal desktop being on and online.

 

Let me know if this helps

View solution in original post

danextian
Super User
Super User

Not everytime but on schedule. You will need a data gateway installed in a device that an access to the source file.










Did I answer your question? Mark my post as a solution!


Proud to be a Super User!









"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

3 REPLIES 3
danextian
Super User
Super User

Not everytime but on schedule. You will need a data gateway installed in a device that an access to the source file.










Did I answer your question? Mark my post as a solution!


Proud to be a Super User!









"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
powerbidev123
Advocate III
Advocate III

Hey @Ederur4 , Use sharepoint online if you are working with a online excel file. Another option is using PowerBI data gateway with configuring the On-premises Data Gateway on your machine or a server in your network. But you must ensure to keep your machine on or connected to internet. 

 

If you go with 1st option i.e Sharepoint online then that eliminates dependency on your personal desktop being on and online.

 

Let me know if this helps

123abc
Community Champion
Community Champion

Steps to Set Up Auto-Refresh:

1. Install and Configure an On-Premises Data Gateway

The On-Premises Data Gateway acts as a bridge between Power BI Service and your local data sources (in this case, your Excel file). Here's how to configure it:

  • Download and install the On-Premises Data Gateway from Microsoft's site.
  • Sign in with your Power BI credentials during installation.
  • After installation, register your gateway in the Power BI Service.

2. Place the Excel File in a Stable Location

  • Keep the Excel file in a consistent location on your computer.
  • Note the file path (e.g., C:\Users\<YourName>\Desktop\FileName.xlsx).

3. Use Power BI Desktop to Connect to the File

  • Open Power BI Desktop.
  • Click Home > Get Data > Excel, and navigate to your file.
  • Load your data into Power BI.

4. Publish the Report

  • Publish the Power BI report to your desired workspace in Power BI Service.

5. Configure the Data Source in Power BI Service

  • Go to Power BI Service and navigate to your report's workspace.
  • Under Settings, locate the dataset tied to your report.
  • Configure the data source to use the On-Premises Data Gateway:
    • Select your gateway.
    • Ensure the file path in Power BI matches the local path you used in Power BI Desktop.
    • Enter your credentials for accessing the file, if prompted.

6. Set Up Scheduled Refresh

  • In Power BI Service, configure a Scheduled Refresh for your dataset:
    • Navigate to your dataset's settings.
    • Enable Scheduled Refresh and specify the refresh frequency (e.g., daily, hourly).

7. Optional: Automate Immediate Refresh (if needed)

If you want the Power BI report to refresh immediately after the Excel file is updated, you can use Power Automate:

  • Create a Power Automate flow that triggers on changes to your Excel file.
  • Use the "Refresh a dataset" action in Power Automate to refresh the dataset in Power BI Service.

Troubleshooting Tips

  1. Verify Gateway Connection: Ensure the gateway is running and connected in Power BI Service.
  2. File Path Consistency: The file path in Power BI Desktop must match the one configured in the gateway.
  3. File Locks: Avoid keeping the Excel file open when Power BI is refreshing.
  4. Test Scheduled Refresh: After setting it up, manually trigger a refresh to confirm everything works.

By following these steps, your Power BI report in the cloud will reflect updates made to your Excel file on your desktop. If you're still facing issues, let me know, and we can troubleshoot further!

 

I hope this helps!
If you found this answer helpful:

Mark it as the solution to help others find it faster.
Give it a kudo to show your appreciation!
Thank you for being an awesome community member!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.