Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Split the result

Hi, Is it possible that I can split the result for the result of "G" and "M" in the Serology test?      this is my table   and my data    Any guidance to solve this? ...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Anonymous Try something like this:

    result measure=

    IF([Type]="Serology",

    IF([detail]="G",LEFT([result],SEARCH(",".[result])-1),RIGHT([result],LEN([result])-SEARCH(",".[result]))

    ), [result]

    )