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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.