Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
I'm trying to create a custom column in the Account table that will lookup values in the RemoveSpecialChar table and return a value in the row if any of the values is present.
I got this from another solution: https://www.youtube.com/watch?v=9sKeZbfzBTk and now I'm trying to adopt it for my use but I'm running into issues.
This is my adoption:
= Table.AddColumn(Account1, "AccountNameValidate", IF (
    SUMX (RemoveSpecialChar, FIND (RemoveSpecialChar[FromValue__c], Account[Name],, 0 ) ) "insertgreaterthansymbol" 0,
    "Special",
    "")
Solved! Go to Solution.
I managed to get this working, the syntax was just wrong.
I managed to get this working, the syntax was just wrong.
@octalllink , Try using below given m-code in accounts table and go to create custom column
let
RemoveSpecialCharList = RemoveSpecialChar[FromValue__c],
CustomColumn = Table.AddColumn(Account, "AccountNameValidate", each if List.ContainsAny(Text.ToList([Name]), RemoveSpecialCharList) then "Special" else "")
in
CustomColumn
| 
 Proud to be a Super User! | 
 | 
Hi bhanu_gautam, thanks for the response but this is the outcome if I do that:
 
					
				
				
			
		
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
 
            | User | Count | 
|---|---|
| 84 | |
| 49 | |
| 36 | |
| 31 | |
| 30 |