Forum Discussion

socialengaged's avatar
socialengaged
New Member
8 years ago
Solved

OR

Hello Can you please help me out with this formula?    (if Text.Contains([Custom], "cloud", Comparer.OrdinalIgnoreCase) then "Cloud" else if Text.Contains([Custom], "nuvola", Comparer.OrdinalIgno...
  • v-chuncz-msft's avatar
    8 years ago

    socialengaged,

     

    You may add a custom column as follows.

    = Text.Combine(
    {
    (if Text.Contains([Custom], "cloud", Comparer.OrdinalIgnoreCase) then "Cloud"
    else if Text.Contains([Custom], "nuvola", Comparer.OrdinalIgnoreCase) then "Cloud"
    else null)
    , (if Text.Contains([Custom], "ecommerce", Comparer.OrdinalIgnoreCase) then "ecommerce"
    else null)
    }
    , " | "
    )