Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
9 years ago
Solved

Count textcodes in a combined column

Hello everyeone,   I have created a combined column in my table which contains textcodes from multiple columns. It looks like this :   RCOM; RPOT; RAM*; RBC*; RCOM   I would like to be able to ...
  • v-ljerr-msft's avatar
    v-ljerr-msft
    9 years ago

    Hi Anonymous,

     

    Yes, the formula below should work in this scenario. :smileyhappy:

     

    =List.Count(List.PositionOfAny(List.Transform(Text.Split(Text.Trim([Column1]),";"),each Text.Start( _ , 4)),{"RCOM"},Occurrence.All))

     

    Regards