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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

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
Community Champion
Community Champion

@Anonymous  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
Community Champion
Community Champion

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

Anonymous
Not applicable

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

Helpful resources

Announcements
60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.