Forum Discussion

PascalT's avatar
PascalT
Helper I
9 years ago
Solved

[DAX] isolate text from text

Dear PBI Experts   I guess that this is a very noby question... but i've a hard time to solve it.   In a column, I've several line structured like that: /products/coral-dental-33600002-17 /prod...
  • MarcelBeug's avatar
    MarcelBeug
    9 years ago

    Well, I'm not a DAX expert, but from my Excel background I constructed the following DAX formula.
    Prerequisite is that your strings don't contain any ^ character.

     

    =right([String],len([String])-find("^",substitute([String],"-","^",-1+len([String])-len(SUBSTITUTE([String],"-","")))))