Power BI turns data into reports with tables, charts and filters. This Power BI tutorial builds one sales report step by step: you load the data, clean it, connect the tables, write measures and make a useful page. You do not need coding experience.
You need Power BI Desktop, which runs on Windows. Microsoft's documentation describes it as a free download. It recommends 64-bit hardware and at least 4 GB of memory, with a supported Windows version. Check the official download page before you install, since requirements change.
Power BI tutorial: know the main parts
| Part | What you do there |
|---|---|
| Power Query | Clean and change data before loading |
| Model view | Connect tables |
| Table view | Check loaded rows and columns |
| Report view | Make charts and filters |
| DAX | Write calculations such as total sales |
| Power BI service | Publish and view reports online |
Power BI Desktop is the app on your computer. The Power BI service is the website. Some sharing features need a paid licence, so a beginner should first learn to build and save a .pbix file locally.
The whole process is simple to remember: get data, clean, model, calculate, visualise, check, share. Do not start by drawing charts. A good chart cannot fix wrong data.
Step 1: Make practice data
Create two CSV files in a text editor. Save the first one as sales.csv:
OrderID,OrderDate,ProductID,City,Qty,UnitPrice,UnitCost
1,2026-01-10,P1,Hyderabad,2,500,350
2,2026-01-18,P2,Warangal,1,1200,900
3,2026-02-05,P1,Hyderabad,3,500,350
4,2026-02-20,P3,Vijayawada,4,200,120
5,2026-03-08,P2,Hyderabad,2,1200,900
6,2026-03-25,P3,Warangal,5,200,120
Save the second one as products.csv:
ProductID,Product,Category
P1,Keyboard,Accessories
P2,Monitor,Displays
P3,Mouse,Accessories
Work out the answers by hand before using Power BI. Total sales are 1,000 + 1,200 + 1,500 + 800 + 2,400 + 1,000 = 7,900. Total cost is 700 + 900 + 1,050 + 480 + 1,800 + 600 = 5,530. Profit is 2,370. You will use these numbers to check the report.
Step 2: Load and clean data in Power Query
Open Power BI Desktop. Choose Home > Get data > Text/CSV, select sales.csv and choose Transform Data. Repeat this for products.csv.
Check these points in Power Query:
- The first row is used as column names.
- OrderDate has the Date type.
- Qty is a whole number.
- UnitPrice and UnitCost are decimal or fixed decimal numbers.
- ProductID is text in both queries.
- No ProductID is repeated in the products query.
- The column profile shows no errors or unexpected blanks.
Power Query records each change under Applied Steps. If a step is wrong, remove it there. The original CSV file does not change.
Choose Close & Apply when both queries look right.
Common mistake: A date may look right but have Text as its type. Set the type before loading. Also check whether a date such as 02/03/2026 means 2 March or February 3.
Step 3: Make a date table and data model
Go to Modeling > New table and enter:
Dates =
ADDCOLUMNS (
CALENDAR ( DATE ( 2026, 1, 1 ), DATE ( 2026, 12, 31 ) ),
"Year", YEAR ( [Date] ),
"MonthNo", MONTH ( [Date] ),
"Month", FORMAT ( [Date], "MMM" )
)
This table has one row for each day. Select it, mark it as a date table and choose its Date column. Select the Month column and set Sort by column to MonthNo. Without that step, months sort by spelling instead of date.
Open Model view and make two relationships:
| From: one | To: many | Meaning |
|---|---|---|
products[ProductID] |
sales[ProductID] |
One product can have many sales |
Dates[Date] |
sales[OrderDate] |
One date can have many sales |
Use a single filter direction from the one side to the many side. This is a star schema: the sales table sits in the middle, with descriptive tables around it.
- A fact table records events, such as sales.
- A dimension table describes things, such as products and dates.
Interview note: Say that Power BI uses the model to pass filters between tables. A many-to-many link or filters in both directions can be useful, but they can also make totals hard to explain.
Step 4: Write your first DAX measures
A measure calculates a result for the current filter. Right-click the sales table, choose New measure, and enter each formula as a separate measure:
Total Sales =
SUMX ( sales, sales[Qty] * sales[UnitPrice] )
Total Cost =
SUMX ( sales, sales[Qty] * sales[UnitCost] )
Profit = [Total Sales] - [Total Cost]
Profit Margin = DIVIDE ( [Profit], [Total Sales] )
Sales YTD = TOTALYTD ( [Total Sales], Dates[Date] )
Format Profit Margin as a percentage. SUMX calculates each sales row, then adds the results. DIVIDE safely handles a zero total. TOTALYTD adds sales from the start of the year to the latest date in the current filter.
The full-report margin should be 2,370 divided by 7,900, which is 30.0%.
| Measure | Calculated column |
|---|---|
| Works when a visual needs a result | Calculated during refresh for each row |
| Changes with filters | Stored for each row |
| Good for totals and ratios | Good for a fixed row label |
Do not add a list of row percentages to find a total margin. A measure should divide total profit by total sales.
Step 5: Build the report page
In Report view, make these visuals:
- Cards: Total Sales, Profit and Profit Margin.
- Line chart: Month on the axis and Total Sales as the value.
- Bar chart: Product and Total Sales.
- Matrix: Category and Product with Sales and Profit.
- Slicer: City, so a user can filter the page.
Check each result against the practice data:
| Filter | Sales | Profit |
|---|---|---|
| All cities | 7,900 | 2,370 |
| Hyderabad | 4,900 | 1,350 |
| Warangal | 2,200 | 700 |
| Vijayawada | 800 | 320 |
By product, Monitor has 3,600, Keyboard has 2,500 and Mouse has 1,800 in sales. These three values also add up to 7,900.
Use a clear title, readable text and one main colour. Start a bar chart axis at zero. Remove a legend if its labels already appear on the axis. Read how to choose the right chart before adding a new visual.
Pro tip: Test slicers one at a time. If a card does not change, look for a missing relationship, a wrong data type or an edited visual interaction.
Power BI tutorial for data analyst work
A data analyst does more than place charts. Write three business questions before you make a page:
- Which product brings the most sales?
- Which city has the highest profit margin?
- What changed from one month to the next?
For this data, Monitor has the highest sales. Vijayawada has the highest margin: 320 divided by 800 is 40.0%. January sales are 2,200, February sales are 2,300 and March sales are 3,400.
Do not say why March rose, because the data does not contain a reason. You can say it rose by 1,100 compared with February. Ask for marketing, stock or price data if you need the cause.
Six orders are only for practice. Real decisions need more rows and proper checks. Useful supporting skills include SQL, Excel and choosing useful business measures.
Publish, refresh and protect the report
Save the .pbix file. If your account allows it, select Home > Publish and choose a workspace. Microsoft documents that Power BI sign-up generally uses a work or school email. Check the current licence rules before you plan to share reports.
A published import-mode report does not update itself each time a CSV changes. It needs a refresh. Cloud data may refresh directly, while data on your computer or office network may need a gateway.
Before sharing, check whether the report contains phone numbers, pay or other private data. Hiding a column does not secure it. Row-level security can limit rows for users with the right access, and must be tested as those users.
Learn Power BI from scratch: your practice path
This Power BI tutorial for beginners step by step gives you a small finished report. Build on it in this order:
- Make the same report without looking at these steps.
- Add 50 more practice orders and recheck totals in Excel.
- Add a salesperson table and one relationship.
- Make a page that compares months.
- Learn
CALCULATE, filter context and time calculations. - Read data from SQL and practise refresh.
- Write a one-page note about what your report shows and cannot show.
You can learn Power BI from scratch without learning every DAX function first. If you want to learn Power BI for work, be able to explain each table, link and measure.
A Power BI tutorial for beginners should lead to a project you can defend. Try the Power BI interview questions, then compare tools in Power BI vs Tableau. To see the other skills in this role, view the data analytics course.
Frequently Asked Questions
Is Power BI free to learn?
Do I need Excel before Power BI?
Is DAX difficult for beginners?
Can I use Power BI Desktop on a Mac?
What is the difference between Power Query and DAX?
Want to Build Your Career in Data Analytics with AI?
Join CodeBegun and train with working industry engineers — Check the Data Analyst training details

