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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Expression.SyntaxError: Esperava-se o token Comma - Help me please

= List.Min(Fechamento 2015[Dt.Emissão] & Fechamento 2019[Dt.Emissão])

What is wrong?

Thanks

1 ACCEPTED SOLUTION
v-alq-msft
Community Support
Community Support

Hi, @Anonymous 

 

I wonder what date type the columns are. Here are examples of '&'.

 

Expression:"A"&"BC"  Result:"ABC"
Expression:{1}&{2,3}  Result:{1,2,3}
Expression:[a=1]&[b=2]  Result:[a=1,b=2]

 

 

Here is the syntax of 'List.Min'. It is required a list as the first parameter. So the above formula needs to return a list.

 

List.Min(list as list, optional default as any, optional comparisonCriteria as any, optional includeNulls as nullable logical) as any

 

 

For further information, please refer the official document .

 

Best Regards

Allan

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

View solution in original post

3 REPLIES 3
v-alq-msft
Community Support
Community Support

Hi, @Anonymous 

 

I wonder what date type the columns are. Here are examples of '&'.

 

Expression:"A"&"BC"  Result:"ABC"
Expression:{1}&{2,3}  Result:{1,2,3}
Expression:[a=1]&[b=2]  Result:[a=1,b=2]

 

 

Here is the syntax of 'List.Min'. It is required a list as the first parameter. So the above formula needs to return a list.

 

List.Min(list as list, optional default as any, optional comparisonCriteria as any, optional includeNulls as nullable logical) as any

 

 

For further information, please refer the official document .

 

Best Regards

Allan

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

Hi, @Anonymous 

 

If you take the answer of someone, please mark it as the solution to help the other members who have same problems find it more quickly. If not, let me know and I'll try to help you further. Thanks.

 

Best Regards

Allan

 

amitchandak
Super User
Super User

Seem like format issue

refer

List.Min({1, 4, 7, 3, -2, 5})

 

https://docs.microsoft.com/en-us/powerquery-m/list-min

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors