Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi
I installed Power BI Desktop on my computer, created data connection to database, got dataset in Power BI Desktop. right now I am going to create report base on those tables in the dataset. I already had exist SQL Statement for the report. how can I use the exist SQL Statement to build report ? instead of selecting columns from tables, and building filters etc.
Thanks advanced
Robert
Solved! Go to Solution.
@RobertXiong
Unfortunately, Power Bi doesn't support using SQL statement to build report, you can only use it to connect database to Power BI.
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
@RobertXiong
Unfortunately, Power Bi doesn't support using SQL statement to build report, you can only use it to connect database to Power BI.
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
Thanks so much, Paul Zheng
@RobertXiong , You have to create a connection and in advance option, you can give SQL
Thanks for your solution. I already created connection to database and already created dataset in Power BI Desktop, it's all ready for building report. I already has SQL Statement like "Select employee_id, employee_name, dept_name, salary from employee, department where .....", actual SQL Statement is much more complicated than this example, that's why I prefer to use this SQL Statement to build report.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 37 | |
| 35 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 74 | |
| 69 | |
| 39 | |
| 35 | |
| 23 |