Forum Discussion
Anonymous
4 years agoNot applicable
Structuring and cleaning a column by using reference tables
Hi, I am building an app to analyse my bank transactions. These transactions have two columns that contain more or less information stored in an unstructured manner. My plan is to use reference ta...
v-kkf-msft
4 years agoCommunity Support
Hi Anonymous ,
Are you trying to implement the logic of the above DAX in PQ? If so, please try the following custom column.
=
let
CurrentDec = [Description],
SelectRows = Table.SelectRows(Country, each Text.Contains(CurrentDec, " " & [Country code], Comparer.OrdinalIgnoreCase))[Country code]
in
List.Max(SelectRows)
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.