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 / Change choice based on...
Power Apps
Answered

Change choice based on another choice

(1) ShareShare
ReportReport
Posted on by 10

hello,

I have an app form based on a sharepoint list. i have 2 choices columns, one with each of the provinces, and another with "french" or "English"

I would like to update the default selection for the language to "french" if the user chooses "Quebec" as the province.

the code i have currently in the DefaultSelectedItems property is If(ThisItem.Province.Value="Quebec","French","English").

do i need to nest the choices in a search formula first? what am i missing?

ogopogoelmo_0-1720723970212.png

 

 

Categories:
I have the same question (0)
  • Verified answer
    LaurensM Profile Picture
    12,516 Moderator on at

    Hi @ogopogoelmo,

     

    The DefaultSelectedItems expects a table / object value. Additionally, the value linked to ThisItem will only change after the Form submission. Should you want to change the radio button value based on the current selection, use DataCardValue.Selected.Value instead:

    If(
     //For the current selection use: DataCardValue.Selected.Value (adjust DataCardValue to the correct combobox name)
     ThisItem.Province.Value="Quebec",
     {Value: "French"},
     {Value: "English"}
    )

     


    If this solves your question, would you be so kind as to accept it as a solution✔️

    If you liked my solution, please give it a thumbs up👍

     

    Connect with me: LinkedIn | Blog

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 542 Most Valuable Professional

#2
Haque Profile Picture

Haque 206

#3
Kalathiya Profile Picture

Kalathiya 201 Super User 2026 Season 1

Last 30 days Overall leaderboard