Forum Discussion

FabricGeek's avatar
FabricGeek
New Member
2 years ago
Solved

Custom columns in DataFlow Gen2

Hi, If I want to concatenate columns and then remove a certain number of characters from right/left, do I need to use the "Custom Calculation" option and this creates a new column?  Is there anyway...
  • pqian_MSFT's avatar
    pqian_MSFT
    2 years ago

    1. Can you clarify what do you mean by "I don't get any examples for my columns" - do you mean you provided the examples but it didn't work?

     

    2. Extending current string value with a suffix can be done by clicking Format -> Add Suffix

    Doing "Add Suffix" to a number column will actually convert it to text first, and then do the literal append of "0000" - at that point your number loses their numerical meaning and are simply textual. Perhaps this is what you wanted to do, perhaps there are numerical ways of achieving this.

     

    Adding column from example does not change existing columns in place. However, you can do the same by adding the column first, then dropping the old column(s).