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 / Changing Data Card Val...
Power Apps
Answered

Changing Data Card Values When Symbol is Selected

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello. I currently am creating an application based off of a previous application that has become "outdated". One of the convenient factors we had on the old application was the ability to click a radio button and instantly change the value of a data card value from "off" to "on". I had tried a few things in order to accomplish this task but my overall skill level with Power Apps is relatively low. 

Categories:
  • eka24 Profile Picture
    20,925 on at

    You may have to give further details, but try:

    In the Default of the Datacardvalue or Textbox, put:

    If(RadioButton.Selected.Value="ABC",

    "off","On")

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • WarrenBelz Profile Picture
    156,940 Most Valuable Professional on at

    Hi @Anonymous ,

    When you say change the value of a DataCard are you referring to one attached to the Radio Button or another one.

    If attached, you can simply make the Items of the Radio ["On", "Off'] as below then the Update of the DataCard if a field attached would be 

    YourRadioControlName.Selected.Value

    OnOffRadio.png

    If you are looking at changing another field, you could use the same control, but the Default of the other one would be as above and the OnChange of the Radio Control would be

    Reset(YourOtherControlName)

    Is this what you are asking? Happy to elaborate further.

     

    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.

  • WarrenBelz Profile Picture
    156,940 Most Valuable Professional on at

    Hi @Anonymous ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    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.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @WarrenBelz , thank you for your input and apologies for the delayed responce.

     

    This provided solution seems to be a very close fit for the desired effect. Although it is still retrieving some errors. To further elaborate upon the situation: 

     

    The datacardvalue is attached to a radio button and offers the option to toggle between "on" and "off" on an addational screen within the application. To make this process more simplified (as this process is one that happens frequently), my hope was to include a symbol on the homepage (using the hazard symbol) that could be clicked in order to change this value from the default "off" to "on". 

     

    There are a vast amount of changes that can be made within the application but with this being one of the most frequent, I wanted to determine a way to speed up the process and allow for a simple end user interface. 

  • Verified answer
    WarrenBelz Profile Picture
    156,940 Most Valuable Professional on at

    Hi @Anonymous ,

    You can do the same thing with the reset of the radio control - the Default to a Variable on the OnSelect of the icon

    Set(vRCReset,true);
    Reset(RadioControlName)

    the Default of the Radio Control

    If(
     vRCReset,
     vRCReset,
     Parent.Default
    )

    then at some point (exiting the screen with the radio control on it - reset the variable

    Set(vRCReset,false)

     

    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.

     

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 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard