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! Request now

Reply
Nagarjunav
Frequent Visitor

Change Data Source from Excel file to Oracle Database

Hi Friends

 

How would i change the data source from Excel file to Oracle Database?

 

I have some data in excel & i took it to the Power BI and created some report (Using some formulas, Graphs & Measures )

 

Now i want to import the data from Oracle and want to apply the same Template

 

I found one route i.e.

 

By dumping the data to excel and Changing the source Excel data

 

I Don't want this solution

 

I shall able to change the data source from excel to Oracle Database

 

Is this Possible in Power BI?

 

 

Thanks in Advance

Regards

Nagarjuna 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Nagarjunav,

You can perform the following main steps to achieve the above requirements.

1. Create a new query that points to your Oracle database in Power BI Desktop.
2. Copy the code of the new query in Advanced Editor.
3. Go to your existing query of Excel and replace the  source code in the Advanced Editor with copied code in Step 2.

There is a similar thread for your reference.
https://community.powerbi.com/t5/Desktop/Can-I-change-data-source-from-Excel-to-SAP-BW-without-impac...


Regards,
Lydia

View solution in original post

3 REPLIES 3
BeemsC
Resolver III
Resolver III

Hey,

I might've misunderstoond, but why dont you just directly get your data from the Oracle database.
Just hold your report next to the new one and copy the steps you've applied.
Example oracle.png

Hi @BeemsC

 

Thanks for your reply

 

But i don't want to copy steps. Why because next time my source may change, like Oracle to Azure or Oracle to R Script Etc. Each time i shouldn't do it.

 

Please let me know if you have any other Solution

 

Thank you

Regards

Nagarjuna

 

Anonymous
Not applicable

@Nagarjunav,

You can perform the following main steps to achieve the above requirements.

1. Create a new query that points to your Oracle database in Power BI Desktop.
2. Copy the code of the new query in Advanced Editor.
3. Go to your existing query of Excel and replace the  source code in the Advanced Editor with copied code in Step 2.

There is a similar thread for your reference.
https://community.powerbi.com/t5/Desktop/Can-I-change-data-source-from-Excel-to-SAP-BW-without-impac...


Regards,
Lydia

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.

Top Solution Authors