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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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