Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
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
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 64 | |
| 63 | |
| 49 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 121 | |
| 118 | |
| 38 | |
| 36 | |
| 29 |