Forum Discussion
JustSayJoe
Advocate IV
1 year agoNeed more efficient "containsstring" method
I have a table (Advertising) with these three columns. Campaign Ad Set Ad Name Each of the columns are text strings that use multiple underscores as delimiters. The number of delimiters is not ...
- 1 year ago
then pls provide some sample data and the expected output.
ryan_mayu
Super User
1 year agothen what about not using containsstring function.
extract 125 in the PQ
or use DAX to extract 125
Column = mid('Table'[column1],FIND("_",'Table'[column1],1,0)+1,100)
JustSayJoe
Advocate IV
1 year agoThank you for the response. My problem is, the values in the column do not maintain a standard naming convention, so there's a lot of cleanup after using PQ to split the column at the right most delimiter.
I'm thinking I may need to bear down and set aside a bunch of hours to manually clean up a ton of historical data...
- ryan_mayu1 year ago
Super User
then pls provide some sample data and the expected output.