Using Data Profiling Task in SSIS

The Data Profiling task is a new task in the Integration Services toolbox. Data Profiling in SSIS provides profiling functionality for the data. Data Profiling helps to analyze the data more efficiently by providing the statistical information for table(s) in the database such as

· Number of rows in the table

· Number of nulls in each columns of a table

· Number of distinct values in each columns of a table etc.

Why we need Data Profiling? The statistical information generated by Data Profiling can be use to efficiently minimize the data quality issues that might occur from source data.

I have created a sample SSIS package which helps you to understand working with Data Profile Task. For this example I have used AdventureWorksLT database.

1. Open SQL Server Business Intelligence Development Studio (BIDS)

2. Create new SSIS project by selecting the “Integration Services Project”. Now you are ready to develop completely new SSIS project.

3. Selecting Data Profiling Task – Drag the “Data Profiling Task” to Component Flow from toolbox, so that your screen will looks like as below…


4. Setting properties – Data Profiling task needs some inputs to run it such as Source – the input for which the statistics should be collected, Destination – where it should be collected, and for which entities should collect the statistics, This can be achieve by by providing some additional information to Data Profiling Task

  • Open the Data Profiling Task Editor (double –click on the Data profiler Task to open Editor) as  shown below.


  • Here you can set Source by clicking on Quick profile option. You can  connect to database using the Connection option. In this case I have connected to my Local Server and AdventureWorksLT database. and select which statistics you want to calculate as well as view such as Number of rows in the table, Number of nulls in each columns of a table, Number of distinct values in each columns of a table etc. Here you can select just one or all tables with Table or View option.


1. Source connection string – When you create any connection string in package, it always preserve the connection string in connection manager.

2. Statistical information calculation options.

  • You can set the destination file by clicking on General menu in Data Profiling Editor as shown in the below screen shot


5. Data Collection – Now we are ready to execute the package to collect the statistics for selected tables. Execute the package to collect the statistical information. This will store information at the Destination you have selected (step # 4)

6. Viewing the Data Profiling output – To view the Data Profiling output you need Data Profile Viewer, which can be found under Programs -> Microsoft SQL Server 2008 -> Integration Services OR (C:\Program Files\Microsoft SQL Server\100\DTS\Binn\DataProfileViewer.exe). Refer the below screen shot.


This is just a “How to use Data Profiling Task in SSIS” article, for further information Click here.


SQL Business Intelligence – Introduction

You need to give special attention when you plan to work on SQL BI (SSIS, SSAS, SSRS). There are lot of concepts need to clear before start working on SQL BI for example,

What is BIDS – Business Intelligence Development Studio? It is an interface based on Microsoft Visual Studio to develop all BI projects.

SSIS – SQL Server Integration Services involves different kinds of flow such as Control Flow, Data Flow, etc.

SSAS – SQL Server Analysis Service involves Cube, Dimension, Fact, and Measure etc.

SSRS – SQL Server Reporting Services involves Report Builder, Report Manager, Report Server.

I have created small presentations that will walk-through some important concepts & introduce you SQL BI. This is an introductory presentation contains some common concepts used while working on BI. Please note this article is meant for SQL BI beginners, who would like to work on SQL BI.

As we all know SQL BI is a big world, but I hope this presentation will help you to understand this big world… 🙂