SSIS - Project
SSIS - Project
www.GoOnlineTrainings.com
Mr. Bhaskar Jogi
[email protected]
[email protected]
+91 90000-75637
+91 96421-43942
About Project
Client : TORUS (UK)
Project : TARDIS
Domain : Healthcare/Medical
Team Size: 10 Members
Project Duration: Last 2 Years
Module: Insurance Module
Role in this Project:
◦ Created SSIS Packages for Full/Incr Loading (30 Pkgs)
◦ Worked on SQL and T-SQL (SP, Views, Functions)
◦ Created SSRS Reports (100+ Reports)
◦ Attend Meetings
◦ Documentation
◦ Coding
◦ Conduct KT Sessions
Project Description
It is a Medical Insurance Project from UK
Any customer can buy a medical policy thru
web or online/agents or broker / 3rd party etc
Policy can be renewed and these policies are
bought from various locations
Customer will get deductions when they buy a
policy
A policy will have a limit on the insured amount
Customer will pay premium amount for given
policy on yearly basis
Project Objectives
Growth Rate in terms no of customers/profit
Growth Rate for renewals for last few years
Analyze New Customers Ratio
Analyze Renewals Ratio
Analyze Time to issue new policy
Customers and their existing policies,
recommendations
Analyze no of Claim settlements for last few years
Analyze Claim settlements Amount for last few
years
Projects
Retail:
https://www.cdw.com/
Healthcare
http://ehryourway.com
SSIS - Loading the Data
PHASE 1 PHASE 2
OLTP Data
Staging
Server Warehouse
Client Server
Server
TARDIS
TARDIS_STAGE TARDISDW
Databases
Load the Data To Staging
Phase 1
Stage
Project Setup Steps
1) Restore Tardis from Backup file
2) Create database Tardis_Stage
use master
go
Excel
5. PolicySection
6. PolicyCoverage
7. Premium
8. Limit
9. Deduction
Create SSIS Project
SSIS_Tardis_Stage
Tables in Tardis_Stage Database
1. Stage_Policy (1000 rows)
2. Stage_RevenueType (1 row)
3. Stage_Currency (3 rows)
4. Stage_TransactionType (1 row)
5. Stage_PolicySection (1000 rows)
6. Stage_PolicyCoverage (1000 rows)
7. Stage_Premium (1000 rows)
8. Stage_Limit (1000 rows)
9. Stage_Deduction (1000 rows)
SSIS Package Design Requirements
To load data to Staging…
Create 9 SSIS Packages for 9 Tables
Package Name = Stage_LoadPolicy.dtsx
Stage_LoadPolicySection.dtsx
Stage_LoadPolicyCoverage.dtsx
Stage_LoadPremium.dtsx
Stage_LoadLimit.dtsx
Stage_LoadDeduction.dtsx
MSBI Project
Tardis – Insurance Domain
www.GoOnlineTrainings.com
Mr. Bhaskar Jogi
[email protected]
[email protected]
+91 90000-75637
+91 96421-43942
SSIS - Loading the Data
PHASE 1 PHASE 2
OLTP Data
Staging
Server Warehouse
Client Server
Server
TARDIS
TARDIS_STAGE TARDISDW
Databases
Load the Data To DWH
Phase 2
Why Full Loading/Partial Loading
to Fact Table
www.GoOnlineTrainings.com
Mr. Bhaskar Jogi
[email protected]
[email protected]
+91 90000-75637
+91 96421-43942
Perform Following
Run DWH Script
Run XrefData- DW Inserting Data Script
Fact Tables
◦ Fact.Premium (366 Rows)
◦ Fact.Limit (365 Rows)
◦ Fact.Deduction (365 Rows)
Tables in DWH
Reference Table
◦ AssuredXRef
◦ BranchXRef
◦ BrokerXRef
◦ CompanyXRef
◦ ProductXRef
◦ SectionTypeXRef
◦ StatusXRef
◦ UnderwriterXRef
Dimension.Policy
In this table PK column is PolicyID
It is also Identity column
That means, no data can come from source to
this column
In this table,
Consider MasterNumber, MasterSeq as
Business Key
Dim Policy
ETL Mapping
Dim Policy
ETL Mapping
Dim Policy
ETL Mapping
DepartmentID to 1
www.GoOnlineTrainings.com
Mr. Bhaskar Jogi
[email protected]
[email protected]
+91 90000-75637
+91 96421-43942
SSIS - Loading the Data
PHASE 1 PHASE 2
OLTP Data
Staging
Server Warehouse
Client Server
Server
TARDIS
TARDIS_STAGE TARDISDW
Databases
Challenges
Fact Tables
◦ OriginalCurrencyID
◦ SettlementCurrencyID
Time Table Issue
Dim Time
Run below script
Tardis Project
Data Warehouse Architecture
www.GoOnlineTrainings.com
Mr. Bhaskar Jogi
[email protected]
[email protected]
+91 90000-75637
+91 96421-43942
Questions on DWH…?
What is the schema of DWH…?
◦ Star Schema
◦ Snowflake Schema
Relationship between Dim n Fact Table?
How do you load the data to DWH…?
◦ First, Load the data into Dim Table
◦ Then Load the data into Fact Table
Tardis – Flow Chart
Tardis Project
Incr Loading
www.GoOnlineTrainings.com
Mr. Bhaskar Jogi
[email protected]
[email protected]
+91 90000-75637
+91 96421-43942
Design Patterns for Incr Loading
Load the Data to DWH
◦ Pattern1: Using Lookup
◦ Pattern2: Using SCD
◦ Pattern3: Using Stored Procedures
◦ Pattern4: Using Merge Command (SQL DEV)
◦ Branch
◦ Area
Facts
Premium
Limit
Deductions
CR – Change Request
Load Unmatched data to Dimension tables
Issue: Not Able to Load Data in
Fact.Premium
Fact.Premium is referring Dimension.Time for its
values
Dimension.Time does not have data
Hence the error while loading data in
Fact.Premium
www.GoOnlineTrainings.com
Mr. Bhaskar Jogi
[email protected]
[email protected]
+91 90000-75637
+91 96421-43942
Create Cube - Steps
1. Create SSAS Project
2. Create Data Source
3. Create Data Source View
4. Build Dimensions
5. Build Cube
6. Create Calculations
7. Deploy the Cube
8. Test the Cube – Excel/Browser
9. Create SSRS Reports using MDX Queries
Reports with MDX
Brach Wise Revenue (Premium amount)
Brach Wise, Year Wise Revenue (Premium
amount)
Area wise, Brach Wise, Year Wise Revenue
(Premium amount)
Year wise, No of policies Renewed
Year wise, No of policies not Renewed
Branch wise, No of policies Renewed
Branch wise, No of policies not Renewed
Reports
TOP 5 Brokers, based on Revenue (Premium
Amount) across Branches/Area
TOP 5 Policy Names based on Revenue
(Premium Amount)
Branch wise Revenue and Deductions for
www.GoOnlineTrainings.com
Mr. Bhaskar Jogi
[email protected]
[email protected]
+91 90000-75637
+91 96421-43942
MSBI Project
Tardis – Insurance Domain
www.GoOnlineTrainings.com
Mr. Bhaskar Jogi
[email protected]
[email protected]
+91 90000-75637
+91 96421-43942
Issues
Issue:
◦ Not able to load data to SSIS 2012, using .xlsx files
Solution:
◦ Save as xls file and chose Excel 97 to 2003 workbook option
Issue
◦ Sheet Names contains special characters
◦ Eg: Sheet Name Deduction’s
Solution:
◦ Remove the special Character
Issue:
◦ Date format is reversed when loading data from Excel Files to stage
Solution:
◦ Go to Excel Right Click On Date Column Format Cells Choose
Custom Choose mm/dd/yyyy format
Issues
Issue:
◦ Cannot load data from excel 2007 of 32 bit version
using SSIS 2012
Solution:
◦ Go to SSIS Project Go to Solution Explorer
Right Click on the Project Expand Configuration
and Properties Click on Debugging
Set Run 64 Bit Run Time = FALSE
ETL Requirements
Load the data from OLTP to DWH as per
Mapping Document
Implement Logging for the package
Row Count needs to be captured during the
ETL
MSBI Project
Healthcare (Insurance Module)
www.GoOnlineTrainings.com
Mr. Bhaskar Jogi
[email protected]
[email protected]
+91 90000-75637
+91 96421-43942
Project Deployment
www.GoOnlineTrainings.com
Mr. Bhaskar Jogi
[email protected]
[email protected]
+91 90000-75637
+91 96421-43942
Dev Tasks
DEV need to check in the code – VSTF
Testing will done by Testers
Download and install the code in PROD
jobs
Schedule the Package
Create doc on Troubleshooting steps
Document on Deployment – Deploy Guide
Project Explanation
Interview Questions
Interview Questions
Tell me about yourself
After my graduation, I got job in Infosys
I have total 3.6 yrs of exp (SQL – 2 Yrs, SSIS 2 Yrs, SSRS 1.5 Yrs)
Then onwards, I started working in SQL Server with MSBI (SSIS,
SSRS, SSAS – Basics)
I am strong in SQL Server – Queries, Views, SP, Functions,
Ranking Functions etc (My rating is 7/10)
I am also strong in SSIS – Create, Deploy, Debug the packages,
used Full Loading/Incr Loading of data, strong exp in Lookup,
Data Conversion, Containers, Conditional Split etc (My rating is
7/10)
Also good knowledge in Data Warehouse – Dims/Facts,
Schemas etc.
Interview Questions
I am also Good in SSRS – Created 1000 Plus
reports in last 2 years
Such as Drill Down, Drill Thru, Parameter,
www.GoOnlineTrainings.com
Mr. Bhaskar Jogi
[email protected]
[email protected]
+91 90000-75637
MSBI Project
www.GoOnlineTrainings.com
Mr. Bhaskar Jogi
[email protected]
[email protected]
+91 90000-75637
3. Question
Tell
me the challenges faced in
your project
4. Question
Tell
me one SSIS Package which
you created, from starting to end
5. Question
What type of data you have it
◦ Financial Data
◦ Loans Data
◦ Loan EMI Data
◦ Score Data
◦ Claims Data
◦ Defaulters Data
◦ Cheque Bouncing Data
Thanks for your
time.
Thanks for your
time.
1. Question
Tell me about yourself
Years of Exp
I have 3.5 Years of exp in SQL, SSIS, SSAS,
SSRS
SQL Server – 3.5 Years - 8/10
SSIS – 3.0 Years - 8/10
SSRS – 3.0 Years - 7/10
SSAS – 1.0 Years - 2/10
2. Question
Tell me about your project
3. Question
Tell
me the challenges faced in
your project
4. Question
Tell
me one SSIS Package which
you created, from starting to end
5. Question
What type of data you have it
◦ Financial Data
◦ Loans Data
◦ Loan EMI Data
◦ Score Data
◦ Claims Data
◦ Defaulters Data
◦ Cheque Bouncing Data
MSBI Project
University (Education Module)
www.GoOnlineTrainings.com
Mr. Bhaskar Jogi
[email protected]
[email protected]
+91 90000-75637
+91 96421-43942
Incremental Loading
Using Lookup
Using SCD
Using Stored Procedures
Using Merge Statement in SQL
MSBI Project
University (Education Module)
www.GoOnlineTrainings.com
Mr. Bhaskar Jogi
[email protected]
[email protected]
+91 90000-75637
+91 96421-43942