Go Back   CORTEX Forums > Local Happenings > CORTEX Blogs > BI Monkey
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read

The Row Count Transformation

This is a discussion on The Row Count Transformation within the BI Monkey forums, part of the CORTEX Blogs category; Fig 1: The Row Count Transformation In this post I will be covering the Row Count Transformation. The sample package can be found here for 2005 and guidelines on use ...


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 13th August 2009, 12:51 PM   #1
Guru
 
Join Date: Jun 2009
Posts: 122
James Beresford is on a distinguished road
Thumbs up The Row Count Transformation

Fig 1: The Row Count Transformation


In this post I will be covering the Row Count Transformation. The sample package can be found here for 2005 and guidelines on use are here.

What does the Row Count Transformation do?

The Row Count Transformation counts the number of rows that have passed through a Data Flow and puts that count into a variable. Configuration is simple – all you need to do to is specify the variable name that will hold the row count on the first page of the editor (down at the bottom under “Custom Properties”). There’s a little gotcha here – whilst the tab for ‘Input Columns” is active, if you try to select any columns it will return an error and not allow you to continue.

It is worth noting that the variable is only updated once all rows of data have passed through the data flow – i’ve demonstrated this in the sample package by adding the variable to a column in a Derived Column – it returns zero all the way through, so you cannot use the Row Count as a row number generator.

Where would you use the Row Count Transformation?

The most obvious use is in logging processes – for example counting input rows versus outputs rows or counting failed rows. Anywhere you need to track the number of rows being passed through a given data flow.

MSDN Documentation for the Row Count Transformation can be found here for 2008 and here for 2005.



Get More from the original blog...
James Beresford is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
The Sort Transformation James Beresford BI Monkey 0 22nd July 2009 10:03 PM
The Merge Transformation James Beresford BI Monkey 0 20th July 2009 01:11 PM
The Unpivot Transformation James Beresford BI Monkey 0 4th July 2009 02:20 PM
The Pivot Transformation James Beresford BI Monkey 0 23rd June 2009 09:34 PM


All times are GMT +11. The time now is 10:03 AM.

© The Business Intelligence Group

Search Engine Optimization by vBSEO