Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Open a new workbook in Power BI Desktop and connect to data: From the Home tab in the ribbon, click Get Data > Excel. Navigate

Open a new workbook in Power BI Desktop and connect to data:
From the Home tab in the ribbon, click Get Data > Excel.
Navigate to your Lab 3-1 Slainte Dataset.xlsx file and click Open.
In the Navigator window, check the boxes next to Employee_Listing and Suppliers and click Transform Data.
Join the employee and suppliers tables with a fuzzy match to identify possible related parties:
Fuzzy matching supports only text columns. We will be matching the Supplier_Address, Supplier_Zip,Employee_Street_Address, and Employee_Zipcolumns, so ensure they are all data type text. If they are not, adjust the data types. If prompted to Replace current or Add a new step, select Replace current.
Click the Suppliers query then go to the Home tab in the ribbon and click Merge Queries.
In the Merge window:
Choose Employee_Listing from the drop-down menu above the bottom table.
From the Join Kind drop-down menu, choose Inner (only matching rows).
Check the box next to Use fuzzy matching to perform the merge.
Click the arrow next to Fuzzy matching options and set the similarity threshold to 0.5.
Now, hold the Ctrl key and select the Supplier_Address and Supplier_Zip columns in the Suppliers table in the preview at the top of the screen.
Finally, hold the Ctrl key and select the Employee_Street_Address and Employee_Zip columns in the Employee_Listing table in the preview at the bottom of the screen.
Click OK to merge the tables.
In the Power Query Editor, scroll to the right until you find Employee_Listing and click the expand (two arrows) button to the right of the column header.
Click OK to add all of the employee columns.
From the Home tab in the ribbon, click Choose Columns.
Uncheck (Select all columns) and check the following attributes and click OK:
Supplier_Company_Name
Supplier_Address
Supplier_Zip
Employee_First_Name
Employee_Last_Name
Employee_Street_Address
Employee_Zip
cameraTake a screenshot (label it 3-1MA).
You may notice that you have too many matches. Now adjust your fuzzy match to show fewer, more likely matches:
In the Query Steps panel on the right, click the gear icon next to the Merged Queries step to open the Merge panel with fuzzy match options.
Click the arrow next to Fuzzy matching options and change the Similarity threshold value to 0.7.
Click OK to return to Power Query Editor.
In the Query Steps panel on the right, click the last step to expand and remove the other columns: Removed Other Columns.
cameraTake a screenshot (label it 3-1MB).
Answer the lab questions, then close Power Query and Power BI. Save your Power BI workbook as 3-1 Slainte Fuzzy.pbix.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Deductive And Object Oriented Databases Second International Conference Dood 91 Munich Germany December 18 1991 Proceedings Lncs 566

Authors: Claude Delobel ,Michael Kifer ,Yoshifumi Masunaga

1st Edition

3540550151, 978-3540550150

More Books

Students also viewed these Databases questions

Question

Evaluate the importance of diversity in the workforce.

Answered: 1 week ago

Question

Identify the legal standards of the recruitment process.

Answered: 1 week ago