Bird
Raised Fist0
Power BIbi_tool~8 mins

Excel data import in Power BI - Dashboard Guide

Choose your learning style10 modes available
Dashboard Mode - Excel data import
Dashboard Goal

This dashboard answers: "How can we analyze sales data imported from Excel to understand total sales and sales by product?"

Sample Data Imported from Excel
Order IDProductQuantityUnit PriceSales Date
1001Notebook5102024-01-10
1002Pen1022024-01-11
1003Notebook3102024-01-12
1004Marker732024-01-13
1005Pen1522024-01-14
1006Marker232024-01-15
Dashboard Components
  • Total Sales (KPI Card): Shows total sales amount.
    Formula: Total Sales = SUMX('Sales', 'Sales'[Quantity] * 'Sales'[Unit Price])
    Result: 5*10 + 10*2 + 3*10 + 7*3 + 15*2 + 2*3 = 50 + 20 + 30 + 21 + 30 + 6 = 157
  • Sales by Product (Bar Chart): Displays total sales amount per product.
    Formula: Sales by Product = SUMX(FILTER('Sales', 'Sales'[Product] = EARLIER('Sales'[Product])), 'Sales'[Quantity] * 'Sales'[Unit Price])
    Results:
    • Notebook: (5+3)*10 = 80
    • Pen: (10+15)*2 = 50
    • Marker: (7+2)*3 = 27
  • Sales Data Table: Shows raw imported data for reference.
Dashboard Layout
+----------------------+-----------------------+
|      Total Sales      |    Sales by Product    |
|       (KPI Card)      |       (Bar Chart)      |
+----------------------+-----------------------+
|                  Sales Data Table               |
+-------------------------------------------------+
Interactivity

A slicer on Product allows filtering all components by selected product(s). Selecting a product updates the Total Sales KPI and the Sales by Product chart to show only data for that product. The Sales Data Table also filters to show only relevant rows.

Self Check

If you add a filter to select only Pen in the Product slicer, which components update and what is the new Total Sales value?

Answer: The Total Sales KPI updates to 50 (10*2 + 15*2). The Sales by Product chart shows only Pen with sales 50. The Sales Data Table shows only rows with Product = Pen.

Key Result
Dashboard showing total sales, sales by product, and raw sales data imported from Excel with product filtering.

Practice

(1/5)
1. What is the main purpose of importing Excel data into Power BI?
easy
A. To analyze and visualize spreadsheet data within Power BI
B. To edit Excel formulas directly in Power BI
C. To convert Excel files into Word documents
D. To send Excel data as email attachments automatically

Solution

  1. Step 1: Understand Power BI's role

    Power BI is designed to analyze and visualize data from various sources, including Excel.
  2. Step 2: Identify Excel data import purpose

    Importing Excel data allows users to bring spreadsheet data into Power BI for creating reports and dashboards.
  3. Final Answer:

    To analyze and visualize spreadsheet data within Power BI -> Option A
  4. Quick Check:

    Excel data import = Analyze and visualize [OK]
Hint: Power BI imports Excel to analyze data visually [OK]
Common Mistakes:
  • Thinking Power BI edits Excel formulas
  • Confusing Excel data import with file conversion
  • Assuming automatic email sending from import
2. Which of the following is the correct way to start importing an Excel file into Power BI?
easy
A. Drag the Excel file into the Power BI report canvas
B. Open Excel and save as CSV before importing
C. Use the 'Export' option in Power BI to import Excel
D. Click 'Get Data' and select 'Excel' from the options

Solution

  1. Step 1: Locate data import feature in Power BI

    Power BI uses the 'Get Data' button to start importing data from various sources.
  2. Step 2: Select Excel as data source

    After clicking 'Get Data', selecting 'Excel' allows you to browse and import Excel files directly.
  3. Final Answer:

    Click 'Get Data' and select 'Excel' from the options -> Option D
  4. Quick Check:

    Import Excel = Get Data > Excel [OK]
Hint: Use 'Get Data' > 'Excel' to import files [OK]
Common Mistakes:
  • Trying to drag files onto report canvas
  • Confusing export with import
  • Thinking CSV conversion is mandatory
3. After importing an Excel file with multiple sheets, what will Power BI show in the Navigator window?
medium
A. A list of all sheets and named ranges to select from
B. Only the first sheet automatically loaded
C. A preview of the entire Excel workbook as one table
D. An error message if multiple sheets exist

Solution

  1. Step 1: Understand Navigator window role

    The Navigator window shows available tables, sheets, or named ranges from the Excel file for selection.
  2. Step 2: Identify what appears for multiple sheets

    Power BI lists all sheets and named ranges so users can choose which data to load.
  3. Final Answer:

    A list of all sheets and named ranges to select from -> Option A
  4. Quick Check:

    Navigator = List sheets and ranges [OK]
Hint: Navigator lists all sheets and ranges for selection [OK]
Common Mistakes:
  • Assuming only first sheet loads automatically
  • Expecting combined preview of all sheets
  • Thinking multiple sheets cause errors
4. You imported an Excel file but see incorrect data types in Power BI. What is the best way to fix this?
medium
A. Edit the Excel file and re-import without changes
B. Ignore data types; Power BI will fix them automatically
C. Use Power Query Editor to change data types before loading
D. Delete the import and start a new Power BI report

Solution

  1. Step 1: Identify issue with data types

    Incorrect data types can cause wrong analysis or errors in reports.
  2. Step 2: Use Power Query Editor for correction

    Power Query Editor allows changing column data types before loading data into Power BI.
  3. Final Answer:

    Use Power Query Editor to change data types before loading -> Option C
  4. Quick Check:

    Fix data types = Power Query Editor [OK]
Hint: Fix data types in Power Query Editor before loading [OK]
Common Mistakes:
  • Assuming Power BI auto-fixes all data types
  • Re-importing without correcting data types
  • Deleting report instead of fixing data
5. You want your Power BI report to update automatically when the Excel file changes. What should you do?
hard
A. Manually re-import the Excel file every time it changes
B. Set up scheduled refresh in Power BI Service connected to the Excel file
C. Save the Excel file as PDF and import the PDF instead
D. Use Excel macros to push data to Power BI

Solution

  1. Step 1: Understand refresh options in Power BI

    Power BI Service can refresh datasets on a schedule to keep reports updated.
  2. Step 2: Connect scheduled refresh to Excel file

    Scheduling refresh ensures Power BI pulls latest data from the Excel file automatically.
  3. Final Answer:

    Set up scheduled refresh in Power BI Service connected to the Excel file -> Option B
  4. Quick Check:

    Auto-update = Scheduled refresh [OK]
Hint: Use scheduled refresh in Power BI Service for updates [OK]
Common Mistakes:
  • Thinking manual re-import is only way
  • Importing PDF instead of Excel
  • Using Excel macros which don't update Power BI automatically
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard