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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
GLIDO
Helper I
Helper I

Writing own sql queries

Hi there,

 

I am stuck with an issue.  I've imported 10 tables using PBI Desktop from oracle, and created the joins as well. Things were fine till here. Now I've to add a coulumn to the master table (e.g. Table_1), Now this new column is based on some complex queries and sub querie. I was thing to use the oracle queries directly to populate the new column. 

 

Will that be possible in Power BI, coz back in SAP BO, we were able to write sql in IDT. I am new to powerBI.  

1 ACCEPTED SOLUTION

Hi @GLIDO,

 

You are able to put Native Query to a connection as I show on the screenshot even when importing data.

Please try.

 

Regards,
Ruslan
-------------------------------------------------------------------
Did I answer your question? Mark my post as a solution!

View solution in original post

3 REPLIES 3
zoloturu
Memorable Member
Memorable Member

Hi @GLIDO,

 

When connecting to any relational database you can mention Native Query in Advanced options. See example below:

 

dqdq\

Regards,

Ruslan

Hi Zolo,

 

The thing is I've to import the tables and cannot use the direct query option. 

Hence, I was trying the approach of first fetching the whole set of data and then filtering the data as per the needs, by using the sql queries. 

 

Thanks 

Hi @GLIDO,

 

You are able to put Native Query to a connection as I show on the screenshot even when importing data.

Please try.

 

Regards,
Ruslan
-------------------------------------------------------------------
Did I answer your question? Mark my post as a solution!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.