Courses Learn Blog Contact
Get Started →
Lesson 2

Day 1: The Power BI Desktop Interface and Getting Data

The three views, the panes, and connecting to Webbo Oil's files with Get Data and the Navigator.

Webbo3 Power BI Cohort 1 13 min read Free

Webbo3 Power BI · Cohort 1 · Day 1 of 16

Day 1: The Power BI Desktop Interface and Getting Data

Finding your way round the program, and getting Webbo Oil's workbook into it the right way.

By the end of today you can

  • Name the three views and the three panes, and say what each is for
  • Connect to an Excel workbook with Get Data
  • Use the Navigator to pick the sheets you need, and leave out the one you do not
  • Choose between Load and Transform Data, and say why it matters
  • Build a first visual and save the report as a .pbix file

Today nothing gets cleaned and nothing gets calculated. Today you learn where everything is, and you get Alhaji Musa Bello's data through the door.

That sounds small. It is not: the choice you make at the door (Load or Transform Data) decides whether you spend next week fixing reports or building them.

1. The Power BI Desktop Interface

Definition

Power BI Desktop is one window with three views down the left edge and three panes down the right. The views change what the middle of the screen shows; the panes are where you pick fields, choose visuals and set filters.

Real-Life Example

A car dashboard. You do not need to understand the engine to drive, but you must know where the speedometer, the fuel gauge and the indicators are before you pull out. Ten minutes of finding things now saves hours of hunting later.

Types: The Three Views

ViewIcon on the leftWhat it showsYou use it for
ReportA bar chartThe canvas: pages of visualsBuilding what the reader sees
TableA gridThe loaded data, table by tableChecking what actually loaded
ModelThree linked boxesEvery table as a card, with lines between themRelationships (Week 2)

There is a fourth place that is not a view: the Power Query Editor. It opens in its own window when you click Transform Data, and it is where cleaning happens (Day 2).

Types: The Three Panes on the Right

PaneWhat is in it
Data (older versions call it Fields)Every loaded table, and every column inside it. You drag from here onto the canvas
VisualizationsThe visual types (card, bar, line, table, slicer...), and under them the wells: Axis, Values, Legend
FiltersFilters on this visual, on this page, or on all pages

Types: The Ribbon Tabs Across the Top

TabThe buttons you will use most
HomeGet Data, Transform Data, Refresh, Publish
InsertNew page, text box, shapes, buttons
ModelingNew measure, New column, Manage relationships
ViewThemes, gridlines, Selection pane

Find your way round

1.Report view icon › Table view icon › Model view icon
2.View › Tick "Show panes": Data, Visualizations, Filters
Try This

Open a blank report. Click each of the three view icons and say out loud what the middle of the screen changed to. If a pane is missing on the right, bring it back from the View tab.

Picture This

Picture the car dashboard: three dials on the left that change the view, three switches on the right that change what is on it.

2. Get Data

Definition

Get Data is the door every piece of data comes through. You tell it what kind of source you have (an Excel workbook, a CSV file, a database, a web page), point it at the source, and it shows you a preview before anything is brought in.

Real-Life Example

A travel adaptor. Your laptop charger is the same whether you are in Lagos or London; the adaptor is what changes to fit the socket. Each Get Data connector is an adaptor for one kind of source.

Types: The Connectors You Will Meet

ConnectorUse it forIn this course
Excel workbookAn .xlsx file: pick sheets or tables in the NavigatorWebbo Oil: PowerBI_WebboOil_Stations.xlsx
Text/CSVOne .csv or .txt filePayLink Nigeria's files (the Solo Project)
FolderEvery file in a folder, combined into one tableOptional
SQL Server, MySQLA company databaseLevel 4
WebA table on a public web pageOptional

Connecting to the Webbo Oil Workbook

Head Office sends everything in one Excel file, PowerBI_WebboOil_Stations.xlsx. Download it from the Start Here lesson if you have not already, and keep it in a folder you will not move.

Click path

1.Home › Get Data › Excel workbook › Choose PowerBI_WebboOil_Stations.xlsx › Open
Picture This

Picture the travel adaptor: plug in, check the light comes on (the preview), and only then charge anything.

3. The Navigator

Definition

The Navigator is the window that appears when a source holds more than one table, such as an Excel workbook with several sheets. It lists them with tick boxes, previews whichever one you click, and brings in only the ones you tick.

Real-Life Example

A shop shelf. You walk along, look at what is on each shelf, and put only what you need into the basket. Taking the whole shelf "just in case" makes the basket heavy and the till slow.

The 7 Sheets in the Workbook

SheetWhat it holdsTick it?
CoverA title page for people: company details and a list of sheetsNo: it is not a table
Sales_2023Every sale in 2023, typed by seven station managersYes
Sales_2024Every sale in 2024, just as messyYes
Station_MasterOne row per station: city and regionYes
Product_MasterOne row per product, and whether it is Fuel or LubricantYes
Attendant_DirectoryOne row per attendant, with their stationYes
Station_TargetsOne revenue target per stationYes
What we are doingWe want to see the Navigator for the Webbo Oil workbook: every data sheet ticked, the Cover sheet left out, and Station_Master previewed underneath because it is the one clicked.
NavigatorButtons: Load · Transform Data · Cancel
PowerBI_WebboOil_Stations.xlsx [7]
▦Cover
✓▦Sales_2023
✓▦Sales_2024
✓▦Station_Master
✓▦Product_Master
✓▦Attendant_Directory
✓▦Station_Targets
ABCStationIDABCStationNameABCCityABCRegionDATEDateOpened
1STN01Ikeja Filling StationLagosSouth West01/03/2015
2STN02Lekki Filling StationLagosSouth West15/06/2017
3STN03Wuse Filling StationAbujaNorth Central20/01/2016
4STN04GRA Filling StationPort HarcourtSouth South10/09/2014
5STN05Bodija Filling StationIbadanSouth West05/04/2018
6STN06Sabon Gari Filling StationKanoNorth West12/11/2013
7STN07Independence Layout Filling StationEnuguSouth East28/02/2019
5 COLUMNS, 7 ROWS

Why Leave the Cover Sheet Out

Click Cover in the Navigator and look at the preview: 16 rows of titles, labels and notes, with most cells empty. It was written for a person to read, not for Power BI to count. A sheet is only worth loading when every row is one record and every column is one kind of value.

Try This

Click each sheet name in the Navigator without ticking it and watch the preview change. Then tick the six data sheets (not Cover) and press Transform Data. Count the queries on the left of the Power Query Editor: there should be six, one per sheet.

Picture This

Picture the shop shelf: look along it, pick what you need, leave the leaflet by the till.

4. Load or Transform Data?

Definition

Both buttons appear under the Navigator. Load brings the data straight into the report exactly as it is. Transform Data opens the Power Query Editor first, so you can clean it before it arrives.

Real-Life Example

Load is carrying the market bag straight to the table and serving. Transform Data is washing and cutting at the sink first. For bottled water, straight to the table is fine. For vegetables, never.

ChooseWhen
LoadThe data is already tidy: one row per record, clear column names, no typing mess
Transform DataAnything you have not checked, and anything typed in by people. That is both sales sheets, every time

Why the Sales Sheets Must Never Be Loaded Straight In

Click path

1.Power Query Editor › Queries pane › Sales_2023
What we are looking atWe want to look at Sales_2023 exactly as the Navigator hands it over, before anything is cleaned, to see what Load would have carried straight into the report.
Sales_2023, as it arrives
ABC 123TransactionIDABC 123DateABC 123StationNameABC 123ProductNameABC 123AttendantNameABC 123QuantityABC 123UnitPrice_NGNABC 123TotalAmount_NGNABC 123PaymentMethod
1TXN-2023-0003832023-02-13Bodija·Filling·Station·PMS (PETROL)Amina Nwosu9.7187.41,817.78Cash·
2TXN-2023-00246813/10/2023BODIJA FILLING STATIONEngine OilSegun·Adeyemi·23,402.876,805.74CASH·
3TXN-2023-0021612023-09-10Bodija Filling Stationpms (petrol)bisi chukwu39.7612.6124,320.62POS·
4TXN-2023-0027892023-11-20gra filling stationpms (petrol)KEMI BALOGUN41638.4226,175.22CASH
5TXN-2023-00110305/05/2023Wuse Filling StationPMS (Petrol)Halima·Umeh·36.1179.686,486.45Cash·
6TXN-2023-0011422023-05-09INDEPENDENCE LAYOUT FILLING STATIONGreaseChinwe Chukwu31,202.43,607.2pos
7TXN-2023-00213907/09/2023Bodija Filling StationPMS (PETROL)segun adeyemi44.5629.9328,031.88POS
8TXN-2023-00310127/12/2023···sabon·gari·filling·station·····grease····Ifeanyi·Suleiman··31,215.033,645.09CASH
9 COLUMNS, 3,189 ROWS · first 8 shown

The StationName column alone holds 271 different spellings of seven stations. Load that, build a chart of sales by station, and the chart has a bar for "Wuse Filling Station", another for "WUSE FILLING STATION", another for " Wuse Filling Station" with a space in front, and so on. Alhaji Musa Bello asks why Wuse appears a dozen times, and the report is dead.

What we are looking atWe want to count how many 2023 rows use each spelling of just one station, Wuse, to see how bad it is before we fix it on Day 2. The dots show spaces.
Count of rows by StationName, raw, Wuse only
StationName as typedRows
Wuse·Filling·Station181
WUSE·FILLING·STATION89
wuse·filling·station63
·Wuse·Filling·Station11
···Wuse·Filling·Station10
Wuse·Filling·Station··8
··Wuse·Filling·Station7
Wuse·Filling·Station···7
···WUSE·FILLING·STATION6
··Wuse·Filling·Station···5
WUSE·FILLING·STATION··5
Wuse·Filling·Station·4
··wuse·filling·station4
·WUSE·FILLING·STATION···3
··Wuse·Filling·Station·3
···wuse·filling·station3
···Wuse·Filling·Station·3
··Wuse·Filling·Station··3
WUSE·FILLING·STATION···3
··wuse·filling·station···2
wuse·filling·station···2
·WUSE·FILLING·STATION··2
·Wuse·Filling·Station··2
·Wuse·Filling·Station·2
WUSE·FILLING·STATION·2
···wuse·filling·station·2
·WUSE·FILLING·STATION·2
·WUSE·FILLING·STATION2
·wuse·filling·station·2
···Wuse·Filling·Station···1
··wuse·filling·station·1
wuse·filling·station··1
·wuse·filling·station··1
wuse·filling·station·1
···Wuse·Filling·Station··1
·wuse·filling·station1
··WUSE·FILLING·STATION1
Total446
Power BI Adds a "Changed Type" Step by Itself

For each sheet Power BI adds its own Changed Type step, guessing each column's type from the first 200 rows. On the sales sheets that guess is wrong, because the Date column is typed three different ways. Leave it for now. On Day 2 you delete that step and set the types yourself.

5. After Loading: Table View and a First Visual

Definition

Close & Apply (top left of the Power Query Editor) loads every query into the report. The tables then appear in the Data pane, and Table view shows their rows.

Load the four small sheets now (right-click Sales_2023 and Sales_2024 in the Queries pane and untick Enable load for today, so they wait for Day 2). The quickest check that the right data arrived is the row count at the bottom of Table view:

What we are checkingWe want to check that each small sheet loaded completely, by comparing its row count in Table view with the workbook.
Table view: row counts
TableRows in Table viewColumns
Station_Master75
Product_Master54
Attendant_Directory175
Station_Targets73

Your First Visual

A visual is anything on the report canvas that shows data. The simplest is a Table visual. When you drop a text column into it and then a count, Power BI groups the rows by the text and counts each group. That grouping is the idea every visual in this course is built on.

Click path

1.Report view › Visualizations: Table › Drag Station_Master[Region] into Columns › Drag Station_Master[StationID] into Columns › StationID dropdown: Count
What this visual showsWe want our first visual: how many stations Webbo Oil has in each region.
Table visual
RegionCount of StationID
North Central1
North West1
South East1
South South1
South West3
Total7

Save and Refresh

  • Save (Ctrl+S) writes a .pbix file: the report, the model and every query in one file. Save as YourName_Webbo_Day1.pbix.
  • Refresh (Home tab) re-reads the workbook and re-runs every step. When Head Office sends next month's workbook, you refresh; you do not rebuild.
Try This

Build the Region table visual. Then change Count of StationID to Count of StationName. The numbers stay the same. Why? (Because both count the same 7 rows.)

Picture This

Picture the market bag: the bottled water went straight to the table; the vegetables are still waiting at the sink for Day 2.

Do This Now

  1. Open Power BI Desktop and find all three views and all three panes.
  2. Connect to PowerBI_WebboOil_Stations.xlsx with Get Data, Excel workbook.
  3. In the Navigator, click every sheet, then tick the six data sheets and leave Cover out.
  4. Choose Transform Data, open Sales_2023 and scroll the StationName column.
  5. Untick Enable load on the two sales queries, load the four small sheets, build the Region table visual, and save the .pbix.

Checkpoint

Q1. Which view do you use to check that data loaded correctly?

Table view. It shows the loaded rows of each table and the row count at the bottom.

Q2. When does the Navigator appear?

When the source holds more than one table, such as an Excel workbook with several sheets.

Q3. Why is the Cover sheet left unticked?

It is a title page for people, not a table: its rows are labels and notes, not records.

Q4. Why Transform Data rather than Load for the sales sheets?

Because they are messy: StationName alone has 271 spellings of seven stations in 2023. Loading them straight in would put that mess into every chart.

Tick Before You Move On

  • ☐ I can name the three views and the three panes
  • ☐ I connected to the Webbo Oil workbook with Get Data
  • ☐ I ticked the six data sheets and left Cover out
  • ☐ I opened Sales_2023 in the Power Query Editor and saw the mess
  • ☐ I built the Region table visual and saved my .pbix

Quick Recap

Report, Table and Model are the three views; Data, Visualizations and Filters are the panes. Get Data connects; the Navigator picks sheets when a workbook holds several. Only tables belong in the model: the Cover sheet stays out. Load is for tidy data; Transform Data is for everything people typed. Table view row counts are your first check that the right data arrived.

Final Scenario

Alhaji Musa Bello sends the workbook and asks, "Can you tell me by Friday which of my stations makes the most money?"

You do not open Excel and start adding. You connect to the workbook, look at the previews, see the station names spelled dozens of ways, and choose Transform Data. You have not answered him yet, but you have already avoided the answer that would have been wrong.

Tomorrow you fix what you saw.

Next, Day 2: the Power Query Editor, and cleaning Sales_2023: Trim, Capitalize Each Word, Replace Values, three date formats, duplicates and impossible quantities.

Learn this with a real instructor

Free lessons take you a long way on your own. The full programmes add live classes, assignments, Skill Points and a certificate — built for African students.