Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
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:
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.