Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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 |
|---|---|
| 44 | |
| 35 | |
| 30 | |
| 17 | |
| 17 |
| User | Count |
|---|---|
| 65 | |
| 57 | |
| 40 | |
| 21 | |
| 20 |