on 06-29-2017 8:57 PM
How do we implement the following logic in BODS for column fields:(say Line_num)
For every unique combination of other key fields (SERVID, PRODID, BILL_ACCT,) this has to incremented by 1. E.g. the first record will 1 and second 2 , so on so forth
.
Can we use the following syntax in the Query transform:
gen_row_num_by_group(SERVICID,PRODID,BILL_ACCT) and this should be given in the query
Is there any way of sorting the data. It's a source file
The combination of the 3 columns service Id , ban and prod Id are unique.
So we have column Line num where the values are incremented by one if the same combination is repeated
Example
A B C 1
A B C 2
So how can I achieve this in BOds?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there any way of sorting the data. It's a source file
The combination of the 3 columns service Id , ban and prod Id are unique.
So we have column Line num where the values are incremented by one if the same combination is repeated
Example
A B C 1
A B C 2
So how can I achieve this in BOds?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes.
Make sure that your data is sorted on SERVICID, PRODID and BILL_ACCT before processing it in the Query transform!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.