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 / ComboBox DefaultSelect...
Power Apps
Unanswered

ComboBox DefaultSelectedItem Issue

(0) ShareShare
ReportReport
Posted on by Super User 2024 Season 1

Hi 

Akash17_0-1690222424654.png

I have Form with above fields in power apps where based on Ticket Request, Department and Team fields will Automatically fetched and fill these details to achieve this I have used "DefaultSelectedItem" property of combo box
If(Checkbox2_1.Value=true,{Value:varGetTeamDetails})

Where, VarGetTeamDetails contains teams info which it is successfully able to fetch and display as a "Team4" in image you can see

But the moment I click on Submit button it show me an error
1.Team is mandatory detail
2. I have tried removing and re adding the data card

Thanks! 

 

Categories:
  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Akash17 ,

     

    Could you please share more details about your scenario? What type is the Team column in your list, Choices or LookUp? Does it allow multiple selections?

     

    Best regards, 

     

     

  • Akash17 Profile Picture
    Super User 2024 Season 1 on at

    Hi @v-jefferni 
    It allows only single selection and at backend it is Single line of text in sharepoint
    Thanks

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Akash17 ,

     

    I assume varGetTeamDetails is a variable created by OnChange of Department Combo box and get from Team list where has a Team column, then please try below:

     

    If(Checkbox2_1.Value,varGetTeamDetails.Team)

     

     

    In addition, Update of the Team Data Card need to set as follows because of the Text column type:

    TeamComboBox.Selected.Team

     

     

    Best regards,

  • Akash17 Profile Picture
    Super User 2024 Season 1 on at

    Hi
    Thank you for quick replay 
    I already have these 2 things implemented

    Akash17_0-1690533394062.pngAkash17_1-1690533743567.png

    you can see already Team1 is showing in combobox also
    my problem here is not to display it is working fine

    But when i click on submit form then it throws me an error at Team datacard 

    Akash17_2-1690533915021.png

     

     

     

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Akash17 ,

     

    You have Value column in DefaultSelectedItems, however, the Update is referencing .TeamName column which I suspect includes nothing.

     

    Please try in Update and set to:

    TeamCombobox.Selected.Value

     

    Best regards,

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 258

#3
Mohsin Ali Profile Picture

Mohsin Ali 231

Last 30 days Overall leaderboard