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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
DeeBali
Helper I
Helper I

Expression.SyntaxError: Token ',' expected

Hell Fabric Community,

 

I am trying to use List.intersect function to fint common values across tables but everytime I do that, I recicve error Expression.SyntaxError: Token ',' expected

This is my code:

= List.Intersect( { 01_2024_SMBMI[Email Address], 02_2024_SMBMI[Email Address], 07_2023_SMBMI[Email Address], 08_2023_SMBMI[Email Address], 09_2023_SMBMI[Email Address], 10_2023_SMBMI[Email Address], 11_2023_SMBMI[Email Address], 12_2023_SMBMI[Email Address]}, Comparer.OrdinalIgnoreCase)

DeeBali_0-1710279961907.png

 

 

Can someone assist me if I have extra commas or missing commas in my code? Thank you so much. 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

You are using "funny" characters that you need to escape.

 

Instead of 

 

01_2024_SMBMI

 

you need to specify

 

#"01_2024_SMBMI"

 

etc.

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

You are using "funny" characters that you need to escape.

 

Instead of 

 

01_2024_SMBMI

 

you need to specify

 

#"01_2024_SMBMI"

 

etc.

Thank you Sir. 

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

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.