Forum Discussion
warnera
6 years agoHelper I
Finding unique text in 2 different columns
Hello all, I am trying to create a column that displays only the unique text shared between two columns. Created sample example below. Will be working with large dataset. Column A ...
- 6 years ago
HI warnera
You just miss "{ }' in this formula
just adjust it as below:
Text.Combine(List.Intersect({Text.Split([Column A],",") ,Text.Split([Column B],",")}),",")Result:
Regards,
Lin
warnera
6 years agoHelper I
I am getting an error when trying this. Possibly because I oversimplified my example? The actual data from column A and B are as follows:
Column A: Joe, Sam, Steve
Column B: [users- 2020,05,20] Total. Steve, Sam, Jon, Mike
Did I execute this wrong or does that change your response?
Thanks again!
warnera
6 years agoHelper I
I was also unable to replicate this on a test example.
- v-lili6-msft6 years agoCommunity Support
HI warnera
You just miss "{ }' in this formula
just adjust it as below:
Text.Combine(List.Intersect({Text.Split([Column A],",") ,Text.Split([Column B],",")}),",")Result:
Regards,
Lin