Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello world 🙂
Please, help me with PBI and SQL server:
i need connected my PBI with SQL server with some specific query - i found how i can connected into my SQL database, but i need use some query, not just table from this server. How can i do this?
Solved! Go to Solution.
@Евгений,
You can write SQL query in the SQL statement textbox as follows when connecting to SQL database in Power BI Desktop.
Regards,
Lydia
On the screen where you select your SQL server and Database, there is an Advanced Options that can be pressed to review some text boxes. One of the Text Boxes is "SQL Statement". I believe that is what you are looking for?
@Евгений,
You can write SQL query in the SQL statement textbox as follows when connecting to SQL database in Power BI Desktop.
Regards,
Lydia
Please, help me with PBI and SQL server:
i need connected my PBI with SQL server with some specific query - i found how i can connected into my SQL database, but i need use some query, not just table from this server.
On the screen where you select your SQL server and Database, there is an Advanced Options that can be pressed to review some text boxes. One of the Text Boxes is "SQL Statement". I believe that is what you are looking for?
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.