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 / Radio - if either of t...
Power Apps
Answered

Radio - if either of two values are selected, here's a default for each one, otherwise stay blank

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I'm trying to do a switch (but open to other methods!) on a radio with two options, "Disposed" or "Move", basically:

 

If DataCardValue126 is filled in select "Disposed"

If DataCardValue127 is filled in, select "Move"

If both are blank, do not select either (be blank).


I'm trying the below but it's not working.

Switch(Radio1.Selected.Value,!IsBlank(DataCardValue126.Text),"Disposed",!IsBlank(DataCardValue127.SelectedDate),"Move","")

Categories:
I have the same question (0)
  • Verified answer
    PriyankaGeethik Profile Picture
    3,320 Super User 2024 Season 1 on at

    Hi @Anonymous ,

     

    Try the below code 

    if(!IsBlank(DataCardValue126.Text),"Disposed",!IsBlank(DataCardValue127.SelectedDate),"Move", IsBlank(DataCardValue126.Text) && IsBlank(DataCardValue127.SelectedDate),"")

     

     

    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

    Oh wow that worked perfectly, thank you!

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 366 Most Valuable Professional

#2
11manish Profile Picture

11manish 184

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 99 Super User 2026 Season 1

Last 30 days Overall leaderboard