0
0
Power BIbi_tool~8 mins

DirectQuery vs Import mode in Power BI - Dashboard Approaches Compared

Choose your learning style9 modes available
Dashboard Mode - DirectQuery vs Import mode
Business Question

Should we use DirectQuery or Import mode to connect our sales data for the best performance and freshness?

Sample Data: Sales Records
OrderIDProductRegionSalesAmountOrderDate
1001ChairEast1502024-01-10
1002TableWest3002024-01-15
1003LampEast1202024-01-20
1004SofaNorth4502024-01-25
1005DeskSouth2002024-01-30
1006ChairWest1802024-02-05
1007TableEast3202024-02-10
Dashboard Components
  • KPI Card: Total Sales
    Formula: Total Sales = SUM(Sales[SalesAmount])
    Shows total sales amount from the data.
  • Bar Chart: Sales by Region
    Visualizes sales amount grouped by Region.
  • Table: Recent Orders
    Shows OrderID, Product, Region, SalesAmount, OrderDate sorted by OrderDate descending.
  • Text Box: Mode Explanation
    Explains difference between DirectQuery and Import mode.
Dashboard Layout
+----------------------+----------------------+
|      Total Sales      |  Mode Explanation    |
|      (KPI Card)       |    (Text Box)        |
+----------------------+----------------------+
|                                              |
|             Sales by Region (Bar Chart)      |
|                                              |
+----------------------------------------------+
|                                              |
|               Recent Orders (Table)          |
|                                              |
+----------------------------------------------+
  
Interactivity

Adding a slicer for Region filters the Bar Chart, KPI Card, and Recent Orders Table to show data only for the selected region(s).

Switching between DirectQuery and Import mode affects data freshness and performance but does not change the visuals directly.

Self Check

If you add a filter for Region = East, which components update and what changes do you expect?

  • Total Sales KPI: Updates to sum sales only for East region (150 + 120 + 320 = 590).
  • Sales by Region Bar Chart: Shows only the East region bar with total sales 590.
  • Recent Orders Table: Shows only orders from East region (OrderID 1001, 1003, 1007).
  • Mode Explanation Text Box: Remains unchanged as it explains connection modes.
Key Result
Dashboard compares sales data views and explains DirectQuery vs Import mode with interactive region filtering.