This is part 45 of the series of article on SSIS
Introduction:
In this article we are going to see on how to use the Fuzzy Grouping task. This task is mainly used to group some similar data in a row and cleaning the duplicates to maintain a standard of the table. This task requires a connection to the SQL database that the transformation algorithm requires to. Let’s jump start to the section on how to do that using a sample package.
You can look into my series of article on SSIS at the url – https://f5debug.net/tutorial/ssis.php
[more]Steps:
Follow steps 1 to 3 on my first article to open the BIDS project and select the right project to work on integration services project. Once the project is created, we will see on how to use the Fuzzy Grouping control. Once you open the project just drag and drop the Fuzzy Grouping control and a source provider as shown in the below image.
Now I configured the OELDB source by selecting Order tables from Northwind database as shown in the below screen.
Now we need to configure the Fuzzy Grouping, double click on the task and it will open the window as shown in the below screen
We need to do the configuration as shown in the below screen. Now we will see on how the fuzzy grouping transformation works out. Go to the Columns tab and select the row which we need to exact do the full search of the reduplicating and applying the fuzzy algorithm.
CustomerID is the value which we are going to do a fuzzy grouping using the in-build algorithm, Here we have different options to search for the conditions.
Match Type has 2 values as EXACT and FUZZY. Exact do the exact match for the specified column and give the result only it matches the exact value. Fuzzy do a similar search and checks for some particular value and uses it to do the transformation like (Example a column employee name has Karthik A and Karthik B if the type is Fuzzy then it takes this value into account where in Exact it will not take since last name A and B changes)
How exactly the algorithm works out is as follows
Step 1 – It transforms and loads the data to a temporary table
Step 2 – Fuzzy algorithm takes into account and searches for the matched one’s
Step 3 – For each row the transformation conditions checks for the match above the threshold and created an exact match
Step 4 – Applies the resulted output to the packages to proceed further.
The columns available for the fuzzy grouping logic are as follows
- Input Column – Selected columns
- Output Alias – This values comes as output for the fuzzy inputs
- Group Output Alias – This values holds the best value match
- Match Type – Exact or Fuzzy selection
- Minimum Similarity – Has the minimum similarity value
- Similarity Output Alias – Has the similarity score for that column
- Numerals – Handles the matched data in number
- Comparison Flags – Checks for the comparison string handling
Now move to the next tab Advanced as shown in the below image
Here we update the global values which are used across the package to handle the fuzzy transformation can be applied here. The main feature here we need to look is the similarity threshold where we need to specify the minimum threshold match that should be accepted in the transformation.
Conclusion:
So in this article we have seen on how to use the Fuzzy Grouping transformation task and the key configurations used in order to use this task handy.
No Comments
Thank you Karthikeyan for a good explanation. How to actually get results in the end?
Hey. I think make money online is all about learning and practising. If you are looking for the ultimate blog monetization techniques. you are definitely at the wrong place. There are many more methods which involves make money online and thus, the first step is to always, become a better blogger.
Good evening! Amazing article you had there. Professionally, you have explained all the facts and I had even jot them down for future reading. Keep writing and thanks for discussing the useful facts!
I love it when folks get together and share views. Great website, continue the good work!|
I am actually pleased to glance at this website posts which carries tons of helpful facts, thanks for providing these information.|
I really like your blog.. very nice colors & theme. Did you create this website yourself or did you hire someone to do it for you? Plz answer back as I'm looking to design my own blog and would like to know where u got this from. appreciate it|
The subsequent time I read a blog, I hope that it doesnt disappoint me as a lot as this one. I mean, I know it was my choice to read, but I actually thought youd have one thing fascinating to say. All I hear is a bunch of whining about one thing that you might repair in case you werent too busy looking for attention.