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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
ThomasDay
Impactful Individual
Impactful Individual

move data source to onedrive for business

Hello All,

 

I've developed a very large data model on premises using powerbi desktop and local drives.  I then have migrated the model to powerbi.com and it's working well.  I'd like to now move the files from the queries from my onpremise data to my onedrive for business account (same business account) .  I don't see a way to edit my model queries for each data source (about 18) to change the data paths.

 

I feel certain this is a rookie problem.  Any help is appreciated.

Tom

7 REPLIES 7
Greg_Deckler
Community Champion
Community Champion

Well, generally you go into the Advanced Editor and you can edit the Source line to point to your new source. However, I do not believe that there is a connector for One Drive for Business in Desktop, only in the Service so that is going to present a problem. 



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!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

The model is there right now...presuming powerbi.com subscription is the service you refer to...created in desktop but moved up there.  I can't find the advance editor you refer to anywhere having looked under the menus, elipses, gears, and so on.  Where might it be?  Is there another level of powerbi.com I need to have?  Thanks!  Tom

The Advanced Editor is not available in the Service, only in the Desktop when you Edit Queries, go to View tab and choose Advanced Editor.



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!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Oh, crikey--sorry, that was staring me in the face.  Thanks!  Tom

ThomasDay
Impactful Individual
Impactful Individual

Gosh, I want to use a onedrive url for each file, don't I?  

  • or do I use the sync'd file from my ssd  
  • If use the url..I'm not sure how to morph the file path to a url muchless figure out the (sharing) privleges part.  

So I guess that's the next layer question if I don't just use the sync'd file.  

 

I must be missing a whole section of how-to's here, so steer me that way if I'm going over obvious things here.  Do I need a "gateway" or some such thing?

 

Thanks,

Tom

@ThomasDay Yes you need to change the url in all queries to point to onedrive files. 

 

I had written a post regarding url paths

https://medium.com/@Konstantinos_Ioannou/onedrive-powerbi-desktop-use-valid-paths-to-import-data-sto...

 

but also if you search the community there are at least 2 great posts for the subject

Konstantinos Ioannou

Thank you, this looks great.  (Turns out there are lots of OneDrive issues when I searched.  Sure didn't see this but I will say I've read a bunch of your posts in the past month by clicking on your profile.  Ironically, searching well requires domain knowledge that rookies often don't have...so the searches are clumsy.  I suppose I could have searched on people who provide the many and varied solid answers to find it.)  Anyway, thank you again.  Tom

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.