Question: how to import data using sql query in power bi?
Answer: In the SQL statement box, type or paste the above SELECT statement, as shown in the following figure. When you click OK, Power BI Desktop displays a preview window, showing you a subset of the data you'll be importing. Click Load to import the data into Power BI Desktop.