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 / Reset datacard values ...
Power Apps
Answered

Reset datacard values when Combobox value is changed

(0) ShareShare
ReportReport
Posted on by 55

Hello, 

I'm trying to create a formula where DataCard values will reset when the selection in a ComboBox is changed.

Currently, I have a ResetControl = True on all of the DataCard values, for when the Form is submitted, it would reset the values:

 

In the Edit Form OnSuccess property: Set(ResetControl,true);Set(ResetControl,false)

In the Datacard value Reset property: ResetControl = true


I found a solution by adding this (below) formula to the OnChange property of the ComboBox. Still, it is not working with the ResetControl formula I already had in the Reset property.

ComboBox OnChange formula: UpdateContext({ resetVar: true }); UpdateContext({ resetVar: false })
Error on the Reset property for the DataCard values: ResetControl=true; resetVar

How can I make this work?

Categories:
I have the same question (0)
  • Verified answer
    BCBuizer Profile Picture
    22,752 Super User 2026 Season 1 on at

    Hi @FranciscoSaba ,

     

    Since the Reset property is declarative, you can't chain formulas. Instead you have to use logic operators:

     

    ResetControl || resetVar

     

    *Also you don't need to use "= true" since the value of ResetControl is a boolean in itself and will be accepted as such.

  • Adam1986 Profile Picture
    139 on at

    hi @FranciscoSaba,

    maybe try to use 

    ComboBox.OnChange =

     Reset(DataCardValue1) ; Reset(DataCardValue2);...;Reset(DataCardValueX) 

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 610

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard