Forum Discussion

knowledgegarage's avatar
4 years ago
Solved

Extracting text and numerical types from one column and splitting into two columns

I have an interesting problem I am hoping the community can solve.   The first part of the problem is how do I split one column into two columns dependant on the data type i.e.: I have this flatte...
  • knowledgegarage's avatar
    4 years ago

    After trying all the methods the most workable solution was as follows:

    1. Duplicate the column you want to split

    2. Change the duplicated column to a numerical type column

    3. Replace any errors with nulls

    4. Create a conditional column that states where the numerical type column is 'null' then take the value from the original column.