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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

@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

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

 

@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

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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