web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Radio button to accept...
Power Apps
Answered

Radio button to accept 1 and 2 value from database field

(0) ShareShare
ReportReport
Posted on by

I have a radio button on my screen, set to  "NO" and "YES"

 

I need the radio to accept a 1 = NO and 2 = YES.

in the default of the radio button for "defaults" i have:

LookUp(pricing_escalation_master]', PRICING_ESCALATION_ID = Value(RBK_EscalationId_txt.Text) ,OPPORTUNITY_LARGE_BID)

OPPORTUNITY_LARGE_BID  has a  1 or 2  value in the field.

can the radio button understand 1 =  NO and    2  =  YES   ?  after the lookup function is read.

Dave

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    Community Power Platform Member Profile Picture
    on at

    Hi,

    It is looking for a true or a false. If the App was backed by a SQL database for example, it is also worth noting that it would understand 0 as false and 1 as true if it was a bit column.

    So what you want to do is do an If( and in that If( if the result of what you have placed above = 1, then set to false and if 2, set to true.

    Thanks

     

    Henry

  • Community Power Platform Member Profile Picture
    on at

    worked fine...

    If(Value(table_master.Selected.NSC_SUBMIT_ESCALATION) = 2,"YES","NO")

     

    dave

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard