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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Could I create sql command in PowerBI. [ look like connection function in Excel].?
Solved! Go to Solution.
Hi @supansat ,
We can connect to the SQL server data source in Power BI Desktop.
And Power BI Desktop provides a set of advanced options that you can add to your query if needed when you connect to SQL server. I don't know if it can help you.
Another place that involves query is query folding, you can refer to https://docs.microsoft.com/en-us/power-query/power-query-folding
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I try to add sql command in feild 'SQL statement...' but It show error after running.
Could you help to show exemple.?
User | Count |
---|---|
98 | |
76 | |
69 | |
53 | |
27 |