Forum Discussion

Sudheeshp's avatar
Sudheeshp
Frequent Visitor
3 years ago
Solved

New custom column

My table has column name 'Unique Customer' and 'Promo ID'. if any of the row value 'Unique Customer' has a 'Promo ID' greater than null, then likes to create a new column 'VFP Customer' with "Y" as v...
  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi Sudheeshp ,

     

    This is my easy-to-understand method.

    1.Add a custom column to return 1 or 0.

    2.Group by as follows.

    3.Add a custom to return the result.

    4.Expand the Tables in the column.

       

                                                                                                                                                             

    Best Regards,

    Stephen Tao

     

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