Sub topic 1
What Power BI Desktop is
Power BI Desktop is a free Windows application for building data models and reports. You connect to data, shape it, define how tables relate, and design visuals on a canvas. The result is saved as a single .pbix file that you can keep locally or publish to the Power BI service.
Prerequisites
This chapter assumes you have the following:
- Basic comfort with Windows and installing desktop software.
- Familiarity with spreadsheets or tabular data such as Excel or CSV files.
- A Windows PC where you are allowed to install software.
You do not need to know DAX or Power Query yet. Later chapters introduce both briefly.
Desktop and the Power BI service
Power BI has two parts that people often confuse.
| Part | Where it runs | Main purpose |
|---|---|---|
| Power BI Desktop | Installed on a Windows PC | Author models and reports |
| Power BI service | In a web browser | Share, schedule refresh, and view reports |
You author in Desktop and publish to the service. Desktop is the place where you have the most control over the data model, so most serious report work starts there.
What you do in Desktop
Desktop combines three kinds of work in one application:
- Get and shape data. Connect to files, databases, and online sources. Clean the data with Power Query Editor.
- Model the data. Set column types, create relationships between tables, and add measures written in DAX (Data Analysis Expressions, the formula language of Power BI).
- Report on the data. Place charts, tables, and slicers on pages in a report.
This tutorial focuses on the three views that map to this work. Report view is where you build visuals. Table view is where you inspect loaded data. Model view is where you see tables and their relationships.
One model, three views
The views are not three separate files. They are three windows onto the same data model. A column you rename in Table view changes in the Data pane in Report view. A relationship you draw in Model view changes how visuals filter in Report view. Keeping this in mind will help you decide where to fix a problem.
A first look at a measure
A measure is a calculation that Power BI evaluates when a visual needs it. This one sums the SalesAmount column of a Sales table:
Total Sales = SUM(Sales[SalesAmount])Once defined, Total Sales appears in the Data pane and you can drop it into any visual. You will build measures properly in a later chapter.
Common misunderstandings
- Desktop is not the service. Publishing is a separate step, so edits you make locally do not appear online until you publish again.
- Desktop is Windows-only. There is no native macOS or Linux version, so those users typically use the web-based service for lighter editing.
- A report is not just visuals. The model under the report, meaning tables, types, relationships, and measures, determines whether the numbers are correct.
Exercise
You rename a column in Table view, then open Report view. Will the new name appear in the Data pane, and why?
Show answer
Yes. Table view and Report view are two views of the same data model, so a change made in one is reflected in the other.
Exercise
Name the file type Power BI Desktop saves, and the place you publish it so others can view it.
Show answer
Desktop saves a .pbix file. You publish it to the Power BI service.