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 / Automatically populate...
Power Apps
Answered

Automatically populate choice field based on another choice field - SharePoint List

(0) ShareShare
ReportReport
Posted on by 48

Hello,

 

I have one list in SharePoint that has, among other columns, two choice columns:

 

Column A

Option 1

Option 2

Option 3

 

Column B

Yes 

No

 

If the user selects Option 1 or Option 2 the Column B can be Yes or No, but if the user selects Option 3 the answer to Column B must always be Yes.

 

I'm using a PowerApps form for this SharePoint list, how can I automatically set the Column B to Yes if the user selects Option 3?

 

Thanks in advance for your time!

Categories:
I have the same question (0)
  • Verified answer
    Jeff_Thorpe Profile Picture
    6,085 Super User 2024 Season 1 on at

    You can try something like this in the DefaultSelectedItems property of Column B:

     

    If(ColumnA.Selected.Value = "Option 3", {Value:"Yes"}, Parent.Default)

  • vinimedina91 Profile Picture
    48 on at

    Hello @Jeff_Thorpe , thanks a lot for that!

    It worked perfectly!

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 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard