cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
amcamara
New Member

Can't create a collection Name isn't valid. This identifier isn't recognized

Hi,

 

I'm having issue when creating a collection. Always getting error "Name isn't valid. This identifier isn't recognized" but i follow exactly the tutorial tutorial . Don't know if it's a bug or a bad config from me. It's look easy but I tried many things and it didn't work.

 

Please find the screenshot of my collection: ClearCollect(CityPopulations, {City:"London", Country:"United
Kingdom", Population:8615000}, {City:"Berlin",
Country:"Germany", Population:3562000}, {City:"Madrid",
Country:"Spain", Population:3165000}, {City:"Rome",
Country:"Italy", Population:2874000}, {City:"Paris",

Country:"France", Population:2273000}, {City:"Hamburg",
Country:"Germany", Population:1760000}, {City:"Barcelona",
Country:"Spain", Population:1602000}, {City:"Munich",
Country:"Germany", Population:1494000}, {City:"Milan",
Country:"Italy", Population:1344000});

citycollection.JPG

Thank you in advance.

 

BR

1 ACCEPTED SOLUTION

Accepted Solutions
rizkyaditya
Resolver III
Resolver III

Hello @amcamara ,

 

Based on your screenshot, please look at the intellisense that show the collect guidance.

It shows ; instead of , to be used inside your syntax.

 

Please try to change that to match the requirement.

I think it has something to do with the regional format for your powerapps.

 

I hope this help.

View solution in original post

2 REPLIES 2
rizkyaditya
Resolver III
Resolver III

Hello @amcamara ,

 

Based on your screenshot, please look at the intellisense that show the collect guidance.

It shows ; instead of , to be used inside your syntax.

 

Please try to change that to match the requirement.

I think it has something to do with the regional format for your powerapps.

 

I hope this help.

View solution in original post

amcamara
New Member

Hi,

 

Workeed! Thanks a lot.

 

BR

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,156)