| title | Data Warehouse Tutorial: Create a Direct Lake Semantic Model and Power BI Report |
|---|---|
| description | In this tutorial, learn how to create a Direct Lake semantic model and a Power BI report. |
| ms.reviewer | scbradl |
| ms.date | 07/15/2025 |
| ms.topic | tutorial |
Applies to: [!INCLUDE fabric-se-and-dw]
In this tutorial, you will create a Direct Lake semantic model and a Power BI report.
Note
This tutorial forms part of an end-to-end scenario. In order to complete this tutorial, you must first complete these tutorials:
In this task, learn how to create a Direct Lake semantic model based the Wide World Importers warehouse.
-
Ensure that the workspace you created in the first tutorial is open.
-
Open the
Wide World Importerswarehouse. -
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.:::image type="content" source="media/tutorial-power-bi-report/new-semantic-model-settings.png" alt-text="Screenshot of the New semantic model windows, highlighting the name box, and the selection of the dimension city and fact sale tables.":::
-
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.
:::image type="content" source="media/tutorial-power-bi-report/open-data-model.png" alt-text="Screenshot of the menu, highlighting the Open data model option.":::
-
To create a relationship, in the model designer, on the Home ribbon, select Manage relationships.
:::image type="content" source="media/tutorial-power-bi-report/home-ribbon-manage-relationships.png" alt-text="Screenshot of the model designer Home ribbon, highlighting the Manage relationships option.":::
-
In the Manage relationship window, select + New relationship.
:::image type="content" source="media/tutorial-power-bi-report/new-relationship-window-new-relationship.png" alt-text="Screenshot of the New relationship window, highlighting the + New relationship button.":::
-
In the New relationship window, complete the following steps to create the relationship:
-
In the From table dropdown list, select the
dimension_citytable. -
In the To table dropdown list, select the
fact_saletable. -
In the Cardinality dropdown list, select One to many (1:*).
-
In the Cross-filter direction dropdown list, select Single.
-
Check the Assume referential integrity box.
:::image type="content" source="media/tutorial-power-bi-report/new-relationship-settings.png" alt-text="Screenshot of the New relationship window, highlighting the settings.":::
-
Select Save.
-
-
In the Manage relationship window, select Close.
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.
:::image type="content" source="media/tutorial-power-bi-report/home-ribbon-new-report-option.png" alt-text="Screenshot of the model designer Home ribbon, highlighting the New report option.":::
-
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.:::image type="content" source="media/tutorial-power-bi-report/column-chart-visual.png" border="true" alt-text="Screenshot of the column chart visual showing sum of profit by sales territory.":::
-
If necessary, resize the column chart visual by dragging the corner of the visual.
:::image type="content" source="media/tutorial-power-bi-report/report-visual-layout-1.png" alt-text="Diagram of the report page layout showing the chart visual placed in the report page.":::
-
-
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.
:::image type="content" source="media/tutorial-power-bi-report/visualizations-pane-map-visual.png" alt-text="Screenshot of the Visualizations pane, highlighting the Azure Map visual.":::
-
In the Data pane, from inside the
dimension_citytable, drag theStateProvincefields to the Location well in the Visualizations pane.:::image type="content" source="media/tutorial-power-bi-report/drag-state-province-field-location-well.png" alt-text="Screenshot of the Data pane, highlighting the drag operation to the Location well.":::
-
In the Data pane, from inside the
fact_saletable, check theProfitfield to add it to the map visual Size well.
:::image type="content" source="media/tutorial-power-bi-report/azure-map-visual.png" border="true" alt-text="Screenshot of the map visual showing sum of profit by location.":::
-
-
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.
:::image type="content" source="media/tutorial-power-bi-report/report-visual-layout-2.png" alt-text="Diagram of the report page layout showing the chart visual placed 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.
:::image type="content" source="media/tutorial-power-bi-report/visualizations-pane-table-visual.png" alt-text="Screenshot of the Visualizations pane, highlighting the Table visual.":::
-
In the Data pane, check the following fields:
SalesTerritoryfrom thedimension_citytableStateProvincefrom thedimension_citytableProfitfrom thefact_saletableTotalExcludingTaxfrom thefact_saletable
:::image type="content" source="media/tutorial-power-bi-report/table-visual.png" border="true" alt-text="Screenshot of the table visual showing four columns of data.":::
-
-
If necessary, reposition and resize the table visual to place it in an empty region of the report page.
:::image type="content" source="media/tutorial-power-bi-report/report-visual-layout-3.png" alt-text="Diagram of the report page layout showing the table visual placed in the report page.":::
-
Verify that the completed design of the report page resembles the following image.
:::image type="content" source="media/tutorial-power-bi-report/completed-report-design.png" alt-text="Screenshot of the completed design of the report page.":::
-
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.
[!div class="nextstepaction"] Tutorial: Generate a report from the OneLake catalog