Sub topic 1
What Power BI Desktop is
Power BI Desktop is a free Windows application for building interactive reports on top of your own data. You connect to data sources, shape the data, define how tables relate, and design the report pages that people will read. This chapter explains what the application does, how it differs from the other Power BI products, and what the rest of the tutorial covers.
Prerequisites
This chapter assumes you have the following:
- Basic comfort with Windows and installing desktop software.
- Familiarity with tabular data, such as Excel workbooks or CSV files. You should know what rows, columns, and a header row are.
- A Windows PC where you are allowed to install software. You can still read this chapter without one, but later chapters have you install and run the application.
You do not need to know SQL, DAX, or any earlier Power BI tooling. DAX is the formula language Power BI uses for calculations. It appears briefly here and is covered properly later.
The short definition
Power BI Desktop is an authoring tool. You use it to produce a report file with the extension .pbix. That file holds three things:
- Connections to data sources, and the steps that clean the data.
- A data model, which is a set of tables, relationships between them, and calculations.
- One or more report pages made of visuals such as charts, tables, and slicers.
Desktop is not where most people read reports. It is where one person (the author) builds them. Readers usually open the finished report in a browser or on a phone after it has been published.
Desktop and the Power BI service
"Power BI" is a family of products. Beginners often confuse Desktop with the Power BI service, so it helps to separate them.
| Product | Where it runs | Main purpose |
|---|---|---|
| Power BI Desktop | Windows application | Build data models and reports |
| Power BI service | Web browser (app.powerbi.com) | Share, schedule refreshes, collaborate, and read reports |
| Power BI mobile apps | iOS, Android, Windows | Read published reports on a phone or tablet |
| Power BI Report Server | Your own servers | Host reports on-premises instead of in the cloud |
The usual workflow runs in one direction. You author in Desktop, then publish the report to the service, where colleagues view it. The service can also edit reports in the browser, but its modeling features are more limited than Desktop's. For serious model work, Desktop is the primary tool.
Desktop itself costs nothing. Sharing is where licensing starts. In most setups, publishing to a shared workspace and having others view the report requires a paid license, such as Power BI Pro, Premium Per User, or capacity-based licensing through Microsoft Fabric. Check your organization's current licensing before you plan a rollout, because Microsoft changes these terms from time to time.
What happens inside Desktop
Desktop combines several capabilities that used to be separate tools. Knowing them by name makes the later chapters easier to follow.
- Get data and Power Query. You connect to a source, such as an Excel file, a CSV file, a SQL database, or a web page. Power Query Editor records each cleaning step (remove a column, change a type, filter rows) so it can replay the steps on every refresh.
- The data model. Loaded tables live in an in-memory, column-oriented engine. You define relationships between tables, set column properties, and add calculations. This layer is what makes a report fast and what makes cross-table questions answerable.
- DAX. Data Analysis Expressions is the formula language for measures and calculated columns. A measure computes a value on demand, in the context of whatever filters the reader has applied.
- Report authoring. You place visuals on a canvas, bind them to fields, and add filters, slicers, and formatting.
The tutorial's three main views map onto these layers. Table view shows what was loaded. Model view shows how tables connect. Report view is where you build what readers see. A fourth area, Power Query Editor, opens in its own window and handles the transformation steps.
A first look at a measure
You do not need DAX yet, but one line shows the flavor. This measure adds up a column named SalesAmount in a table named Sales:
Total Sales = SUM(Sales[SalesAmount])Once defined, Total Sales appears in the Data pane and can go into any visual. The same measure gives a different number in each cell of a matrix, because it recalculates under that cell's filters. That behavior is the main reason to build a model instead of pasting pre-summed numbers into a chart.
How Desktop stores data
Every table you add has a storage mode. Two matter most for now:
- Import. Desktop copies the data into the
.pbixfile. Reports are fast and work offline, but the data is only as fresh as the last refresh. - DirectQuery. Desktop stores no data and sends queries to the source each time a visual loads. Data is current, but speed depends on the source, and some features are restricted.
A model can mix both modes, which is called a composite model. Most beginner work uses Import, and this tutorial does too.
Because Import mode embeds data in the file, a .pbix can become large and may contain sensitive rows. Treat the file like the data it contains, and do not email it around casually.
Gotchas and common confusion
- Windows only. Desktop does not run natively on macOS or Linux. Mac users typically use a Windows virtual machine or a cloud desktop, or they use the browser-based editor in the service with fewer modeling features. The next chapter covers this in detail.
- Naming drift. Microsoft renamed "datasets" to "semantic models" in 2023. Older articles and some screens still use the old word. They mean the same thing.
- Monthly updates. Desktop ships a new version roughly every month. Menus and button names shift slightly between versions, so your screen may not match a screenshot exactly. The concepts stay the same.
- Desktop is not Excel. Excel cells hold values and formulas in a grid. Power BI works on whole columns and tables, and you do not edit individual cells in the model. If a value is wrong, you fix it in the source or in a Power Query step, not by overtyping.
- A report is not the model. Several reports can connect to one published semantic model. Keeping them separate is a common design choice in larger teams.
What this tutorial covers
The remaining chapters follow the order you would use on a first project:
- Check system requirements and install Desktop.
- Launch it and load a sample dataset with Get data.
- Tour Report view and build a first visual.
- Tour Table view and set data types, formats, and summarization.
- Tour Model view and edit relationships, cardinality, and cross-filter direction.
- Add a first measure, see where Power Query Editor fits, and understand how the three views edit the same model.
- Save the
.pbixfile and learn where publishing fits.
Exercise
A colleague says, "I built the report in the Power BI service, so I don't need Desktop." Give one reason a team might still use Desktop, and state which product is normally used to share finished reports with many readers.
Show answer
Desktop offers fuller data-modeling and transformation features, such as Power Query Editor, relationship editing, and DAX authoring, than the browser editor. Finished reports are normally shared through the Power BI service, which needs an appropriate license for sharing.
Exercise
A report uses Import mode. The source database changes at 9:00 a.m., and you open the .pbix file at 10:00 a.m. without refreshing. Do you see the 9:00 a.m. changes? Why or why not?
Show answer
No. Import mode copies the data into the file, so the report shows the data as of the last refresh. You would need to refresh the data in Desktop, or use scheduled refresh after publishing to the service. DirectQuery would show current data, because it queries the source when a visual loads.