Module 5.1

Power BI Introduction

Discover Microsoft Power BI, the industry-leading business intelligence platform that transforms raw data into stunning interactive reports and dashboards. Learn the ecosystem, master the interface, and start your BI journey!

35 min read
Beginner
Hands-on Examples
What You'll Learn
  • Power BI ecosystem components
  • Desktop interface navigation
  • Data import and connection options
  • Reports vs dashboards differences
  • Building your first visualization
Contents
01

Power BI Ecosystem

Power BI is not just one tool - it's a complete ecosystem of interconnected applications and services that work together to transform your data into actionable insights. Understanding how these components fit together is essential for leveraging the full power of the platform. Think of Power BI as a three-tier system: Desktop for creation, Service for collaboration, and Mobile for consumption. Each component plays a distinct role in the analytics workflow, from data preparation to insight delivery.

Why Power BI?

Microsoft Power BI has rapidly become one of the most popular business intelligence tools in the world. It combines ease of use with enterprise-grade capabilities, allowing everyone from business analysts to executives to work with data. Unlike traditional BI tools that require IT intervention for every report, Power BI democratizes data by putting powerful analytics in the hands of business users. It connects to hundreds of data sources, handles billions of rows, and creates interactive visualizations that update in real-time.

Key Concept

Power BI

A cloud-based business analytics service from Microsoft that enables users to connect to hundreds of data sources, transform and model data, and create interactive visualizations and business intelligence reports that can be shared across the organization.

Power BI Desktop: Your Creation Studio

Power BI Desktop is your creative workspace - a free Windows application where the magic begins. This is where you connect to data sources, transform raw data into structured models, create relationships between tables, and design stunning reports with interactive visualizations. Think of it as your development environment where you build everything before publishing to the cloud.

Desktop is a complete ETL (Extract, Transform, Load) and reporting tool. The Power Query Editor lets you clean and reshape messy data with an intuitive point-and-click interface - no coding required. The data modeling layer allows you to create relationships between tables, just like in a relational database. And the report canvas gives you a drag-and-drop interface to build visualizations that automatically update as users filter and interact with the data.

What You Do in Desktop:

Connect

Import data from Excel, SQL Server, web APIs, Azure, Salesforce, and 100+ other sources into your data model.

Transform

Clean and shape data using Power Query's intuitive interface for data preparation and ETL operations.

Model

Create relationships, define hierarchies, and build star schemas for efficient data analysis.

Visualize

Drag and drop fields to create charts, tables, maps, and custom visuals with interactive features.

Calculate

Write DAX formulas for custom metrics, measures, calculated columns, and KPIs.

Publish

Save as .pbix file and publish to Power BI Service for sharing and collaboration.

Power BI Service: Your Collaboration Hub

Once you've built your report in Desktop, Power BI Service (app.powerbi.com) is where it comes to life for your organization. This cloud-based platform is the collaboration hub where you share reports, create dashboards by pinning visuals, schedule automatic data refreshes, manage security and permissions, and enable your team to explore data insights from anywhere.

The Service transforms your desktop reports into enterprise assets. You publish .pbix files from Desktop, and they become accessible to anyone you grant permissions to. Users can view reports in their browsers, filter data to their specific needs, export to PowerPoint or PDF, and even edit reports directly in the browser (with some limitations). The Service also handles data refresh schedules, ensuring your reports always show current information without manual updates.

Feature Power BI Desktop Power BI Service
Create Reports Primary tool View only
Create Dashboards Not available Pin visuals
Data Modeling Full control Limited
Share Content .pbix file only Apps, links, embed
Schedule Refresh Manual only Up to 8x/day
Collaboration Not supported Workspaces, comments
Power BI Desktop
  • Create and model data
  • Design complex reports
  • Build relationships and DAX
  • Offline development environment
Power BI Service
  • Share and collaborate
  • Create dashboards
  • Schedule data refreshes
  • Manage permissions and security

Power BI Mobile: Insights On the Go

Power BI Mobile apps for iOS, Android, and Windows bring your data insights to your pocket. These aren't just scaled-down versions - they're purpose-built mobile experiences optimized for touch interaction, offline viewing, and location-aware analytics. Executives and field workers can access critical KPIs and drill into details while on the go, receiving push notifications when important metrics change.

The mobile apps understand context. If you're viewing a sales dashboard while traveling, it can highlight stores near your current location. You can annotate visualizations with your finger or stylus, share them via email or Teams, and even use your phone's camera to scan QR codes that instantly open specific reports. For executives who need to check metrics during meetings or while traveling, the mobile apps make data accessible anywhere.

Additional Components

Beyond the core trio of Desktop, Service, and Mobile, the Power BI ecosystem includes specialized tools for specific scenarios. These components extend Power BI's capabilities for enterprise deployments, developer integrations, and organizations with specific compliance or performance requirements.

  • Power BI Gateway - Bridges on-premises data sources with the cloud Service for scheduled refreshes without exposing internal networks to the internet
  • Power BI Report Server - On-premises reporting solution for organizations requiring data to stay behind the firewall for compliance, security, or regulatory reasons
  • Power BI Embedded - Embed Power BI reports and dashboards into custom applications using REST APIs, perfect for ISVs and SaaS platforms that want to white-label analytics
  • Power BI Premium - Dedicated cloud capacity with larger data models (up to 400GB), more frequent refreshes (48 per day), paginated reports, and advanced AI capabilities

Practice Questions

Task: Visit the official Microsoft website and download Power BI Desktop. Install it on your Windows computer and verify the installation by opening the application.

Solution Steps
  1. Open your web browser and navigate to: https://powerbi.microsoft.com/en-us/downloads/
  2. Click the "Download free" button under Power BI Desktop
  3. Run the downloaded installer (.exe file)
  4. Follow the installation wizard (accept license, choose installation folder)
  5. Once installed, launch Power BI Desktop from Start Menu
  6. You should see the welcome screen with "Get data" option
  7. Verify version by clicking Help → About in the top menu
System Requirements: Windows 10 or later, .NET Framework 4.6.2+, 2 GB RAM minimum (4GB+ recommended), 2.5GB disk space

Task: Sign up for a free Power BI Service account and explore the web interface. Identify the main navigation elements.

Solution Steps
  1. Navigate to https://app.powerbi.com/
  2. Click "Sign in" or "Try for free"
  3. Enter your work/school email address (not personal email like Gmail)
  4. Complete the registration process
  5. Once logged in, explore the navigation pane:
    • Home - Recently viewed reports and dashboards
    • Create - Create new reports, dashboards, or datasets
    • Browse - Access shared content and apps
    • My workspace - Your personal content area
    • Workspaces - Shared collaboration spaces
Note: Power BI Service requires a work or school email. Personal email addresses are not supported for sign-up.

Task: Create a comparison table documenting 5 features that are available in Desktop but not in Service, and 5 features exclusive to Service.

Solution
Desktop-Only Features:
Feature Why Desktop Only
Power Query Editor Full ETL transformations and data shaping
Data Modeling Create/edit relationships and table schemas
Custom Visuals Development Build and test custom visualization code
DAX Formula Editor Full calculated columns and measures creation
Local File Publishing Save .pbix files to local drive
Service-Only Features:
Feature Why Service Only
Dashboard Creation Pin visuals from multiple reports
Scheduled Refresh Automatic data updates via cloud gateway
Content Sharing Share links, embed codes, and publish apps
Workspaces Collaboration spaces for teams
Row-Level Security Manage user access to specific data rows

Task: Download a sample .pbix file from Microsoft and explore its components in Power BI Desktop. Document the data model structure.

Solution Steps
  1. Download the Financial Sample:
    # Navigate to this URL in your browser
    https://github.com/microsoft/powerbi-desktop-samples/tree/main/Sample%20Reports
    
    # Download "Financial Sample.pbix"
  2. Open the file in Power BI Desktop (File → Open)
  3. Explore Report view - Note the various chart types used
  4. Switch to Data view (left sidebar icon) - Examine the tables and columns
  5. Switch to Model view - Document the relationships:
    • What tables are connected?
    • What is the cardinality of each relationship (1:many, many:1)?
    • What columns are used as keys?
  6. Click on a visual in Report view
  7. Check the Visualizations pane to see which fields are mapped to which properties
What to Look For: Notice how dimension tables (Product, Geography) connect to fact tables (Sales) using foreign keys. This is the star schema pattern - the foundation of good data models.
02

Interface & Navigation

Power BI Desktop's interface is designed for productivity - everything you need is organized into logical sections within arm's reach. The canvas occupies the center stage for your creative work, while panes on the sides provide access to data, visualizations, and formatting options. Mastering this layout is like learning your way around a professional kitchen - once you know where everything is, you can work with incredible speed and efficiency.

The Three Views

Power BI Desktop operates in three distinct views, each serving a specific purpose in your workflow. You switch between these views using icons on the left sidebar. Each view gives you a different perspective on your data project, and you'll frequently move between them as you build reports. Think of them as different lenses through which you examine your work.

Most beginners start in Report view because that's where the visual action happens. However, professional developers know that spending time in Data view and Model view upfront saves hours of frustration later. Data view lets you verify your transformations worked correctly, while Model view ensures your tables connect properly before you start building visuals.

View Icon Purpose What You Do Here
Report View Design visualizations Create charts, add visuals, design report pages, apply themes
Data View Inspect table contents View rows and columns, check data types, verify transformations
Model View Manage relationships Create/edit table relationships, set cardinality, view schema

Report View - The Main Canvas

Report view is your primary workspace where creativity meets data - think of it as your digital canvas for building interactive dashboards. The large white area in the center is where you'll arrange visualizations to tell your data story, much like arranging slides in a PowerPoint presentation. You can add multiple report pages using the tabs at the bottom, and each page can contain dozens of visuals working together to answer specific business questions.

The beauty of Report view is its flexibility. You're not locked into rigid templates or predefined layouts. Want to create a sales overview page? Add a big revenue card at the top, a trend line below it, and regional bars on the side. Need a customer analysis page? Build it on the next tab. The ribbon at the top provides quick access to everything you need - inserting text boxes for context, adding shapes to group related visuals, placing images for branding, and creating buttons for navigation between pages.

Canvas

The main white work area where you drop and arrange visualizations. Think of it as your report's stage where each chart is an actor telling part of your data story. You can resize, move, and layer visuals freely.

Page Tabs

Located at the bottom of the screen, these work exactly like tabs in Excel or slides in PowerPoint. Add multiple pages to organize different aspects of your analysis (Overview, Sales, Marketing, Operations, etc.).

Ribbon

The top menu bar with Home, Insert, Modeling, View, Help, and External Tools tabs. Each tab groups related functions - Home for data operations, Insert for adding elements like text and images, View for display options.

Panes

Right side panels that can be collapsed or expanded. These are your toolboxes containing Fields (your data), Visualizations (chart types), and Filters (data restrictions). Collapse them when designing to maximize canvas space.

Pro Tip: Use keyboard shortcuts to navigate faster: Ctrl + A to select all visuals, Ctrl + C to copy, Ctrl + V to paste, and Ctrl + D to duplicate. Arrow keys move selected visuals pixel by pixel, and holding Shift while dragging maintains aspect ratio.

The Right-Side Panes

Three essential panes live on the right side of Report view. These panes are your control center for creating and customizing visualizations. Understanding what each pane does eliminates the "where do I find that option?" frustration that plagues beginners. You can collapse them for more canvas space or pin them open when actively working.

The Filters pane controls what data shows in your visuals. The Visualizations pane lets you choose chart types and customize their appearance. The Fields pane gives you access to all your tables and columns to drag onto the canvas. These three panes work together seamlessly - you'll drag fields from Fields pane, configure the visual in Visualizations pane, and refine the data with Filters pane.

Filters Pane

Control data visibility at three hierarchical levels:

  • Visual-level - Affects one chart only
  • Page-level - Applies to entire page
  • Report-level - Spans all pages

Visualizations Pane

Your visual toolkit with three tabs:

  • Build - Field wells and data mapping
  • Format - Styling and appearance
  • Analytics - Trend lines and forecasts

Fields Pane

Browse your data model with icons:

  • Σ - Numeric fields (aggregatable)
  • ABC - Text fields (categories)
  • - Date fields (time-based)
  • - Geographic data (maps)

1. Filters Pane

Data Control

Filter Hierarchy

The Filters pane operates on a three-tier hierarchy, allowing you to control data visibility at different scopes. Each level provides progressively broader control over what data appears in your report.

Visual-Level

Affects only one specific chart on the page.

Example: Show top 10 products in a sales bar chart

Page-Level

Applies to all visuals on the current page.

Example: Filter entire page to show only 2024 data

Report-Level

Spans across all pages in the report.

Example: Security filter for user's department

2. Visualizations Pane

This pane is your visual toolkit, containing all available chart types as clickable icons arranged in a grid. When you select a visual on the canvas, this pane transforms into a multi-purpose control center with three tabs. The Build tab shows field wells where you drag-and-drop your data columns to construct the chart. The Format tab reveals styling options to customize colors, fonts, and appearance. The Analytics tab (available for certain chart types) lets you add statistical elements like trend lines, forecasts, and reference lines.

Build Tab

Drag fields into wells (Axis, Values, Legend) to construct your visualization. Each chart type has specific wells matching its structure.

Format Tab

Customize colors, fonts, borders, titles, data labels, legends, and axis properties to match your brand and enhance readability.

Analytics Tab

Add statistical elements like trend lines, forecasts, constant lines, min/max markers, and percentile lines for deeper insights.

The visual types are organized logically by purpose. At the top you'll find basic charts everyone recognizes - bars, columns, lines, and pies. Below those are more specialized visuals like maps for geographic data, matrices for pivot-table-style analysis, and gauges for KPI tracking. As you gain experience, you'll discover which visual type best communicates different kinds of insights. Bar charts for comparisons, line charts for trends over time, pie charts for proportions (though use sparingly), and cards for highlighting single important numbers.

Visual Category Examples Best For
Bar/Column Charts Clustered bar, Stacked column Comparing categories, showing rankings
Line/Area Charts Line chart, Area chart Trends over time, continuous data
Pie/Donut Pie chart, Donut chart Part-to-whole relationships (use sparingly)
Maps Map, Filled map, ArcGIS Geographic distributions, location analysis
Tables & Matrix Table, Matrix Detailed data display, pivot table style
Cards & KPIs Card, Multi-row card, KPI Single values, metrics, goal tracking

3. Fields Pane

The Fields pane is your window into your data model, showing all the tables and columns you've imported or connected to. Tables appear with folder icons that you can expand to reveal their columns, just like browsing folders in Windows Explorer. This hierarchical view helps you understand your data structure at a glance - which tables contain what information.

Data Type Indicators

Understanding Field Icons

Each field displays an icon indicating its data type. These visual cues help you quickly identify which fields are suitable for different visualization purposes.

Σ Numeric Fields

Can be aggregated with SUM, AVG, COUNT, MIN, MAX

Example: Sales Amount, Quantity, Revenue

ABC Text Fields

Used for categories, labels, and grouping

Example: Product Name, Customer, Region

Date Fields

Enable time-based analysis and trends

Example: Order Date, Ship Date, Created On

Geographic Fields

Can be plotted on maps for spatial analysis

Example: City, Country, State, Postal Code

Workflow Tip: Master the pane workflow - drag a field from Fields pane to the canvas to auto-create a visual, then refine it in Visualizations pane with formatting options, and finally restrict data using Filters pane. This three-step process becomes second nature with practice.

Customization Options

Power BI is highly customizable. You can change the canvas size to match your target display, apply themes for consistent colors across all visuals, enable gridlines and snap-to-grid for precise alignment, and show rulers for exact positioning. The View tab in the ribbon controls most of these display settings.

Practice Questions

Task: Open Power BI Desktop and practice switching between the three views. Identify the keyboard shortcuts for each view.

Solution Steps
  1. Launch Power BI Desktop
  2. Look at the left sidebar - you'll see three icons vertically stacked
  3. Click each icon and observe the interface change:
View Navigation:
View Keyboard Shortcut What You See
Report View Ctrl + Alt + 1 Canvas with visualizations and design space
Data View Ctrl + Alt + 2 Spreadsheet-style table view of your data
Model View Ctrl + Alt + 3 Diagram showing tables and their relationships
Practice Tip: Use the keyboard shortcuts repeatedly until they become muscle memory. This will dramatically speed up your workflow.

Task: Document the main functions available under each ribbon tab in Power BI Desktop.

Solution
Ribbon Tab Reference:
Home Tab:
  • Get data - Connect to data sources (Excel, SQL, Web, etc.)
  • Recent sources - Quick access to previously used connections
  • Transform data - Open Power Query Editor
  • Publish - Upload to Power BI Service
  • Refresh - Reload data from sources
  • New visual - Add visualization types
  • Clipboard - Cut, copy, paste
Insert Tab:
  • Visuals - Insert new chart types
  • Text box - Add annotations and titles
  • Buttons - Create navigation and actions
  • Shapes - Add rectangles, arrows, icons
  • Images - Insert logos and pictures
  • Q&A - Natural language question box
Modeling Tab:
  • New measure - Create DAX calculations
  • New column - Add calculated columns
  • New table - Create tables from DAX
  • Manage relationships - Create/edit table connections
  • Mark as date table - Set time intelligence
  • Security roles - Define row-level security
View Tab:
  • Themes - Apply color schemes
  • Page view - Fit to page, actual size, width
  • Gridlines - Show/hide alignment grid
  • Snap to grid - Auto-align objects
  • Lock objects - Prevent accidental moves
  • Performance analyzer - Measure query times

Task: Create 3 new report pages with meaningful names, apply different page backgrounds to each, and practice navigating between them.

Solution Steps
  1. In Power BI Desktop, look at the bottom of the Report view canvas
  2. You'll see "Page 1" as a tab
  3. Click the + icon next to "Page 1" to add new pages
  4. Create 3 pages total
  5. To rename pages:
    • Right-click on "Page 1" tab
    • Select "Rename page"
    • Type: "Executive Summary"
    • Press Enter
  6. Rename other pages to "Sales Details" and "Regional Analysis"
  7. To set page background:
    • Click on "Executive Summary" page
    • Click on blank canvas area (not on any visual)
    • In Format pane (paint roller icon), find "Canvas background"
    • Expand it and set Color to light gray or your choice
    • Set Transparency to 20%
  8. Repeat for other pages with different colors
  9. Practice navigation:
    • Click tabs at bottom to switch pages
    • Use Ctrl + PgUp and Ctrl + PgDn to navigate
    • Use Ctrl + Tab to cycle forward through pages
Page Organization Tip: Follow a logical flow - start with high-level summary pages, then drill into details. Many report designers use: Overview → Trends → Details → Insights pattern.

Task: Configure optimal canvas settings for a 1920x1080 presentation display with gridlines, snap-to-grid enabled, and a custom color theme applied.

Solution Steps
Step 1: Set Page Size for 1920x1080 Display
  1. Click on blank canvas area (deselect any visual)
  2. In Visualizations pane, click Format (paint roller icon)
  3. Scroll to find "Canvas settings" section
  4. Under "Page information", set:
    • Type: Custom
    • Width: 1920 px
    • Height: 1080 px
Step 2: Enable Gridlines and Snap-to-Grid
  1. Go to View tab in ribbon
  2. In "Show panes" section:
    • Check Gridlines - You'll see a grid overlay on canvas
    • Check Snap to grid - Objects will align to grid points
  3. Optionally enable:
    • Lock objects - Prevents accidental movement
    • Selection pane - Shows/hides visuals like layers
Step 3: Apply Custom Theme
  1. Go to View tab → Themes
  2. Choose a built-in theme like "Executive" or "Innovate"
  3. Or create custom theme:
    • Click "Browse for themes"
    • Create a JSON file with color definitions
    • Example theme structure:
{
  "name": "Corporate Blue",
  "dataColors": [
    "#003f5c",
    "#2f4b7c",
    "#665191",
    "#a05195",
    "#d45087"
  ],
  "background": "#FFFFFF",
  "foreground": "#333333",
  "tableAccent": "#003f5c"
}
Step 4: Verify Settings
  • Canvas should show as 16:9 ratio matching 1920x1080
  • Grid dots should be visible on canvas
  • When you drag visuals, they should snap to grid intersections
  • New visuals you create should use theme colors automatically
Professional Tip: Save your custom theme JSON file and reuse it across all company reports for brand consistency. Share the theme file with your team so everyone creates reports with the same color palette.
03

Data Connections

The power of Power BI lies in its ability to connect to virtually any data source. From simple Excel spreadsheets to complex cloud data warehouses, Power BI's Get Data feature supports over 100 connectors out of the box. Understanding connection modes and data source types is crucial for building scalable, performant reports. The right connection choice impacts refresh speed, data freshness, and file size.

Connection Modes

When you connect to data in Power BI, you must choose how that data will be accessed. The three main connection modes each have different trade-offs between performance, data freshness, and flexibility. Import mode copies data into your report file for lightning-fast queries. DirectQuery keeps data at the source and queries it in real-time. Live Connection taps into existing Analysis Services models. Your choice depends on factors like data size, refresh frequency requirements, and source system capabilities.

Key Concept

Connection Mode

The method by which Power BI accesses and stores data from a source, determining whether data is copied into the model (Import), queried in real-time (DirectQuery), or accessed from an external model (Live Connection). This fundamental choice affects performance, freshness, and scalability.

Mode How It Works Data Freshness Performance File Size
Import Copies data into .pbix file Static until refreshed Fastest Large (includes all data)
DirectQuery Queries source in real-time Always current Slower Small (no data stored)
Live Connection Connects to existing model Depends on source refresh Fast Small (no data stored)
Import

Best for datasets under 1GB. Fast performance, all transformations available.

Use for: Excel, CSV, most scenarios

DirectQuery

Real-time data, no size limit. Slower performance, limited transformations.

Use for: SQL Server, real-time dashboards

Live Connection

Connect to existing models. No data import, uses server-side processing.

Use for: SSAS, Azure AS, Power BI datasets

Connection Mode Details

Import Mode

How it works: Copies data into .pbix file with compression (10-20x smaller).

Performance: Blazing-fast in-memory queries via VertiPaq engine.

Refresh: Up to 8 times per day (Pro) or 48 times (Premium).

Best for: Datasets under 1GB, when 8 daily refreshes suffice.

DirectQuery Mode

How it works: Queries source database in real-time, no data import.

Performance: Depends on source database speed and network latency.

Refresh: Always current - no refresh schedule needed.

Best for: Real-time dashboards, large datasets, data governance requirements.

Live Connection

How it works: Connects to existing SSAS, Azure AS, or Power BI datasets.

Performance: Fast server-side processing, centralized model.

Refresh: Managed by model owner, not report author.

Best for: Enterprise deployments with centralized BI teams.

Import Mode (Recommended for Most Cases)

Import is the default and most common connection mode. Power BI loads a complete copy of your data into its in-memory columnar database (VertiPaq engine), which provides blazing-fast query performance. The data is highly compressed (typically 10-20x smaller than the source), making even large datasets manageable. You can schedule up to 8 refreshes per day with Power BI Pro.

Why Choose Import: Import mode offers the best query performance and supports all Power Query transformations and DAX functions. It's ideal when your data doesn't change constantly and you can work within the size and refresh frequency limits.

DirectQuery Mode (For Real-Time Data)

DirectQuery doesn't import any data - instead, every visual interaction sends a query back to the source database in real-time. This means data is always up-to-the-second current, with no refresh schedule needed. When a user clicks a slicer or filters a chart, Power BI translates that action into SQL (or the source's query language) and executes it against your database. The results come back and populate the visual immediately.

The advantage is guaranteed data freshness - users always see current information. The disadvantage is performance dependency on your source system. Every interaction creates a new query, putting load on your database and subject to network latency. Not all data sources support DirectQuery, and some DAX functions are limited because they must translate to database-native operations. Power Query transformations are also restricted to those that can be pushed to the source.

Why Choose DirectQuery: DirectQuery is perfect when you need guaranteed real-time data or when your dataset exceeds Power BI's import limits. Ensure your source database is optimized with proper indexing to maintain good performance.

Live Connection (For Enterprise Models)

Live Connection is similar to DirectQuery but specifically designed for connecting to existing Analysis Services models (SQL Server Analysis Services, Azure Analysis Services, or Power BI Premium datasets published to the Service). Instead of building your own data model in Desktop, you connect to a centralized model that IT has already created, tested, and optimized. This promotes a "single source of truth" architecture where data modeling is centralized but report creation is distributed.

With Live Connection, you're consuming a published model as-is. You can't modify the model structure, add new tables, or create calculated columns in Desktop. However, you can create report-level DAX measures, apply filters, build unlimited visualizations, and create multiple report pages. The model owner manages refreshes and security, while report authors focus on presentation and storytelling. This separation of concerns is ideal for large organizations with established BI teams.

Why Choose Live Connection: Live Connection promotes a "single source of truth" architecture where IT controls the data model while empowering business users to create their own reports. This balance of governance and self-service is ideal for enterprise environments.

Data Source Categories

Power BI organizes its 100+ connectors into logical categories in the Get Data dialog. Understanding these categories helps you quickly find the right connector and understand what's possible. Each category represents a different type of data source with specific connection requirements and capabilities.

File Sources

  • Excel - Worksheets and tables (.xlsx, .xlsm, .xlsb)
  • CSV - Universal flat file format
  • XML - Hierarchical web services data
  • JSON - API response format
  • PDF - Extract tables (experimental)
  • Folder - Combine multiple files

Database Sources

  • SQL Server - Microsoft relational DB
  • Oracle - Enterprise database system
  • MySQL - Open-source database
  • PostgreSQL - Advanced open-source DB
  • Access - Microsoft Access files
  • Azure SQL - Cloud database with features

Cloud & Services

  • SharePoint Online - Microsoft 365 lists
  • Dynamics 365 - CRM and ERP data
  • Salesforce - CRM platform data
  • Google Analytics - Website traffic
  • Azure Blob - Cloud file storage
  • Common Data Service - Power Platform

Online Services

  • Web page - Extract HTML tables
  • OData feed - REST services protocol
  • REST API - Generic endpoint connector
  • GitHub - Repository data and issues
  • Exchange - Email and calendar data
Connector Updates: Microsoft adds new connectors monthly. Check the Get Data dialog regularly or visit the Power BI blog for announcements of new data sources.

Connection Parameters

When connecting to a data source, Power BI prompts for connection details specific to that source type. The dialog adapts based on what you're connecting to - databases need server addresses, files need file paths, cloud services need authentication. These parameters tell Power BI exactly where to find your data and how to access it securely. Getting these settings right on the first try saves troubleshooting time later.

Server & Database

Server Name: Address of the database computer (e.g., sql.company.com, localhost).

Database Name: Specific database on that server (e.g., SalesDB, AdventureWorks).

Authentication

Windows: Uses your logged-in account credentials.

Database: Requires username and password.

Azure AD: Cloud-based authentication for Azure resources.

Data Connectivity

Import: Copy data into .pbix file (default, fastest performance).

DirectQuery: Query source in real-time (always current data).

Advanced Options

SQL Statement: Custom query to filter data at source (optional).

Timeout: Connection wait time for slow networks or large queries.

Pro Tip: For databases, ask your IT team for the server name, database name, and authentication method. Having these details ready speeds up the connection process and prevents errors.

Practice Questions

Task: Download the Financial Sample Excel file and import it into Power BI Desktop using Import mode. Verify the data loaded correctly.

Solution Steps
  1. Download the sample file:
    # Navigate to this URL
    https://go.microsoft.com/fwlink/?LinkID=521962
    
    # Save as "Financial Sample.xlsx"
  2. In Power BI Desktop, click Home tab → Get data
  3. Select Excel workbook
  4. Click Connect
  5. Browse to your downloaded file and click Open
  6. In Navigator window, you'll see available worksheets and tables
  7. Check the box next to "financials" table
  8. Click Load button (not Transform Data)
  9. Wait for data to load - progress bar appears at bottom
  10. Verify in Fields pane (right side) - you should see "financials" table with columns
  11. Switch to Data view (left sidebar) to see the table contents
  12. Should see 700 rows with columns: Segment, Country, Product, Units Sold, etc.
Verification: In Data view, click on the "financials" table in Fields pane. You should see 16 columns and 700 rows of data. The Gross Sales column should contain currency values.

Task: Open the Get Data dialog and document 5 connectors from different categories that would be useful for your industry or interests.

Solution Steps
  1. Click HomeGet data
  2. In the Get Data dialog, browse through categories on the left:
    • All
    • File
    • Database
    • Power Platform
    • Azure
    • Online Services
    • Other
  3. Click each category and explore available connectors
  4. Document interesting ones
Example Documentation (Retail Industry):
Connector Category Use Case
SQL Server Database Connect to main transactional database for sales data
Excel workbook File Import budget and forecast files from finance team
SharePoint folder Online Services Combine multiple CSV exports from different stores
Google Analytics Online Services Analyze e-commerce website traffic and conversions
Folder File Automatically combine daily sales files into one dataset

Task: Create a decision matrix showing when to use Import mode versus DirectQuery mode based on different scenario requirements.

Solution
Connection Mode Decision Matrix:
Scenario Recommended Mode Reason
Sales report refreshed daily at 6 AM Import Data doesn't change during day, Import is faster
Real-time stock trading dashboard DirectQuery Prices change every second, need live data
5GB customer database on fast SQL Server DirectQuery Too large for Import, SQL can handle queries
Monthly budget analysis (100MB Excel) Import Small dataset, changes monthly, need full DAX
IoT sensor data streaming continuously DirectQuery Continuous data flow, can't cache all history
HR analytics with sensitive employee data DirectQuery Security policy requires data stays in SQL Server
Marketing campaign performance (weekly update) Import Infrequent updates, complex calculations needed
Enterprise data warehouse (SSAS model) Live Connection Existing enterprise model managed by IT
Key Decision Factors:
Choose Import When:
  • Dataset under 1GB (compressed)
  • Data changes infrequently
  • Need complex DAX calculations
  • Source system is slow or unstable
  • Offline access needed
  • Best performance required
Choose DirectQuery When:
  • Data changes constantly
  • Dataset over 1GB and won't compress
  • Real-time data is critical
  • Security requires data in source
  • Have powerful backend database
  • Low latency network
04

Reports vs Dashboards

One of the most common confusions for Power BI beginners is understanding the difference between reports and dashboards. While they sound similar and both display data visualizations, they serve different purposes and are created in different places. Reports are your detailed, multi-page analysis tools built in Desktop, while dashboards are high-level, single-page summaries created in the Service by cherry-picking key visuals.

Power BI Reports

Reports are comprehensive, interactive documents that you create in Power BI Desktop. Think of them as the full story of your data - they can have multiple pages (like slides in a presentation), each focused on different aspects of your analysis. Reports contain the actual data model, all your transformations, relationships, and calculations. They're designed for exploration and detailed investigation.

Report Characteristics:

Creation & Format

Created in: Power BI Desktop (.pbix files)

Pages: Multiple pages, like a workbook with tabs

Editing: Can be edited in Desktop or Service (with limitations)

Interactivity & Data

Interactivity: Full cross-filtering, drill-through, bookmarks, tooltips

Data Model: Contains the complete data model and relationships

Purpose & Audience

Purpose: Deep dive analysis, detailed exploration, storytelling

Audience: Analysts, managers who need to explore data

Power BI Dashboards

Dashboards are single-page, high-level views created in Power BI Service by pinning visuals from one or more reports. They're like a mission control center showing key metrics at a glance. Dashboards don't contain any data themselves - they're just a collection of tiles that link back to underlying reports. When you click a dashboard tile, it takes you to the source report for more details.

Dashboard Characteristics:

Creation & Pages

Created in: Power BI Service only (app.powerbi.com)

Pages: Always single page

Editing: Can only pin, unpin, and rearrange tiles

Interactivity & Data

Interactivity: Click tiles to jump to source reports

Data Model: No data model - pulls from published reports

Purpose & Audience

Purpose: At-a-glance monitoring, executive summary

Audience: Executives, stakeholders who need quick insights

Dashboard Pinning Workflow: Create and publish reports from Desktop → Open report in Service (web browser) → Hover over any visual → Click the pin icon → Select new or existing dashboard → Tile automatically updates when data refreshes.
Feature Reports Dashboards
Where Created Power BI Desktop Power BI Service
Number of Pages Multiple (1-50+ pages typical) Single page only
Data Sources One dataset per report Can pull from multiple reports/datasets
Interactivity Full (filters, slicers, drill-down) Limited (click to navigate to report)
Real-time Data Depends on refresh schedule Can show real-time streaming
Natural Language Q&A Available on specific visual Available on entire dashboard
Mobile Optimization Separate mobile layout can be created Automatically responsive
Alerts Not available Can set data alerts on tiles
Reports
  • Multi-page deep analysis
  • Full interactivity and filtering
  • Created in Desktop
  • Best for: Exploration and discovery
Dashboards
  • Single-page KPI monitoring
  • Pin visuals from multiple reports
  • Created in Service
  • Best for: Executive overviews

Creating Dashboards by Pinning

Creating dashboards in Power BI is an intuitive process built around "pinning" visuals from published reports. Unlike reports which are created in Desktop, dashboards exist only in the Power BI Service and serve as curated collections of your most important insights. The pinning workflow allows you to cherry-pick the best visuals from multiple reports and combine them into a single executive-friendly view that updates automatically.

Step-by-Step Dashboard Creation Process:

Step 1: Publish

In Power BI Desktop, click Home → Publish

Select your workspace destination

Wait for "Success" message with link to report

Step 2: Open in Service

Click the link or go to app.powerbi.com

Navigate to your workspace

Find and open your published report

Step 3: Pin Visuals

Hover over a visual to see pin icon

Click pin icon in top-right corner

Choose "New dashboard" or "Existing dashboard"

Step 4: Arrange

Go to your new dashboard

Click Edit → Rearrange tiles

Drag, resize, and organize tiles as needed

📌

Dashboard Tiles Explained

What Are Tiles? Tiles are the individual visuals you pin from reports. Each tile is a live snapshot that links back to its source report. When data refreshes in the underlying report, the dashboard tile automatically updates to reflect the latest data.

Tile Interactions: Clicking a tile takes you to the exact report page where that visual lives. This "drill-through" behavior lets executives spot issues on the dashboard and immediately dive into detailed reports for investigation. You can also set data alerts on number tiles to get email notifications when values cross thresholds you define.

Advanced Dashboard Features:

Cross-Report Dashboards

Pin visuals from multiple reports into one unified dashboard. Combine sales KPIs from your Sales report, customer satisfaction from your Service report, and inventory levels from your Operations report - all in one executive view that provides a holistic business perspective.

Q&A Tiles

Add natural language Q&A tiles by clicking "Add tile" → "Q&A". Users can type questions like "total sales by region" or "top 5 customers" and get instant visualizations without navigating to detailed reports. Perfect for ad-hoc exploration.

Custom Content Tiles

Embed external web content, images, or video tiles alongside your data visuals. Add company logos, embedded YouTube training videos, or links to external systems to provide richer context and create more comprehensive storytelling dashboards.

Mobile Layout

While dashboards automatically adapt to mobile screens, create custom mobile layouts by clicking "Edit" → "Mobile view". Optimize tile placement, sizing, and order specifically for phone screens to ensure executives get the best experience on-the-go.

Data Alerts

Set threshold-based alerts on card tiles showing single numbers. Alert executives when total sales drops below $1M, customer complaints exceed 50, or inventory falls below safety stock. Alerts check hourly and send email notifications automatically.

Sharing & Subscriptions

Share dashboards with colleagues or entire teams with granular permissions. Create scheduled email subscriptions that automatically send dashboard snapshots daily or weekly to stakeholders - perfect for executives who prefer email updates over logging into the Service.

Pro Tip - Dashboard Design Strategy: Start by identifying your audience's top 5-7 questions they need answered daily (e.g., "Are we hitting revenue targets?", "Any quality issues?", "Customer satisfaction trending up?"). Then pin only the visuals that directly answer those questions. Resist the temptation to pin everything - a cluttered dashboard defeats the purpose of at-a-glance monitoring.

Practice Questions

Task: Design a 4-page report structure for a retail company. Define purpose and key visuals for each page.

Solution
Page 1: Executive Summary

Purpose: High-level KPIs, Visuals: Revenue cards, trend line, top products bar, regional map

Page 2: Product Performance

Purpose: Category analysis, Visuals: Category treemap, performance matrix, top/bottom table

Page 3: Regional Analysis

Purpose: Store comparisons, Visuals: State map, store columns, growth lines

Page 4: Customer Insights

Purpose: Behavior patterns, Visuals: Segmentation donut, frequency histogram, LTV scatter

Task: Publish a report to Power BI Service and create a dashboard by pinning 3 visuals.

Solution Steps
Publishing the Report:
  1. Open your .pbix file in Power BI Desktop
  2. Click Home tab → Publish button
  3. Sign in if prompted (use your Power BI account)
  4. Select destination workspace (usually "My workspace" for beginners)
  5. Click Select button
  6. Wait for "Success! Your report was published" message
  7. Click Open [Report Name] in Power BI link to view in browser
Creating the Dashboard:
  1. In the browser (Power BI Service), view your published report
  2. Hover over first visual you want to pin (e.g., Total Sales card)
  3. Click the pin icon in top-right corner of visual
  4. In the dialog, select New dashboard
  5. Name it "Sales Executive Dashboard"
  6. Click Pin button
  7. Repeat for 2 more visuals (e.g., sales trend line, top products bar chart)
  8. When pinning subsequent visuals, choose Existing dashboard and select "Sales Executive Dashboard"
  9. Navigate to your dashboard: Click My workspaceDashboards → "Sales Executive Dashboard"
  10. Click EditRearrange tiles to organize layout
  11. Drag tiles to desired positions and resize as needed
  12. Click Exit edit mode when done
Verification: Your dashboard should show 3 tiles. Click any tile to verify it takes you back to the source report page. The tiles should update automatically whenever you refresh the underlying dataset.

Task: Create a decision guide for when to use reports versus dashboards based on different business scenarios.

Solution
Scenario Use Report or Dashboard? Reason
CEO wants to see top 5 KPIs every morning Dashboard Quick glance, no exploration needed, single page view
Analyst investigating sales drop in Q3 Report Needs filters, slicers, drill-through for deep analysis
Monthly board meeting presentation Report Multiple pages to tell complete story, interactive demo
Operations monitor for warehouse status Dashboard Real-time tiles, data alerts on issues, no interaction needed
Marketing team analyzing campaign performance Report Need to slice by channel, date, region - full interactivity required
Executive summary combining sales, ops, finance Dashboard Pull key visuals from 3 different reports into one view
Key Decision Factors:
Choose Report When:
  • Users need to explore and filter data
  • Multiple pages needed to tell complete story
  • Detailed analysis with drill-through required
  • Creating for analysts or data-savvy users
Choose Dashboard When:
  • Executives need quick KPI overview
  • Combining metrics from multiple reports
  • Monitoring specific metrics with alerts
  • Creating for non-technical stakeholders

Task: Design a comprehensive executive dashboard strategy for a retail company CEO including layout, alerts, and sharing plan.

Solution
Dashboard: CEO Retail Overview

Purpose: Give CEO instant visibility into business health across sales, operations, and customer satisfaction in under 30 seconds.

Dashboard Layout (8 Tiles):
Row 1: Key Metrics (4 Cards)
  • Total Revenue MTD - Alert if < $5M
  • Gross Margin % - Alert if < 35%
  • NPS Score - Alert if < 40
  • Inventory Turnover
Row 2: Trends (2 Line Charts)
  • Daily Sales Trend - Last 30 days
  • Customer Acquisition - Monthly trend
Row 3: Breakdown
  • Top 5 Products - Bar chart
  • Regional Sales Map
Data Alert Configuration:
Tile Alert Condition Frequency
Total Revenue MTD Below $5,000,000 Check every hour
Gross Margin % Below 35% Check every hour
NPS Score Below 40 Check daily at 8 AM
Design Principle: Keep it simple. CEOs have 30 seconds to glance at dashboards. The dashboard's job is to quickly answer "Is everything okay?" or trigger further investigation.
05

Building Your First Visualization

Creating your first visualization in Power BI is where data transforms into insight. The drag-and-drop process is remarkably intuitive - connect to data, drag fields onto the canvas, and watch Power BI automatically choose an appropriate chart type. Understanding the mechanics helps you create more effective visualizations. Let's build a basic bar chart step by step to see how field wells, formatting, and interactivity work together.

Creating Your First Chart

Power BI uses drag-and-drop to make visualization creation feel natural. You simply drag fields from the Fields pane onto the canvas or into field wells, and Power BI does the rest. The platform intelligently selects chart types based on your data types - categorical fields like Product Category trigger bar charts, date/time fields create line charts, and single aggregate values become large number cards. This smart defaulting gets you 80% of the way there instantly.

You can override the automatic selection anytime by clicking a different visual icon in the Visualizations pane. As you add more fields, Power BI adjusts the visualization accordingly. Add a date field to a bar chart and it might suggest switching to a line chart. Add a geographic field and it might offer to create a map. This guided experience makes it nearly impossible to create completely inappropriate visualizations, helping beginners avoid common charting mistakes.

Step-by-Step: Bar Chart Showing Sales by Segment

Step 1: Select Chart Type

In the Visualizations pane (right side), click the Clustered bar chart icon to add an empty chart to your canvas.

Step 2: Add Category

From the Fields pane, drag the Segment field to the Y-axis well to create categories for your bars.

Step 3: Add Measure

Drag the Sales field to the X-axis well. Power BI automatically sums the sales values for each segment.

Step 4: Format Visual

Click the Format tab (paint roller icon), then enable Title and Data labels for better readability.

Step 5: Test Interaction

Click any bar in your chart to see cross-filtering in action - other visuals on the page automatically filter to match your selection.

Step 6: Save Your Work

Press Ctrl+S to save your .pbix file. Your visualization is now part of your report and ready to publish.

Understanding Field Wells

Field wells are drop zones that control what data appears in your visuals and how it's organized. Different chart types have different wells matching their specific purpose and structure. Understanding which well does what is crucial for building the visualization you envision.

Common Field Wells by Chart Type:

Bar Charts

X-axis: Measures (Sales, Profit)

Y-axis: Categories (Products, Regions)

Legend: Split by series (Year, Segment)

Pie Charts

Legend: Categories to display (Product Categories)

Values: Measures to aggregate (Revenue, Units)

Details: Additional grouping levels

Map Visuals

Location: Geographic fields (City, Country)

Size: Bubble size measure (Sales Amount)

Legend: Color by category (Status)

Card Visuals

Fields: Single measure to display

Shows one large number (Total Revenue, Customer Count)

Perfect for KPI highlights

Field Aggregations & Behavior:

Numeric Fields

Default Aggregation: SUM (total of all values)

Other Options: Click dropdown arrow to change:

  • AVERAGE - Mean value
  • COUNT - Number of records
  • MIN/MAX - Smallest/Largest value
  • MEDIAN - Middle value
  • VARIANCE/STDEV - Statistical measures
Text Fields

In Axis/Legend Wells: Creates groups or categories

In Values Well: Counts occurrences by default

Well Hints:

  • Axis: Categories or groupings (Product Names)
  • Values: Measures or metrics (Sales Amount)
  • Legend: Series splits (Year, Segment)
Pro Tip - Field Wells Mastery: Learning to think in terms of wells accelerates your visualization skills dramatically. Ask yourself: "What do I want to group by?" (Axis), "What do I want to measure?" (Values), "How should I split the data?" (Legend). This mental framework helps you build any visual quickly and correctly.

The Format Pane

The Format pane is where visual design meets data. Once you've built a basic visualization, the Format pane lets you refine every visual aspect to match your brand, emphasize key insights, or simply make your report more readable. It's divided into Visual (settings specific to that chart type) and General (settings common to all visuals like position, size, and shadows). The options available change based on what type of visual you've selected.

Key Formatting Categories:

Colors

Customize colors to match corporate branding. Set data colors, background fills, and border colors for visual consistency across reports.

Text & Labels

Adjust fonts, sizes, and styles for titles, axis labels, and data labels. Control readability and visual hierarchy.

Data Labels

Show values directly on visuals so users don't need to interpret axis scales. Configure position, format, and precision.

Axis Properties

Fine-tune axis range, scale type (linear/logarithmic), gridlines, and tick marks for precise data presentation.

Legend

Configure legend position, visibility, and text to reduce clutter while maintaining clarity about data series.

Borders & Effects

Add borders, shadows, and backgrounds to make visuals stand out. Control visual weight and emphasis.

Titles

Customize chart titles, subtitles, and tooltips. Use dynamic titles that update based on filters or context.

Size & Position

Set exact dimensions and coordinates for pixel-perfect layouts. Lock aspect ratio or position for consistency.

Consistent Formatting Tip: Use themes (View tab → Themes) to apply consistent colors and fonts across all visuals automatically. This saves hours of manual formatting and ensures professional appearance. Small formatting choices make a huge difference in how users perceive and trust your visualizations.

Practice Questions

Task: Build a clustered column chart showing Gross Sales by Country with data labels.

Solution

Select Clustered column chart → Drag Country to X-axis → Drag Gross Sales to Y-axis → Format tab → Enable Data labels → Add title "Gross Sales by Country"

Task: Create 4 visuals - total sales card, sales trend line, units by segment donut, country slicer.

Solution

Card: Sales → Title "Total Sales" | Line: Date (X) + Sales (Y) + Product (Legend) | Donut: Segment (Legend) + Units Sold (Values) | Slicer: Country field

Key Takeaways

Three-Tier Ecosystem

Power BI Desktop for development, Service for sharing, Mobile for on-the-go access

Three Views

Report view for visuals, Data view for tables, Model view for relationships

Multiple Data Sources

Connect to Excel, SQL, web APIs, cloud services, and 100+ other sources

Reports Are Canvas

Multi-page interactive documents with detailed visuals and drill-through capabilities

Dashboards Are Summaries

Single-page views pinning key visuals from multiple reports for quick insights

Automatic Refresh

Schedule data refreshes to keep your insights current and decision-making timely

Knowledge Check

Test your understanding of Power BI fundamentals:

Question 1 of 6

Which Power BI component is used to create reports and perform data modeling?

Question 2 of 6

In Power BI Desktop, which view shows table relationships and cardinality?

Question 3 of 6

What is the main difference between Power BI reports and dashboards?

Question 4 of 6

Which data connection mode stores a snapshot of data in the Power BI file?

Question 5 of 6

What file extension does a Power BI Desktop report use?

Question 6 of 6

Which pane in Power BI Desktop contains the list of available visualization types?

Answer all questions to check your score