Skip to Content
author's profile photo Former Member
Former Member

how to convert a column data into multiple rows

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Apr 25, 2007 at 06:48 AM

    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...

    Add a comment
    10|10000 characters needed characters exceeded

    • 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.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.