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 / display data in a form...
Power Apps
Answered

display data in a form based on output from combobox

(0) ShareShare
ReportReport
Posted on by 270

hi all,

 

I have a ComboBox and I want the ability to display the Data in a display form based on the selected data.

 

The data in the combobox will only ever appear once but will ALWAYS appear in the table.

 

i'm trying the below on the "Items" on the form but doesn't work. 

 

 

filter(LFTable, Name = ComboBox2.selected.Name)

 

*i don't have multiple selected on the combobox there will only ever be 1 thing selected*

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,079 Most Valuable Professional on at

    Hi @mrleetyler ,

    Apart from the capitalization, as long as your Combo Box Items is based on the field Name (not a good title for a field as it is a Reserved Word), this should work in the Items of a gallery

    Filter(
     LFTable, 
     Name = ComboBox2.Selected.Name
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • mrleetyler Profile Picture
    270 on at

    thanks WarrenBelz i have tried this and get error "Expected Record Value"

     

    if it's revelant the data is being pulled from a static Excel datasource.

  • flugaoveltem Profile Picture
    217 on at

    Have you try: 

    Filter(LFTable, Name = ComboBox2.selected.Value)

     

    On Items propertie on LFTable 

  • WarrenBelz Profile Picture
    153,079 Most Valuable Professional on at

    @mrleetyler ,

    Yes - I noticed you mentioned form (my reference was for a gallery). You need

    LookUp(
     LFTable, 
     Name = ComboBox2.Selected.Name
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • mrleetyler Profile Picture
    270 on at

    getting closer for sure!!

    no red lines or errors but no results just implies it's not connected to data

     

    Item properties from Form:

    Item detail for Display FormItem detail for Display Form

     

    Datasource Properties from Form

    DataSource detail for Display formDataSource detail for Display form

     

    "Supplier" combobox is combobox2. has something selected but implies it's not connected to anything

     

    combobox has data selected and doesn't reflect into formcombobox has data selected and doesn't reflect into form

  • WarrenBelz Profile Picture
    153,079 Most Valuable Professional on at

    @mrleetyler ,

    It appears you may have a second form below - you have shown the DataSource on the upper area as being your table (which is correct) and if you are getting no errors on the Item, then all that is left is whether the filter actually produces a matching record. The form also seems to be displaying data.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • Verified answer
    mrleetyler Profile Picture
    270 on at

    managed to resolve the problem by using a datatable and the same formulas. using a form view didn't seem compatible with an Excel or Collection. so Datatable worked fine

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