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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
Anonymous
Not applicable

Importing data from data source

Hi,

 

I have to import data from oracle to power bi.

There are hundreds of tables and millions of rows in database, but i want only few rows.

Please help me how i can import the required rows from oracle.

 

Thanks in advance

2 ACCEPTED SOLUTIONS

Expand the Advance option to see the SQL Statement

 

ODBC.png







Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!

Proud to be a Super User!




View solution in original post

amitchandak
Super User
Super User

@Anonymous , In the connection you can give query of you choice

AdvanceProperty.png

 

 

Also refer

 

https://community.powerbi.com/t5/Desktop/parameterize-connection/m-p/205900#M90712

https://radacad.com/change-the-source-of-power-bi-datasets-dynamically-using-power-query-parameters

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

5 REPLIES 5
amitchandak
Super User
Super User

@Anonymous , In the connection you can give query of you choice

AdvanceProperty.png

 

 

Also refer

 

https://community.powerbi.com/t5/Desktop/parameterize-connection/m-p/205900#M90712

https://radacad.com/change-the-source-of-power-bi-datasets-dynamically-using-power-query-parameters

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
vanessafvg
Community Champion
Community Champion

can you not write a sql query in the advanced box of your connection?




If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




FarhanAhmed
Community Champion
Community Champion

Write the query instead of importing whole table and limit rows using rownum

 

select * from table where rownum<=10

 







Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!

Proud to be a Super User!




Anonymous
Not applicable

Im using odbc connection,

where do i need write the query?

Expand the Advance option to see the SQL Statement

 

ODBC.png







Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!

Proud to be a Super User!




Helpful resources

Announcements
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors