Forum Discussion

Roodakker's avatar
Roodakker
Frequent Visitor
2 years ago
Solved

Change name on duplicates in the same ID

Hi, I'm a rookie at M and need help!    I'm preparing data for process mining and unfortunatley the process use the same status "14 - Approved" multiple times per ID. If possible, it would be great...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi Roodakker 

    1.You can consider to add an index column  group by each id first , the step can refer to the following link.

    Create Row Number for Each Group in Power BI using Power Query - RADACAD

    2.Then add a custom column

    e.g(Then [Index] column is the one you have created above.

    if [Index]=2 then "14 - ODD KYC Approved" else [StatusHistoryRefined;14KYCApproved]

     

    Best Regards!

    Yolo Zhu

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.