web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Powerapps Complete Beg...
Power Apps
Answered

Powerapps Complete Beginner

(0) ShareShare
ReportReport
Posted on by 112

Hi All

 

I'm currently working through the "Learn Microsoft Powerapps" book and so far so good. However, I am onto creating collections and have been instructed to use the following:

// Branding
ClearCollect(colColors,
{Name: "Primary", Color: RGBA(102,152,0,1)},

 

colColors is showing as not recognised. Has this now changed or am I completely missing something?

 

Thanks

Categories:
  • Verified answer
    RoboHeart Profile Picture
    65 on at

    Hi @lascough20 

     

    it depends...if this is your whole PowerFx line then the function is not properly closed:

    ClearCollect(colColors,{Name: "Primary", Color: RGBA(102,152,0,1)})

    if you have different locale settings it could also be something like this (in a German environment):

    ClearCollect(colColors; {Name: "Primary"; Color: RGBA(102;152;0;1)})

     

  • Verified answer
    lascough20 Profile Picture
    112 on at

    Ah, now this looks to be working. Very simply closed the function correctly. Thanks

    (beginners eh...)🙄

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 405 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard