Nota
O acesso a esta página requer autorização. Podes tentar iniciar sessão ou mudar de diretório.
O acesso a esta página requer autorização. Podes tentar mudar de diretório.
Applies to:✅ SQL analytics endpoint and Warehouse in Microsoft Fabric
In this tutorial, you will create a Direct Lake semantic model and a Power BI report.
Observação
This tutorial forms part of an end-to-end scenario. Para concluir este tutorial, você deve primeiro concluir estes tutoriais:
Create a semantic model
In this task, learn how to create a Direct Lake semantic model based the Wide World Importers warehouse.
Verifique se o espaço de trabalho criado no primeiro tutorial está aberto.
Open the
Wide World Importerswarehouse.Select the Reporting tab.
On the Reporting ribbon, select New semantic model.
In the New semantic model window, in the Direct Lake semantic model name box, enter
Sales Model.Expand the
dboschema, expand the Tables folder, and then check thedimension_cityandfact_saletables.Select Confirm.
To open the semantic model, return to the workspace landing page, and then select the
Sales Modelsemantic model.To open the model designer, on the menu, select Open data model.
To create a relationship, in the model designer, on the Home ribbon, select Manage relationships.
In the Manage relationship window, select + New relationship.
In the New relationship window, complete the following steps to create the relationship:
In the Manage relationship window, select Close.
Criar um relatório do Power BI
In this task, learn how to create a Power BI report based on the semantic model you created in the first task.
On the Home ribbon, select New report.
In the report designer, complete the following steps to create a column chart visual:
In the Data pane, expand the
fact_saletable, and then check theProfitfield.In the Data pane, expand the
dimension_citytable, and then check theSalesTerritoryfield.
If necessary, resize the column chart visual by dragging the corner of the visual.
Select anywhere on the blank canvas to ensure that the column chart visual is no longer selected.
Complete the following steps to create a map visual:
In the Visualizations pane, select the Azure Map visual.
In the Data pane, from inside the
dimension_citytable, drag theStateProvincefields to the Location well in the Visualizations pane.
In the Data pane, from inside the
fact_saletable, check theProfitfield to add it to the map visual Size well.
If necessary, reposition and resize the map visual to place it beneath the column chart visual at the bottom-left region of the report page.
Select anywhere on the blank canvas to ensure that the map visual is no longer selected.
Complete the following steps to create a table visual:
In the Visualizations pane, select the Table visual.
In the Data pane, check the following fields:
-
SalesTerritoryfrom thedimension_citytable -
StateProvincefrom thedimension_citytable -
Profitfrom thefact_saletable -
TotalExcludingTaxfrom thefact_saletable
-
If necessary, reposition and resize the table visual to place it in an empty region of the report page.
Verify that the completed design of the report page resembles the following image.
To save the report, on the Home ribbon, select File>Save.
In the Save your report window, in the Enter a name for your report box, enter
Sales Analysis.Select Save.