Forum Discussion

Shakaze's avatar
Shakaze
Frequent Visitor
2 years ago
Solved

Creating a column with 2 others

Hello everyone,   I'm working on a project about invoices.   I have 2 columns, one is the name the company A sending invoices, and the other the company recuiving the invoice: company B. A --> B...
  • rubayatyasmin's avatar
    rubayatyasmin
    2 years ago

    try creating a custom column, something like

     

    = if Text.BeforeDelimiter([YourColumnName], "_") > Text.AfterDelimiter([YourColumnName], "_") then Text.AfterDelimiter([YourColumnName], "_") & "_" & Text.BeforeDelimiter([YourColumnName], "_") else [YourColumnName]

     

    Replace [YourColumnName] with the name of your column that has the "A_B" or "B_A" values.