How to use SQL Server stored procedures in Microsoft PowerBI?

后端 未结 5 1290
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-30 04:33

I want to generate reports from my SQL Server tables.

I have some already made stored procedures that I would like to use to generate reports from.

I haven

5条回答
  •  时光取名叫无心
    2020-12-30 04:45

    "Hi,

    1. In an Excel workbook, open the ""Power Query"" tab.
    2. Then choose the “From Database” drop down button and select “From SQL Server Database”
    3. Fill in the Server and Database textboxes and click OK
    4. In the Navigator window, double-click the desired table
    5. In the Query Editor window, click on to the column to be displayed.
    6. Click close and select the ""Load"" button
    7. Connect to stored procedures.
    8. Create another power window and fill in the server and database textboxes.
    9. In the SQL statement textbox, type “EXECUTE  Procedure_Name”
    10. Click Close and Load button "

提交回复
热议问题