Học cách tạo và lưu nhiều loại báo cáo Power BI.
Tạo báo cáo
1. Chọn chế độ xem Model từ các tùy chọn ở góc dưới bên trái, ngay ngoài bảng vẽ.
![Screenshot of the bottom left corner of the screen, showing where to select the Model view option.](https://learn.microsoft.com/en-us/fabric/data-warehouse/media/tutorial-power-bi-report/select-model-view.png)
2. Từ bảng fact_sale, kéo trường CityKey và thả nó vào trường CityKey trong bảng dimension_city để tạo một mối quan hệ.
![Screenshot of two table field lists, showing where to drag a field from one table to another.](https://learn.microsoft.com/en-us/fabric/data-warehouse/media/tutorial-power-bi-report/drag-field-drop-table.png)
3. Trên cài đặt Create Relationship:
- Bảng 1 được điền thông tin từ fact_sale và cột CityKey.
- Bảng 2 được điền thông tin từ dimension_city và cột CityKey.
- Cardinality: chọn Many to one (*:1).
- Cross filter direction: chọn Single.
- Để ô bên cạnh Make this relationship active được chọn.
- Đánh dấu ô bên cạnh Assume referential integrity.
![Screenshot of the Create Relationship screen, showing the specified values and where to select Assume referential integrity.](https://learn.microsoft.com/en-us/fabric/data-warehouse/media/tutorial-power-bi-report/create-relationship-dialog.png)
4. Chọn Confirm.
5. Từ tab Home của ribbon, chọn New report.
6. Xây dựng một Column chart:
- Trên bảng Data, mở rộng fact_sales và đánh dấu ô bên cạnh Profit. Điều này tạo một biểu đồ cột và thêm trường vào trục Y.
- Trên bảng Data, mở rộng dimension_city và đánh dấu ô bên cạnh SalesTerritory. Điều này thêm trường vào trục X.
- Di chuyển và điều chỉnh kích thước biểu đồ cột để chiếm góc trái trên của bảng vẽ bằng cách kéo các điểm neo ở các góc của hình ảnh.
![Screenshot showing where to find the anchor point at the corner of a new visual report in the canvas screen.](https://learn.microsoft.com/en-us/fabric/data-warehouse/media/tutorial-power-bi-report/new-visual-canvas-anchor.png)
7. Chọn bất kỳ nơi nào trên bảng vẽ trống (hoặc nhấn phím Esc) để biểu đồ cột không còn được chọn.
8. Xây dựng một biểu đồ Maps:
- Trên bảng Visualizations, chọn biểu đồ ArcGIS Maps for Power BI.
![Screenshot of the Visualizations pane showing where to select the ArcGIS Maps for Power BI option.](https://learn.microsoft.com/en-us/fabric/data-warehouse/media/tutorial-power-bi-report/visualizations-pane-arcgis-maps.png)
- Từ bảng Data, kéo StateProvince từ bảng dimension_city vào hộp Vị trí trên bảng Visualizations.
- Từ bảng Data, kéo Profit từ bảng fact_sale vào hộp Kích thước trên bảng Visualizations.
![Screenshot of the Data pane next to the Visualization pane, showing where to drag the relevant data.](https://learn.microsoft.com/en-us/fabric/data-warehouse/media/tutorial-power-bi-report/drag-data-to-visualization.png)
- Nếu cần thiết, di chuyển và điều chỉnh kích thước bản đồ để chiếm góc trái dưới của bảng vẽ bằng cách kéo các điểm neo ở các góc của hình ảnh.
![Screenshot of the canvas next to the Visualization and Data panes, showing a bar chart and a map plot on the canvas.](https://learn.microsoft.com/en-us/fabric/data-warehouse/media/tutorial-power-bi-report/canvas-two-visual-reports.png)
9. Chọn bất kỳ nơi nào trên bảng vẽ trống (hoặc nhấn phím Esc) để biểu đồ bản đồ không còn được chọn.
10. Xây dựng một biểu đồ Table:
- Trên bảng Visualizations, chọn biểu đồ Table.
![Screenshot of the Visualizations pane showing where to select the Table option.](https://learn.microsoft.com/en-us/fabric/data-warehouse/media/tutorial-power-bi-report/select-table-visualization.png)
- Từ bảng Data, đánh dấu ô bên cạnh SalesTerritory trên bảng
dimension_city
. - Từ bảng Data, đánh dấu ô bên cạnh StateProvince trên bảng
dimension_city
. - Từ bảng Data, đánh dấu ô bên cạnh Profit trên bảng
fact_sale
. - Từ bảng Data, đánh dấu ô bên cạnh TotalExcludingTax trên bảng
fact_sale
. - Di chuyển và điều chỉnh kích thước biểu đồ cột để chiếm nửa phải của bảng vẽ bằng cách kéo các điểm neo ở các góc của hình ảnh.
![Screenshot of the canvas next to the Visualization and Data panes, which show where to select the specified details. The canvas contains a bar chart, a map plot, and a table.](https://learn.microsoft.com/en-us/fabric/data-warehouse/media/tutorial-power-bi-report/canvas-three-reports.png)
11. Từ thanh ribbon, chọn File > Save.
12. Nhập Sales Analysis là tên của báo cáo của bạn.
13. Chọn Save.
![Screenshot of the Save your report dialog box with Sales Analysis entered as the report name.](https://learn.microsoft.com/en-us/fabric/data-warehouse/media/tutorial-power-bi-report/save-sales-analysis-report.png)
Nguồn: https://learn.microsoft.com/en-us/fabric/data-warehouse/tutorial-power-bi-report