Forum Discussion
tanvi_m
6 years agoFrequent Visitor
Repeated Text in Cell
In my Power BI one row table, I have a cell with multiple entry of words AA and BB with prefix of new. I need to count how many times each (AA and BB) are associated with new. For example in below ex...
parry2k
6 years agoSuper User
tanvi_m try following measures
AA Count = CALCULATE( COUNTROWS ( 'Table' ), CONTAINSSTRING ( 'Table'[Text], "AA" ) )
BB Count = CALCULATE( COUNTROWS ( 'Table' ), CONTAINSSTRING ( 'Table'[Text], "BB" ) )