cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the record number in graphical CV

former_member213277
Active Participant
0 Kudos

Hi Experts,

I have a requirement to populate the row number for the data set that comes out of the graphical CV

Assume that output of the CV will be as shown below

CompanyCodeGLAccountFiscalYearMeasure1
US99500082015200
US99603472015140
US99503472015666
US99813082015200
US995000820150

Now I want to populate the record number(RowID) against each row, as shown below

CompanyCodeGLAccountFiscalYearMeasure1RowID
US995000820152001
US996034720151402
US995034720156663
US998130820152004
US9950008201505

Can some one explain me how to get the row number for each of the record in graphical CV

Regards,

Nagaraj

View Entire Topic
lbreddemann
Active Contributor
0 Kudos

Just as more general remark, since you've already received technically correct ways to achieve your goal here:

Whenever the requirement is to generate "RowIDs" and not to rank records based on some criteria you should be very cautious.

Typically this is the first step to 'row-by-row' processing which means slow performance and very likely wrong processing in a parallel data access system.

These kind of "RowIDs" are not stable at all and don't serve to identify any specific row at all.

In short: generated RowIDs should be considered a "code-smell" that points to an anti-pattern.