Forum Discussion

ritanoori's avatar
ritanoori
Icon for Resolver I rankResolver I
5 years ago
Solved

Custom column - if first 9 characters column is alphanumeric or numeric

Hello Everyone I'm trying to create a custom column in power querey where if the first 9 characters of [description] is alphanumeric then "Y" else  if the first 9 characters of [description] is nume...
  • amitchandak's avatar
    amitchandak
    5 years ago

    ritanoori , Try something like

    if Value.Is(Text.Start([description],9) Int64.Type) then "Y" else if Value.Is(Text.Start([description],9) Text) then "X" else "N/A"