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 / Populating a SharePoin...
Power Apps
Answered

Populating a SharePoint choice column with a value based on the selection in another choice column

(0) ShareShare
ReportReport
Posted on by 244

I could have sworn I knew how to do this... but it isn't working and I'm not sure what I'm doing wrong.

 

I have two SharePoint single-select Choice columns on my Power Apps Edit Form.

 

All I want is for the 2nd choice column to auto-populate Yes or No, depending on what is selected in the 1st choice column.

 

For example:

1st: A, B, C

2nd: Yes, No

If A or B selected in 1st, 2nd should be No. If C is selected, 2nd should be Yes.

 

This is what I put in the 2nd choice column value's DefaultSelectedItems box:

 

If((DataCardValue34.Selected.Value = "A" || DataCardValue34.Selected.Value = "B", "No", "Yes")
Categories:
  • Verified answer
    BhaskarDhone Profile Picture
    1,398 Super User 2026 Season 1 on at

    Try this.

    If(
     DataCardValue34.Selected.Value = "A" || DataCardValue34.Selected.Value = "B",
     { Value: "No" },
     { Value: "Yes" }
    )
  • axray Profile Picture
    244 on at

    @BhaskarDhone This worked - thank you so much!!! 👏

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

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard