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
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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

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.