cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Extract Data and Cut off Connection

Hello,

 

Is there a way to import data from a database (Oracle in this case) and then remove all connection from the database? My report is connected to a secure database that will lock if there is a connection to a source for a long period of time. I've tried disabling background data preview and auto refresh but the database still locks. If I could just connect, import, extract data and kill off any connection with the database it would be very helpful. 

 

Also, I am not using a gateway connection - I established connection with Oracle via the Client file, tnsnames.ora, ODBC etc. 

 

Thank you. 

4 REPLIES 4
Super User
Super User

Re: Extract Data and Cut off Connection

Well, in theory you could not go through the wizard and just write the M code in the Advanced Editor perhaps?


I have book! Learn Power BI from Packt


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

Proud to be a Datanaut!

Anonymous
Not applicable

Re: Extract Data and Cut off Connection

Sorry I'm not that familiar with Power BI, can you please expand?

Community Support Team
Community Support Team

Re: Extract Data and Cut off Connection

Hi @Anonymous,

 

As we know, If the connection type is import. Once finished, all of the data are stroed on-promise. You can refer to the blog what makes up a pbix. If you refresh the data in Power BI desktop manually, Then you need connect to the data source once again. 

 

https://www.fourmoo.com/2017/05/02/what-makes-up-a-power-bi-desktop-pbix-file/

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
Anonymous
Not applicable

Re: Extract Data and Cut off Connection

Hello, thank you for taking the time.

I understand that logically data should be stored on-premise and there won't be any connection to the database until I attempt refresh. However, if I try to edit my query and the database is affected in some way (locked etc.) I cannot access the data.

I don't understand how this could be, since after the import the data should just be available to me regardless of the data source as long as I don't refresh... 

 

Helpful resources

Announcements
New Kudos Received Badges Coming

New Kudos Received Badges Coming

Kudos to you if you earned one of these! Check your inbox for a notification.

Microsoft Implementation for Communities Wins Award

Microsoft Implementation for Communities Wins Award

Learn about the award-winning innovation that was implemented across Microsoft’s Business Applications Communities.

Power Platform World Tour

Power Platform World Tour

Find out where you can attend!

Top Kudoed Authors (Last 30 Days)
Users online (1,614)