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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
franorio
Helper III
Helper III

Change source of Excel to OneDrive for existing reports

Hello everybody,

got a question, I create some Reports on Power BI desktop, my sources are different excel files in my personal computer. Information in this excels is monthly updated and sent by india to me. Every month I overwrite those files with the new excel files. Enter to Power BI desktop, refresh with the new info on those files, save and publish to get all my dashboards in power bi services updated. 

 

What i want is India to upload the excel files in Onedrive, and my reports to get updated automatically. How should I proceed, to change the file source of those Excels from my Local Pc to OneDrive (business), without having to create all my reports from sctrach on power bi?

 

Thanks & Regards!!

2 ACCEPTED SOLUTIONS
Greg_Deckler
Super User
Super User

Try this out, it may get you there.

  1. Create a brand new PBIX file
  2. Connect to your Excel File in OneDrive
  3. In Query Editor, go to "Advanced Editor" and copy your "Source" line
  4. Make a copy of your existing PBIX file (not the one you just created)
  5. Go into Query Editor and then "Advanced Editor"
  6. Replace the "Source" line

@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

You *should* just be able to schedule a refresh and since it is on OneDrive that refresh will be handled by the Service gateway. In the Service on the dataset, click the ellipses and choose "Schedule Refresh".


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

6 REPLIES 6
locky28
New Member

Greg this is amazing thank you so much for posting this!

 

Shout-out to franorio as well for asking the question clearly as well as posting the link for getting the Onedrive for Business/Sharepoint to get this going!

 

I'm new to PowerBI after attending a one day workshop last week and have been very impressed. This is a great solution for a Social Enterprise I'm volunteering with that'll get them some great charting/data for their business on the cheap.

 

Thanks again 🙂

Greg_Deckler
Super User
Super User

Try this out, it may get you there.

  1. Create a brand new PBIX file
  2. Connect to your Excel File in OneDrive
  3. In Query Editor, go to "Advanced Editor" and copy your "Source" line
  4. Make a copy of your existing PBIX file (not the one you just created)
  5. Go into Query Editor and then "Advanced Editor"
  6. Replace the "Source" line

@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...

Hi @Greg_Deckler ,

 

I know this is an old thread but I wanted to check if the same could be achieved using Power BI Online (as I believe that it doesn't have a Query Editor).

It would be great if you could help

 

Thanks & Regards,

Sanjana

Hi @Greg_Deckler thanks for your help!!!

Did what you told me, and complement with the following article to get the onedrive excels read.

https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-use-onedrive-business-links/

 

My question is the following. Now the excel files will we overwrited every month on OneDrive by other people. 

And my parametrization done in Power BI desktop is reading those files in onedrive as a source. 

Is there a way to get power bi connected and updating info automatically, for example every n+5 days to get it refreshed, without going into power bi desktop and clicking refresh, save, publish?

 

Thanks!!

 

Regards!

You *should* just be able to schedule a refresh and since it is on OneDrive that refresh will be handled by the Service gateway. In the Service on the dataset, click the ellipses and choose "Schedule Refresh".


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...

Thanks for this topic and solution! It has saved me lots and lots of time! 

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.