Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
DeonDP
Helper II
Helper II

M code in Power query Custom Column created not consistent

Hi All

 

This one is doing my head in. 

 

Custom Column 1 -> I created a Custom Column in Power Query Editor where the "SupplierCode" from another table (DimmSupplier for Lookup-EDI) is looked up and added into the table where the SupplierCode = SupplierID.  Works just fine

 

Custom Column 2 ->So now I want to do the same between two other tables and  I get the "Token Equal expected" error message.

 

I know it is going to be something silly, but I just cannot figure it out.

 

Any help or another way of doing it will be appreciated.

 

DeonDP_0-1603857928049.png

 

1 ACCEPTED SOLUTION
wdx223_Daniel
Super User
Super User

@DeonDP  variant name can not include space, if you do need a space in the name ,try to bracket it in #"", such as #"Var Name"

View solution in original post

2 REPLIES 2
wdx223_Daniel
Super User
Super User

@DeonDP  variant name can not include space, if you do need a space in the name ,try to bracket it in #"", such as #"Var Name"

Awesome!! You are DA MAN DAN!! Working just fine now.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.