Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreJoin 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
Dear All,
I'd like to know if there is a possibility, starting from a dataset in Power BI, to drill down the aggregated dataset to a database SQL query (like Oracle databasde or whatever RDBMS).
It it possible to use Power BI in this way?
Is it possible to pass a SQL query with filters and then retrieve the result?
Regards
Solved! Go to Solution.
Hi @stesappo ,
If the data source is Oracle, you can refer the following link to get it by filling in SQL statement the Advanced options section just as below screenshot... Please note that Power BI Desktop doesn't support Oracle native queries that execute a stored procedure and Oracle native queries in "begin ... end" block doesn't return any result set.
Connect to an Oracle database with Power BI Desktop
Best Regards
Hi @stesappo ,
If the data source is Oracle, you can refer the following link to get it by filling in SQL statement the Advanced options section just as below screenshot... Please note that Power BI Desktop doesn't support Oracle native queries that execute a stored procedure and Oracle native queries in "begin ... end" block doesn't return any result set.
Connect to an Oracle database with Power BI Desktop
Best Regards
@stesappo , In direct query you can use aggregated tables, that can be there in import or direct query mode
https://learn.microsoft.com/en-us/power-bi/transform-model/aggregations-advanced
You can pass value using dynamic M parameter again in direct query
https://blog.crossjoin.co.uk/2020/10/25/why-im-excited-about-dynamic-m-parameters-in-power-bi/
So, if I've understood correctly, I can use dynamic M parameter in direct query to retrieve a dataset from a RDBMS (like Oracle) and have it as result in the Power BI in-memory database, correct?
Regards
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 48 | |
| 40 | |
| 37 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 69 | |
| 67 | |
| 32 | |
| 27 | |
| 26 |