on 04-25-2007 7:12 AM
Hi guys,
i have a requirement like i need to convert one column data into multiple records,
eg:day,sal(these two columns)
sun,10
mon,20
tue ,30
" ,"
i have the above data and i nee to convert like sun,10(one record)
mon,20(another record).
how can i do that in bw modelling please suggest me the way.
Thanks in advance.
ashok
Ashok,
Please state your requirement properly ...
eg:day,sal(these two columns)
sun,10
mon,20
tue ,30
this seems like multiple records to me...
Do you mean to say that incoming record is
sun|10|mon|20|tue|30 and you want to convert the same to "
sun|10
mon|20
tue|30
???
Arun
Please confirm if this is what you tried to convey earlier...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Arun,
Did you happen to provide a solution for this? I am also trying to convert one record with multiple columns into multiple records.
ex.
1. Employee | Char 1 | Date 1 | Char 2 | Date 2 | Char 3 | Date 3 |
1. Employee | Char 1 | Date 1 |
2. Employee | Char 2 | Date 2 |
3. Employee | Char 3 | Date 3 |
DC,
There are few ways you can create multiple records from one source records.
If you have a factor table to distribute the key figure, you most probably want to use return table in update routine (for 3.X) or write a End-routine in transformation to read the factors and multiplicate the records ( BI 7).
If you don't want to use factor table to mulplicate the records, (like the case you described in your question), you can use key-figure specific update in update rule (3.x) or you can create multiple transformation groups ( BI 7). For your case, probably you want to create 3 transformation groups and create routine for each group.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
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.