Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

SUBSITUTE function does not work correctly in DirectQuery mode

Hello everyone, I would like to find a solution for a problem regarding the SUBSITUTE function.   I have a string of procceses in the following format: [|Process1|,|Process2|,|Proces3|, ...]  ...
  • Greg_Deckler's avatar
    Greg_Deckler
    3 years ago

    Anonymous Any chance you can use a measure? More DAX functions are supported in measures rather than calculated columns. Also, if you can use SUBSTITUTE in a measure and replace all occurences with "|" (pipe character) then you can use PATHITEM to retrieve individual parts instead of using FIND, MID, etc.