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 default selec...
Power Apps
Answered

ComboBox default selected items not passing data to gallery

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi everyone,

 

I've got a form with a combo box connected to a gallery on the samescreen. When the user edits the form the selected items of the combo box should display as items in the gallery. The DefaultSelectedItems of the combo box shows the parent items though it looks like there's no data behind the titles. From the picture attached you can see that the combobox has 5 items however the gallery shows all values as blank. When I start interacting with the combobox and add new items it shows the data of that selection. Losing my mind a bit so though the community might be able to share some light.

 

Many many thanks in advance.

 

Ciprian

PA_Error.jpg
Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,925 on at
    If I can get additional information. Click on the combobox and check the formula on the Items property. Copy and paste the formula here. This will give a fair idea for solution. My second issue is do you want the selected item to be in your textbox or datacardvalue? If so put this formula on the default of the datacardvalue: combobox. Selected


    If you like this post give thumps up. If it resolved your request then mark as a solution
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @eka24 ,

     

    Thanks for looking at this. You are a genius! Facepalm on my side. The combobox is a lookupcolumn though instead of using Choices(List.LookUpColumnName) I used a collection. I can't remember why I clear collected the column in advance but that seems to have produced the blank values. 

     

    Thank you for mentioning the source, that made me change it to the original code and it works now!

     

    Genius !

     

    Thanks!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Wait, I know why I was using a collection. I didn't want all users available and only users that were approved. Bummer. I'll see if I can fix this somehow.

  • Verified answer
    eka24 Profile Picture
    20,925 on at
    If it resolved mark as a Solution. Otherwise you can state the issue so we look at it. Thanks I was able to help.
  • GA-01061236-0 Profile Picture
    2 on at
    scusate ho lo stesso problema ma non ho capito qual'e' stata la soluzione
     

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 345 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 177

Last 30 days Overall leaderboard