Skip to main content

Notifications

Community site session details
Power Apps - Building Power Apps
Answered

Multiple formulas in OnChange property

Like (0) ShareShare
ReportReport
Posted on 7 Mar 2023 10:05:45 by 56

Hi there, 

 

I am making an app where i have a dropdown box. In this dropdown box i want to make some variables and do a clear collect in the "OnChange" property. When i make an extra button and put the excact same function in the "onSelect" property, it works fine. But when i put the Clearcollect() in the dropdown "Onchange" i get a weird error.  Can somebody help me? Why does it do this? 

error.png

Categories:
  • LanderDG Profile Picture
    56 on 07 Mar 2023 at 12:25:50
    Re: Multiple formulas in OnChange property

    Thank you!

  • Verified answer
    WarrenBelz Profile Picture
    147,161 Most Valuable Professional on 07 Mar 2023 at 11:19:40
    Re: Multiple formulas in OnChange property

    Hi @LanderDG ,

    Try using ;; instead of && in both cases there.

     

    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

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 250 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 126

#3
stampcoin Profile Picture

stampcoin 115

Overall leaderboard
Loading started
Loading started