Power BI: From Raw Data to a Shared Dashboard
Power BI is Microsoft's business intelligence platform. It is a set of tools that connect to an organisation's data, clean and combine it, and turn it into interactive reports and dashboards that people open in a browser or on a phone. It appears in management information systems courses because one product covers the whole path from operational data to a decision maker's screen. This lesson covers what each part of Power BI does, the order in which an analyst builds a solution, and how finished work is published, refreshed and shared.
The pieces of Power BI
Power BI is several programs that work together:
- Power BI Desktop: a free Windows application where an analyst connects to sources, shapes the data, builds the model and designs report pages. Most of the building happens here.
- Power BI Service: the cloud platform, opened in a web browser. Published reports are stored in workspaces, refreshed on a schedule and shared from here.
- Power BI Mobile: apps for phones and tablets that display content from the Service.
- On-premises data gateway: software installed on a computer inside the company network. It lets the Service reach sources it could not otherwise see, such as a database on an office server.
Building a solution in Desktop
Work in Desktop follows four stages, and each stage depends on the one before it.
- Get data. Connect to sources such as Excel workbooks, CSV files, SQL Server databases or cloud applications like Salesforce.
- Transform in Power Query. The Power Query Editor removes blank rows, fixes data types, splits columns and merges tables. This is the ETL stage. Every change is recorded as a step, so the same cleaning runs again at each refresh.
- Model. Relationships join the loaded tables into a semantic model: the tables, relationships and calculations that every report visual queries. Older material calls it a dataset. A common layout is a star schema. In a star schema a fact table of transactions links to dimension tables through key columns, usually in one-to-many relationships. Calculations are written in DAX, which is a topic of its own.
- Visualise. Report pages hold charts, tables, maps, cards and slicers. The visuals on a page cross-filter each other, so selecting a bar in one chart filters the others.
Reports versus dashboards
The words report and dashboard sound alike, but in Power BI they play different roles.
Feature | Report | Dashboard |
|---|---|---|
Where it is built | Desktop or the Service | The Service only |
Pages | One or many | A single canvas |
Data behind it | One semantic model | Tiles pinned from one or more reports |
Interaction | Slicers, filter pane, cross-filtering, drill-down | Selecting a tile opens its source report |
Typical use | Exploring and analysing | Monitoring key figures at a glance |
A dashboard is a one-page collection of tiles pinned from reports, so a manager can watch the most important numbers in one place.
Publishing, refreshing and sharing
Publishing sends the report and its semantic model from Desktop to a workspace in the Service. In the default Import mode, Power BI stores a copy of the data, and that copy must be refreshed to stay current. DirectQuery mode instead sends a query to the source each time a visual loads. Scheduled refresh runs in the cloud, so a gateway is needed only for sources the cloud cannot reach directly. A file or database on the company network needs one. A cloud database or a SharePoint Online list does not.
Sharing usually requires a paid Pro or Premium Per User licence, both for the person sharing and for the viewers. The exception is a workspace on a large enough Premium or Fabric capacity, where free users can view content. You can share individual items, give people access to the workspace, or bundle content as an app for a wide audience.
What to remember
- You build in Desktop. You publish, refresh and share in the Service.
- The build order is get data, transform in Power Query, model, then visualise.
- The semantic model holds the tables, relationships and calculations that every visual uses.
- A report can have many interactive pages. A dashboard is a single Service page of pinned tiles.
- Scheduled refresh of on-premises sources needs an on-premises data gateway.
Example: Planning a Power BI solution for a café chain
Harbour Beans runs 14 cafés in three regions. Its analyst is planning a Power BI report so that regional managers can check each café's sales by product category every morning. The data sits in three places:
- Sales: one row per transaction (TransactionID, Date, CafeID, ProductID, Quantity, Amount), in a SQL Server database on a server in the head office.
- Cafés: one row per café (CafeID, CafeName, Region, Manager), in an Excel workbook stored in SharePoint Online.
- Products: one row per menu item (ProductID, ProductName, Category), in the same SQL Server database.
a) Describe the semantic model. Which table is the fact table, which are the dimension tables, and how should the tables be related?
The Sales table records events, one row per transaction, and has numeric columns to add up (Quantity and Amount), so it is the fact table. Cafés and Products describe those events, so they are dimension tables.
Each café appears once in Cafés but many times in Sales. Cafés therefore links to Sales through the shared key column ________ in a ________ relationship, with Cafés on the one side. Products links to Sales in the same way through ProductID.
The result is a star schema, with Sales in the centre and the two dimension tables around it. When a manager selects a region on a slicer, the filter flows from Cafés across the relationship to Sales, so every visual shows only that region's transactions.
b) In Power Query, the Date column of Sales arrives as text such as 2026-11-03, and 37 test transactions from a training café have no CafeID. Which transformations should the analyst apply, and what happens to them at each refresh?
Change the data type of the Date column from Text to Date, so Power BI treats the values as real dates rather than strings. Visuals can then use the automatic ________ of year, quarter, month and day, report pages can filter to a date range or use a relative-date slicer such as the last 7 days, and Sales can later be related to a separate date table for time-based measures. Next, filter the CafeID column to remove null values. This drops the 37 test rows, which would otherwise appear as a blank café in every chart.
Power Query records each transformation in the ________ list. The steps run again, in order, every time the data refreshes, so tomorrow's new transactions are cleaned the same way without any manual work.
c) After publishing, the analyst schedules a refresh at 6:00 each morning. Which sources need an on-premises data gateway, and does one daily refresh stay within the limit for a Pro licence?
The Service runs scheduled refresh in the cloud. SharePoint Online is a ________ service, so the Service can reach it directly and the Cafés workbook needs no gateway. The SQL Server database sits on a server inside the head-office network, so the Sales and Products tables need an on-premises data gateway. The gateway is installed on a machine that can reach that server.
This split works because the Cafés workbook and the SQL Server tables load through separate queries. If a single query merged the SharePoint data with the SQL Server data, the SharePoint source would also have to refresh through the gateway.
A Pro licence allows up to ________ scheduled refreshes per day for an imported semantic model, so one refresh at 6:00 is well within the limit.
Only the SQL Server source, which holds Sales and Products, needs the gateway, and the planned schedule is allowed.
d) Managers want one screen on their phones that shows total sales, sales by region and the top five products. They also want to be able to dig into a single café. Should the analyst give them a report or a dashboard?
Give them both, connected. Pin the three key visuals from the report to a dashboard in the Service, so managers see the headline numbers on one canvas in the Power BI Mobile app. Selecting any tile opens the ________ page it was pinned from. On that page, slicers, filters and drill-down let a manager narrow the view to one café.
The dashboard serves monitoring and the report serves analysis. Managers get a fast morning check and a path to the detail behind it.
In Power BI Desktop, data cleaning happens in the Power Query Editor. Each transformation you make, such as promoting headers or changing a column's data type, is listed as an entry under in the Query Settings pane. The recorded transformations run again at each data .
An analyst at a medical supply distributor is building a Power BI solution to track stock levels across warehouses and share it with the purchasing team. Put the analyst's tasks in the order they should be done.
1.
Clean the data in Power Query by removing blank rows and setting data types.
2.
Connect Power BI Desktop to the inventory database and the supplier spreadsheet.
3.
Create relationships between the stock table and the product and supplier tables.
4.
Publish the report and its semantic model to a workspace in the Power BI Service.
5.
Pin key visuals to a dashboard and share it with the purchasing team.
6.
Build report pages with charts, cards and slicers.