This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hello guys,
I would like to ask, is it possible to set ODBC datasource for gateway with SLQ statement? Most of my sources in desktop version have SQL statement, because without it, it is impossible to load the query.
Solved! Go to Solution.
Hi Sk1X1,
You can add SQL Query in advance option when loading data to your PBI desktop. After you publish the report to web, everytime the data in your report need to be refreshed, PBI Service will send SQL Query to your gateway, then gateway will forward the query to your database.
Regards,
Jimmy Tao
Hi Sk1X1,
You can add SQL Query in advance option when loading data to your PBI desktop. After you publish the report to web, everytime the data in your report need to be refreshed, PBI Service will send SQL Query to your gateway, then gateway will forward the query to your database.
Regards,
Jimmy Tao
Yes, you can use Advanced options in an ODBC connection to paste in a SQL Statement, if that is what you are asking.
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.
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 9 | |
| 8 | |
| 8 |
| User | Count |
|---|---|
| 49 | |
| 27 | |
| 24 | |
| 20 | |
| 20 |