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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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