0
0
Power BIbi_tool~8 mins

Calculated tables in Power BI - Dashboard Guide

Choose your learning style9 modes available
Dashboard Mode - Calculated tables
Business Question

How can we create a new table that summarizes total sales by product category using calculated tables in Power BI?

Sample Data: Sales Transactions
TransactionIDProductCategoryQuantityUnitPriceSalesAmount
1NotebookStationery236
2PenStationery515
3ChairFurniture15050
4DeskFurniture1150150
5StaplerStationery177
6MonitorElectronics2120240
7KeyboardElectronics33090
Dashboard Components
  • Calculated Table: CategorySales = SUMMARIZE(Sales, Sales[Category], "Total Sales", SUM(Sales[SalesAmount]))
    This creates a new table summarizing total sales by category.
  • Table Visual: Displays CategorySales with columns Category and Total Sales.
    Shows total sales per category:
    • Stationery: 18
    • Furniture: 200
    • Electronics: 330
  • KPI Card: Total Sales Overall = SUM(Sales[SalesAmount])
    Shows total sales across all categories: 588
  • Bar Chart: Categories on X-axis, Total Sales on Y-axis from CategorySales.
    Visualizes sales comparison by category.
Dashboard Layout
+----------------------+--------------------+
|      KPI Card        |    Bar Chart       |
|  Total Sales Overall |  Sales by Category |
+----------------------+--------------------+
|                Table Visual (CategorySales)           |
+-------------------------------------------------------+
Interactivity

Adding a slicer for Category filters both the Table Visual and Bar Chart to show data only for the selected category. The KPI Card updates to show total sales for the selected category as well.

Self Check

If you add a filter to select only the Furniture category, which components update and what values do they show?

  • Table Visual: Shows one row: Furniture with Total Sales = 200
  • Bar Chart: Shows only Furniture bar with value 200
  • KPI Card: Shows Total Sales Overall = 200
Key Result
Dashboard showing total sales by product category using a calculated table with interactive filtering.