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
    146,743 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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

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

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,743 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,079 Most Valuable Professional

Leaderboard