Forum Discussion

unclejemima's avatar
unclejemima
Icon for Post Patron rankPost Patron
8 years ago
Solved

Pull 2 words separated by dashes to make new Column

I've got some items in Inventry[part] where I need to make a new column based off the part number.   Example of part numbers... 55-D-Kaffee-German-L-Hot 55-D-Kaffee-German-M-Hot 55-D-Kaffee-Ital...
  • ChrisMendoza's avatar
    ChrisMendoza
    8 years ago

    unclejemima,

     

    You could try otherwise:

     

    try Text.BetweenDelimiters([PartNumber],"-","-",1,1) otherwise Text.BetweenDelimiters([PartNumber],"-","-",1,1)

    It should allow you to find the errors, then you can analyse the reason why it failed and modify your Add Column.