PBI-04 · Investigate filter context

Guest practice: progress is stored in this browser session. Sign in for account-based learning records.

Power BI learning workbench

Guided simulation · synthetic retail data · INR. Follow the tasks on the left. Reset restarts the workbench.

Selected teaching operations only. This does not run Microsoft Power BI or create a PBIX. Repeat the linked tutorial in Desktop and the service.

Power Query: inspect and prepare

Import the supplied CSV rows, inspect the business key, then apply repeatable cleaning steps.

Download Sales.csv Download Products.csv

rows · Revenue:

Current Sales rows (spaces in Region are preserved until trimmed)
OrderLineIDOrderIDOrderDateProductIDRegionQuantityUnitPriceUnitCost

Applied steps

Model relationships

Products dimension

P1 · Mouse · Accessories
P2 · Laptop · Devices

Unique ProductID keys. Sales contains repeated ProductID keys because many order lines can refer to one product.

Products[ProductID] to Sales[ProductID]

Products (1) → Sales (*) · Single · active

Calendar: conventional date-table practice

Create contiguous dates for 2024–2025, mark Date[Date], and relate it to Sales[OrderDate]. In Desktop, follow the calendar lesson to do these steps separately.

731 unique dates · Date (1) → Sales (*) · all sales dates matched

Create an explicit measure

Measures in this model

Supported teaching formulas

Spacing and capitalization may differ. Other DAX functions require Power BI Desktop. These formulas are checked patterns, not a complete DAX interpreter.

Build and test a report visual

Revenue in current context:

No rows match this filter.

Test a regional security role

This simplified role exercise separates consumer access from editing access. Real identity, role assignment, OLS and effective permissions must also be tested in the Microsoft service.

Visible rows in this access test

Operational decision practice

This exercise checks reasoning about an incident. It does not configure a live service, gateway, capacity or tenant.

Lab complete!

Investigate filter context

Score

This session

Hints used

Review the notes Next lab