Power BI tutorial

A Power BI tutorial that ends in a published report

Seven steps, one sample sales dataset, about three hours. Install the tool, import a messy spreadsheet, clean it, build a star schema, write four DAX measures, lay out a dashboard and publish it. Each step says what to click and what the result should look like.

Beginner friendlyNo codingFree
P
Tutorial pathSeven steps · one report
~3 hours
1 · Install Desktop10 min
2 · Connect the data15 min
3 · Clean in Power Query30 min
4 · Star schema model30 min
5 · First DAX measures30 min
6 · Report page layout40 min
7 · Publish and refresh20 min
ToolPower BI Desktop (free)
DataOne sales spreadsheet
TimeAbout 3 hours
OutputOne published dashboard
Before step one

What this Power BI tutorial assumes

Nothing but a Windows machine and a spreadsheet. No prior DAX, no SQL, no paid licence for the tutorial itself.

A Windows 10 or 11 machine

64-bit, 8 GB of memory recommended. Power BI Desktop does not run on macOS or Linux natively.

One table of data

A sales export with a date, a few text dimensions and at least one amount column. Any CSV or Excel file with that shape works.

A Microsoft account

Only needed at step 7 to publish. Steps 1 to 6 work offline with no sign-in.

Step 1 of 7

Install Power BI Desktop

Ten minutes, one installer. Use the official 64-bit build and run it as administrator; a standard user account cannot write to Program Files and the installer exits without an error message.

Do this

  • Download the 64-bit installer from Microsoft (about 400 to 500 MB).
  • Right click the file, Properties, Digital Signatures: the signer must be Microsoft.
  • Run as administrator, keep the default path, launch once after setup.
  • Turn off Auto date/time under File, Options, Data Load. It creates a hidden date table per date column and quietly bloats the model.

What you should see

Power BI Desktop opens with an empty canvas and the three views on the left: Report, Table, Model.

If it goes wrong

Installer does nothing, error 0x80070643 or a blank window? The full walkthrough is in the Power BI Desktop download and install guide.

Step 2 of 7

Connect to the source data

This tutorial uses one sales spreadsheet: order date, region, product, customer, quantity and amount. The habit that matters here is Transform Data, not Load: you want to see the table before it enters the model.

Do this

  • Home, Get data, Text/CSV, then pick the file.
  • In the preview, check the delimiter and the file origin encoding (65001: UTF-8 for most exports).
  • Click Transform Data, not Load.
  • Rename the query to Sales and confirm the row count is what you expect.

What you should see

The Power Query Editor opens with your table, and the Applied Steps pane on the right shows a Source step.

If it goes wrong

Garbled headings mean the wrong encoding. Numbers in a column typed as text show a warning icon in the column header.

Step 3 of 7

Clean the data in Power Query

Cleaning is where most beginner reports break later. Fix column types now, remove what the report will never use, and filter out cancelled orders so the totals mean something.

Do this

  • Remove columns the report does not need (internal IDs, notes, free text).
  • Set types explicitly: dates as Date, amounts as Decimal Number, quantities as Whole Number.
  • Filter out cancelled and test orders; keep the reason in a staging query if you need the audit trail.
  • Trim and clean text columns (Transform, Format, Trim / Clean).
  • Close and apply, then check that the row count matches your filtered expectation.

What you should see

A single clean table in the model, with no error cells in the column headers.

If it goes wrong

If totals come out as zero or blank, a decimal column is almost always typed as text. Fix the type in Power Query, not with a DAX conversion.

Step 4 of 7

Model it as a star schema

One wide table works until you add a second fact table or a slicer that refuses to filter. Split the dimensions out now: four tables and four relationships, and every later step gets easier.

Do this

  • Duplicate the Sales query three times; keep one column plus the key in each copy: Product, Customer, Region.
  • Remove duplicates in each dimension query and add an index column as the key.
  • Merge the keys back into Sales so the fact table holds IDs, not names.
  • Build a date table: New table, Date = CALENDAR(DATE(2023,1,1), DATE(2026,12,31)), add Year, Month number and Month name, sort month name by month number.
  • Mark the date table as a date table, then create one-to-many, single-direction relationships from each dimension to Sales.
  • Hide the key columns so report authors do not drag IDs onto a visual.

What you should see

The Model view shows Sales in the middle with dimensions around it, and a slicer on Region filters the amount column.

If it goes wrong

A relationship drawn to the wrong column direction shows a warning and filters nothing. Delete it and rebuild from the dimension side.

Step 5 of 7

Write the first DAX measures

Four measures cover most business reporting: a total, a count, an average and a comparison to last year. Put them in a dedicated measures table so the field list stays readable.

Do this

  • Create a table with one column (Measures = { "placeholder" }), name it _Measures, hide the column.
  • Total Sales = SUM(Sales[Amount])
  • Orders = COUNTROWS(Sales)
  • Average Order Value = DIVIDE([Total Sales], [Orders])
  • Sales LY = CALCULATE([Total Sales], SAMEPERIODLASTYEAR('Date'[Date])) and YoY % = DIVIDE([Total Sales] - [Sales LY], [Sales LY])

What you should see

Drop the measures into a matrix by month: values change when you move the year slicer, and YoY shows blanks for the first year.

If it goes wrong

SAMEPERIODLASTYEAR returns blanks when the relationship to the date table is missing or the table is not marked as a date table.

Step 6 of 7

Lay out the report page

A page people can read in ten seconds: four KPI cards across the top, a trend line under them, a breakdown and a detail table below. Pick a 16:9 canvas and keep a single accent colour.

Do this

  • Page settings: 16:9, canvas background one shade off white, 24 px margins.
  • Four cards: Total Sales, Orders, Average Order Value, YoY %. Format with thousands separators, not K or M suffixes.
  • Line chart: month on the axis, Total Sales and Sales LY as values.
  • Bar chart: region on the axis, Total Sales as the value; bar labels outside the end.
  • Matrix: product category by month with Total Sales. Slicers for year and region, dropdown style, top right.
  • Name every visual in the selection pane so the tab order and screen readers make sense.

What you should see

One page, no scrollbars, and every visual responds to both slicers.

If it goes wrong

If a visual ignores the slicer, check Edit interactions and the relationship direction before rebuilding the visual.

Step 7 of 7

Publish and schedule the refresh

Publishing turns a file into something a manager can open on a phone. Do it once now, while the model is small, so you find the credential problems early.

Do this

  • Home, Publish, choose a workspace.
  • In the Power BI service, open the semantic model settings and enter the data source credentials.
  • Schedule a refresh and check the refresh history the next morning.
  • Share the report with a colleague and confirm they can open it without a Desktop install.
  • If the source is a local file, install the on-premises data gateway; the cloud cannot read your C: drive.

What you should see

A report URL you can send, with a refresh history that shows a successful run.

If it goes wrong

Refresh failures are usually credentials or a moved file path. Work through them before adding more pages.

Go deeper

The two steps people get stuck on

Steps 4 and 5 are where a report either becomes reliable or quietly produces wrong numbers. These two guides take each one further than the tutorial can.

Power Query cleaning

The six actions that turn a messy export into a model-ready table, in the order that avoids rework.

Read the Power Query guide

Star schema in Power BI

Split a flat export into fact and dimension tables, set the relationships the right way, and avoid the four mistakes that break DAX silently.

Read the star schema guide

Date table

Build one with DAX, mark it, relate it — the prerequisite for year over year and year to date.

Read the date table guide

Six DAX measures

Measure versus calculated column, filter context in one paragraph, then copy-ready code for the six measures most reports need.

Read the DAX measures guide

Publish and refresh

Step 7 goes further: four sharing routes, gateway setup, schedule limits and the refresh-failure checklist.

Read the publish and refresh guide

Choose your path

The same tutorial, from three starting points

The seven steps do not change with your industry. What changes is the data you import and the questions you ask of it.

Finance and FP&A

Import cost by department and account. Your measures are budget, actual, variance and year to date; your page is a variance table with a monthly trend. A finished model is in the finance template.

Sales and operations

Import orders by region and product. Your measures are revenue, margin, order count and year over year; your page is a KPI row plus a ranking table by rep.

Analysts moving from Excel

Bring the workbook you already maintain. Step 3 replaces the manual cleanup, step 4 replaces the VLOOKUP columns, and step 7 replaces the email attachment.

Three ways to learn

Pick the format that fits the time you have

Same tool, three entry points. They stack: most people run the tutorial once, then keep a template open for real work.

Seven-step tutorial

About 3 hours. One report from install to publish. Best when you want to see how the pieces connect before committing to a longer course.

Start at step 1

Report templates

About an hour. Star schema, date table and measures already built. Best when you already have data and a deadline.

Browse templates

Download and install guide

15 minutes. Official installer, what to check before running it, and the errors that stop most installs.

Open the download guide

Learning path

The order to learn Power BI in, and what each stage should produce

Five stages, about six weeks at an hour a day. Move on only when the output of the previous stage is already easy for you.

StageFocusWhat you should be able to do
1 · Week 1–2Install, connect, get comfortableImport an Excel sales table and read the field types without guessing.
2 · Week 2–3Power Query cleaningFix nulls, duplicates and wrong types, and unpivot a month-per-column table.
3 · Week 3–4Star schema and relationshipsSplit one wide sheet into fact and dimension tables and keep slicers filtering correctly.
4 · Week 4–5DAX measuresWrite revenue, order count, year over year and share of total as reusable measures.
5 · Week 5–6Layout, interaction, publishingShip one interactive page, publish it and schedule a refresh.
FAQ

Power BI tutorial questions

What is the right order to learn Power BI in?

Five stages: install and connect, Power Query cleaning, star schema modeling, DAX measures, then layout and publishing. At an hour a day that is about six weeks. This seven-step tutorial covers a slice of every stage in about three hours.

How long does this Power BI tutorial take?

About three hours end to end if you follow the seven steps in order. Steps 3 and 4, cleaning and modeling, take the longest because that is where the real work is.

Is this Power BI tutorial free?

Yes. Power BI Desktop is free to download and use. A Power BI Pro or Premium license is only needed when you publish and share reports with other people.

Do I need to know DAX before starting?

No. The tutorial writes four measures, and each one is explained in a sentence. DAX only becomes necessary when you need comparisons, ratios or running totals.

Can I follow this tutorial on a Mac?

Power BI Desktop is Windows only. On a Mac, use a Windows virtual machine, or use the Power BI service in a browser for the viewing and sharing steps.

Can I use my own Excel file instead of the sample data?

Yes. At step 2, point Get data at your own workbook. Keep the same shape: one row per transaction with a date, a few dimensions and at least one numeric amount.

What should I learn after this tutorial?

Time intelligence (year to date, moving averages), report performance (star schema, fewer columns, aggregations) and publishing patterns (workspaces, apps, row level security). Beyond this tutorial, the 12-chapter Chinese course covers these in order.

Reading Chinese?

The same project is written as a 12-chapter Chinese course, and the case gallery doubles as a template library.

Power BI tutorial(中文版)

More in Chinese: Power BI Desktop 下载, Power BI 模板与作品案例, Power BI 範本(繁體).