Notifications
Announcements
Hi!
I'm new to power apps and this is my first time creating a canva app. I was trying to create a collection in onStart function of the App. Turns out I can't create any var with Set or clearCollect -which I understand by some vids is the way of creating vars in power apps- because it shows an error:
Translation: "Number of args is not valid: 1 was received, 2 were expected"
Translation: the name is not valid. "IceCream" is not recognized.
Hi @JuanArango ,
Try this instead
Set( Icecream, Table( { Flavor: "Strawberry", Quantity: 300 } ) )
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
MVP (Business Applications) Visit my blog Practical Power Apps
@WarrenBelz Hi!
With the given code I get two errors, the first being the same Set error as before, and the second one "Unexpected characters. The formula contains 'Colon' where 'ParentClose' was expected":
@JuanArango ,
Please see corrected post
@WarrenBelz I changed it as said,
I get the same Set error and "Unexpected characters. The formula contains 'Error' where 'ParentClose' was expected" :
@WarrenBelz Actually I'm noticing that no function is working at all.
Take this conditional for example in the fill prop of a component:
If(AppBarButton.isActive,RGBA(237,26,59,1),RGBA(0,0,0,0));
It should work fine I understand, but instead it shows these errors:
What country are you in ? You may need European syntax
Set( Icecream; Table( { Flavor: "Strawberry"; Quantity: 300 } ) )
@WarrenBelz Yup it was European Syntax (I´m in Colombia).
Thank you a lot!!!
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 721 Most Valuable Professional
Michael E. Gernaey 320 Super User 2025 Season 2
Power Platform 1919 268