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 / Combo box to show item...
Power Apps
Answered

Combo box to show item in ViewForm

(0) ShareShare
ReportReport
Posted on by 129

I'm having a bit of trouble with one part of my Power App. I'm using a ComboBox (dropdown list) to get information from a SharePoint list. It's supposed to look at one specific column and then give me a list of options based on that. Everything works great when I'm just looking at the dropdown list.
The formula in the combobox are attached as follows:

OnChange
Set(RecordVariable, LookUp(Sort('Table', 'Year', SortOrder.Descending), 'Name' = If(IsBlank(ComboBox1.Selected.Value), ComboBox1.SearchText, ComboBox1.Selected.Value)))

Items
Distinct('Table'.'Name','Name')

DisplayFields
["Value"]

SearchFields
["Value"]

But when I try to look at the same information in the view form, there's a problem - none of the information shows up. I'm not sure why this is happening or how to fix it.

Has anyone else had this problem? Does anyone know how to fix it? I'm stuck and would really appreciate any help you can give.

Categories:
I have the same question (0)
  • v-bofeng-msft Profile Picture
    on at

    Hi @Appleonwindows ,

     

    Did you set the combo box's DefaultSelectedItems property?

     

    Best Regards,

    Bof

  • Appleonwindows Profile Picture
    129 on at

    No, its empty inside.

    I inputted Parent.Default, it told me it expected table value

  • Verified answer
    v-bofeng-msft Profile Picture
    on at

    Hi @Appleonwindows ,

     

    Could you please show me the value of the Parent.Default ?

    If ‘Name’ is a text type column , you could set the combo box's DefaultSelectedItems property to:

    [{Value:ThisItem.Name}]

     

    Best Regards,

    Bof

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