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
Step 1: Understand Power BI's role
Power BI is designed to analyze and visualize data from various sources, including Excel.
Step 2: Identify Excel data import purpose
Importing Excel data allows users to bring spreadsheet data into Power BI for creating reports and dashboards.
Final Answer:
To analyze and visualize spreadsheet data within Power BI -> Option A
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
Step 1: Locate data import feature in Power BI
Power BI uses the 'Get Data' button to start importing data from various sources.
Step 2: Select Excel as data source
After clicking 'Get Data', selecting 'Excel' allows you to browse and import Excel files directly.
Final Answer:
Click 'Get Data' and select 'Excel' from the options -> Option D
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
Step 1: Understand Navigator window role
The Navigator window shows available tables, sheets, or named ranges from the Excel file for selection.
Step 2: Identify what appears for multiple sheets
Power BI lists all sheets and named ranges so users can choose which data to load.
Final Answer:
A list of all sheets and named ranges to select from -> Option A
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
Step 1: Identify issue with data types
Incorrect data types can cause wrong analysis or errors in reports.
Step 2: Use Power Query Editor for correction
Power Query Editor allows changing column data types before loading data into Power BI.
Final Answer:
Use Power Query Editor to change data types before loading -> Option C
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
Step 1: Understand refresh options in Power BI
Power BI Service can refresh datasets on a schedule to keep reports updated.
Step 2: Connect scheduled refresh to Excel file
Scheduling refresh ensures Power BI pulls latest data from the Excel file automatically.
Final Answer:
Set up scheduled refresh in Power BI Service connected to the Excel file -> Option B
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 unknownstrongwhile earning +1 Grip toward your certificate.