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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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


Follow on LinkedIn
@ 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!:
Power BI Cookbook Third Edition (Color)

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".



Follow on LinkedIn
@ 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!:
Power BI Cookbook Third Edition (Color)

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


Follow on LinkedIn
@ 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!:
Power BI Cookbook Third Edition (Color)

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".



Follow on LinkedIn
@ 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!:
Power BI Cookbook Third Edition (Color)

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

August Carousel

Fabric Community Update - August 2024

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