0% found this document useful (0 votes)
46 views3 pages

Lesson 3 - Exercise 3.2

The document provides instructions for blending data from two datasets to analyze vendor item prices by product category. It describes a business scenario where a manager wants to calculate profit margins using category data from one dataset and price data from another. It provides steps to join the datasets on the common category field, add category and price to a table, and color code it to analyze which categories have prices above $500 and whether laptops or tablets have lower prices.

Uploaded by

rimbrahim
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views3 pages

Lesson 3 - Exercise 3.2

The document provides instructions for blending data from two datasets to analyze vendor item prices by product category. It describes a business scenario where a manager wants to calculate profit margins using category data from one dataset and price data from another. It provides steps to join the datasets on the common category field, add category and price to a table, and color code it to analyze which categories have prices above $500 and whether laptops or tablets have lower prices.

Uploaded by

rimbrahim
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Lesson 3 - Exercise 3.

2: Data Blending
Business Scenario
Now, the manager wants to look at the vendor price for these products to calculate the profit
margin after the discount. The category information is stored in the Customer Analysis
dataset, and the vendor item price information is stored in the Sales Inventory Analysis
dataset. You are required to blend data from two datasets and create a visualization that
represents the vendor item price for each product category.

Analyze the view and answer the following questions:

• Which categories have vendor item prices above $500?


• Between Laptops and Tablets, which category has a lower vendor item price?

Overview

• Blend data from two data sources based on the common link.
• Add Category Name dimension from Customer Analysis data source and Item Price
measure from Sales Inventory Analysis data source.
• Analyze the Category-wise Item Price.
• Color the view by Dept Id.

The final view should resemble the following image:


Detailed Instructions
1. In the workbook from Exercise 3.1, click on New worksheet icon.
2. Rename the worksheet as Item Price by Category.
3. On the toolbar, click the New Data Source icon.
4. Browse and connect to the CUSTOMER ANALYSIS Excel file.
5. Add CATEGORY table and go to sheet Item Price by Category.
6. On the toolbar, click the New Data Source icon.
7. Under Connect, under To a file, click Access.
8. Browse and select Sales_inventory_analysis.accdb file.
9. Join the Category and Vendor_fact tables in an Inner Join.
10. Go to the sheet Item Price by Category.
11. In the Data pane, select the CATEGORY (CUSTOMER ANALYSIS) data source.
12. Drag Category Name to the Rows shelf.
13. Click the Category+ (Sales_inventory_analysis) data set.
14. Under the Data menu, click Edit Relationships.
15. In the Relationships window, select Custom and click Add.
16. In the Add/Edit Field Mapping window, under Primary data source field, select
Category Name; under Secondary data source field, select Category NAME, and
click OK.
17. Drag the V Item Price measure to the Columns shelf.
18. Drag Dept Id to Color shelf.
19. Save and Close the workbook.

Answers

Based on the view, these are the answers to the questions in the problem statement:

• Which categories have vendor item prices above $500?


Answer - Cameras, Cell Phones & Accessories, and Laptops

• Between Laptops and Tablets, which category has a lower vendor item price?
Answer - Tablets

You might also like