Forum Discussion

stats111's avatar
stats111
Regular Visitor
10 years ago
Solved

Expression not recognized when adding a custom column in Query Editor

I'm trying to add a column with the following formula:     SEARCH (" ", [Description], 1, BLANK ())      However I get the error message:   Expression error: The name 'SEARCH' wasn't recogniz...
  • KGrice's avatar
    10 years ago

    Editing in the Query Editor relies on the M language, while doing so in the Data View relies on DAX. They're not interchangeable.

     

    The M equivalent is Text.PositionOf. For comparison, here is the SEARCH function for DAX.