Dashboard βΊ Phase 2: Power BI
M2.1
Power BI Orientation and Getting Data
Phase 2 goal
Build governed, refreshable, interactive program dashboards. Get data in shape with Power Query M, model it as a star schema, calculate it with DAX, present it well, and publish it securely.
π― Learning objectives
Tick each one when you can actually do it.
π‘ Key concepts
- Desktop vs. Service: Desktop (Windows app) is where you build: Power Query, model, DAX, report. The Service (web) is where you share: workspaces, refresh, apps, security.
- Semantic model (formerly "dataset"): tables + relationships + measures. Many reports can share one model.
- Storage modes: Import (fast, needs refresh), DirectQuery (live, has limitations), Live connection to a shared model.
- SharePoint sources: Use "SharePoint folder" or "SharePoint Online List" connectors so that scheduled refresh in the Service works without a gateway. Local file paths (
C:\...) need an on-premises gateway. - Copying queries: You can paste Power Query queries from Excel straight into Power BI's Power Query Editor. It's the same M language.
π Hands-on exercise: First Model
β¬ Practice data for this module
Data: programs, milestones, evm_monthly, budget_execution (CSV or XLSX in a folder; a SharePoint library is ideal).
- Get Data β Folder (or SharePoint folder). Load the four tables.
- Copy your
StatusCleanquery from Excel (Module 1.4) into Power BI and confirm it runs. - Look at Model view. Delete any relationships Power BI auto-detected wrongly.
- Build one table visual: Program, Phase, count of milestones.
π¦ Mini-project: Source Inventory
Write a short "Data Source Register" (in a Markdown or Excel table): each source, owner, location, refresh frequency, sensitivity marking, connector type, and whether it needs a gateway. Real analytics teams keep this document.
π§ Self-check quiz
Answer in your own words, then check. Grade yourself honestly; your score is saved.
Q2.1.1
What's the difference between a semantic model and a report?
Write at least a few words to unlock.
Model answer
How did you do?
Q2.1.2
Why prefer a SharePoint folder over a local
C:\ path for source files?Write at least a few words to unlock.
Model answer
How did you do?
Q2.1.3
When might you choose DirectQuery over Import?
Write at least a few words to unlock.
Model answer
How did you do?