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
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
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.