# Buy Best BIS445 Lab 4

## Buy Best BIS445 Lab 4

iLab 4: Create a data warehouse using a star schema and then analyze the data
warehouse information.
The management of the Coffee Merchant needs to find the sales pattern by data mining the sales data. The
purpose of the data mining exercise is to find any of the sales patterns. In particular, the senior management
team is interested in the quarterly sales reports by different sales regions. From the experience, the team thinks
that each region would have different product needs at a different quarter. As a sales analyst, you need to
apply data mining techniques using SQL Server Reporting Services.
Your assignment is to create a parameter, and matrix report, and explain the report to find sales a pattern at a
different region on a different fiscal year quarter.
Submit the YourName_Lab4_Questions.docx to the Week 4 iLab Dropbox.
Steps Deliverable Points
Step 1 Translate the business requirements into operational data
mining specifications.
10
Step 2d to Step
2h
Find the right tables and columns from the data warehouse (Coffee
Merchant database).
10
Step 4 Create a parametric, metric report. 10
Print
Submit your assignment to the Dropbox located on the silver tab at the
(See the Syllabus section “Due Dates for Assignments & ExIms” for due
dates.)
i L A B O V E R V I E W
Scenario and Summary
Deliverables
iLab https://devry.equella.ecollege.com/file/def9abe0-d22c-40dd-82d0-c6169…
1 of 14 9/25/2014 12:00 AM
Final
Deliverable
Lab 4 Student Answer Sheet 30
provide screen prints as required for each part of the lab.
1.
Read the scenario and translate the requirements into 2. specifications.
3. Connect to iLab.
4. Connect to BIS445SQL data source.
5. Connect to the Coffee Merchant database.
Part A: Set up data by writing SQL script
Understand the usage of the CAST function to find the quarter by dividing the month number by three.
CAST(Month(Orders.OrderDate) -1) /3 + 1 as VARCHAR)
Study this SQL statement.
a. Open your Citrix Laboratory, and click the SQL 2008 Server Management Studio.
You will see a similar screen – where the Server Name is: BIS445SQL2008
I L A B S T E P S
STEP 2: Prepare the SQL script to extract the data Back to the Top
iLab https://devry.equella.ecollege.com/file/def9abe0-d22c-40dd-82d0-c6169…
2 of 14 9/25/2014 12:00 AM
On the Server, the name chose b. the right Server.
Browse your available database, and find the Coffee Merchant database. Create a new query
window for this database.
c.
d. Study the following SQL script.
e. Run the SQL script, and you should see the following result data set:
iLab https://devry.equella.ecollege.com/file/def9abe0-d22c-40dd-82d0-c6169…
3 of 14 9/25/2014 12:00 AM
Check Columns to make sure you have the right data f. for data mining.
g. Your screen should look similar to the above screenshot.
a. Open SQL 2008 Server Business Intelligence Development Studio.
b. Select File -> New Project….
c. Select Report Server Project
d. Type Report 4 as the report name.
e. Select an appropriate location to save your work.
f. Click OK to create the New Project file.
iLab https://devry.equella.ecollege.com/file/def9abe0-d22c-40dd-82d0-c6169…
4 of 14 9/25/2014 12:00 AM
Move your cursor to the upper-right corner and click g. on Solution Explorer.
You should see the following screenshot, which depicts the Solution Explorer panel with the project
name listed.
h.
In the Solution Explorer, right-click on Shared Data Sources and select Add New Data Source to
define the data source that you will use by using the data source wizard.
i.
iLab https://devry.equella.ecollege.com/file/def9abe0-d22c-40dd-82d0-c6169…
5 of 14 9/25/2014 12:00 AM
j. Click on the Edit button.
Type in the Server information you have utilized to connect to the SQL2008 Server Management Studio
databases and select BIS445_CoffeeMerchant from the Connect to a database pulldown menu. If
you do not know the server information, contact your instructor. For example:
k.
iLab https://devry.equella.ecollege.com/file/def9abe0-d22c-40dd-82d0-c6169…
6 of 14 9/25/2014 12:00 AM
Click on Test Connection, you should be able to connect to the right SQL Server data source and
receive the following screenshot stating the test succeeded.
l.
iLab https://devry.equella.ecollege.com/file/def9abe0-d22c-40dd-82d0-c6169…
7 of 14 9/25/2014 12:00 AM
Click on the OK button three times to accept the connection wizard settings. You should now be
connected to the data source.
m.
In the Solution Explorer right, a. click on Reports.
b. Select Add New Report to open the Report Wizard.
iLab https://devry.equella.ecollege.com/file/def9abe0-d22c-40dd-82d0-c6169…
8 of 14 9/25/2014 12:00 AM
c. Click on the Next button.
iLab https://devry.equella.ecollege.com/file/def9abe0-d22c-40dd-82d0-c6169…
9 of 14 9/25/2014 12:00 AM
Click on the Next button again. Then, paste the following SQL Script into d. the Edit Panel:
e. This query is modified from Step 2, by adding the “@state” parameter at the end of the script.
f. Your screen should look like this:
iLab https://devry.equella.ecollege.com/file/def9abe0-d22c-40dd-82d0-c6169…
10 of 14 9/25/2014 12:00 AM
Click on Next Button, then, select g. Matrix radio button.
iLab https://devry.equella.ecollege.com/file/def9abe0-d22c-40dd-82d0-c6169…
11 of 14 9/25/2014 12:00 AM
Then, click on the Next button. Then, make the following h. selection:
iLab https://devry.equella.ecollege.com/file/def9abe0-d22c-40dd-82d0-c6169…
12 of 14 9/25/2014 12:00 AM
Click on the Finish button twice. You should have the design panel shown i. as the following.
j. Click on the Preview tab; Type in PA in the State textbox; then, click on the View Report button.
iLab https://devry.equella.ecollege.com/file/def9abe0-d22c-40dd-82d0-c6169…
13 of 14 9/25/2014 12:00 AM
You should see the PA k. state sales pattern.
Submit your completed YourName_Lab4_Questions.docx to the Week 4 iLab Dropbox.
Submit your assignment to the Dropbox located on the silver tab at the