brawnystaff
Board Regular
- Joined
- Aug 9, 2012
- Messages
- 109
- Office Version
- 365
I currently am using a Custom Column to return TRUE/FALSE if various rows contain any matching keywords in I have in a separate list (called Keywords) in specific columns. The issue I am having is there is like 60 columns I need to check for the keyword list. However, all columns end with "EIN". Is their way to use Text.EndsWith to search all Table columns that end in EIN? Listed below is M code I have that works, but only for three of the columns. Thanks.
Power Query:
List.ContainsAny({[#"Subject 1: EIN"],[#"Subject 2: EIN"],[#"Subject 3: EIN"]},Keywords)