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 / Filter an edit Form on...
Power Apps
Answered

Filter an edit Form on results from a Combo box used on another screen not working

(0) ShareShare
ReportReport
Posted on by 42

Hi Everyone,

 

i am fairly new to Power Apps and having probably a simple problem with one an App i am putting together for a SharePoint List. 

 

I have build most parts of the App but having trouble with the Edit form as the Item property is not working as i need it too. I would like the Edit form to display my fields that are connected to the SharePoint list from the selection in a Combo box on another screen. the below is what i have come up with and this does not accept as a valid formula: 

Filter('TML Stocklist','Part Number'=PartNumberCombo.Selected.Value)
I have also tried: 
Filter('TML Stocklist','Part Number'=PartNumberCombo.Selected.Result)
It feels like it is something simple so please help if you can and advise upon what Filter i should use to display Items it is the edit form that match a Combo box selection. 
Thanks in advance,
 
Matty2000
Categories:
I have the same question (0)
  • Sunil Kumar Pashikanti Profile Picture
    1,077 Moderator on at

    Where are you applying the formula?

     

    Checklist for verification:

     

    1) Did you set the Edit form DataSource property to same SharePoint list - TML Stocklist?

    2) The PartNumberCombo is correctly connected to SharePoint list - TML Stocklist (items property set to TML STocklist).

    3) Edit Form - Default property - Filter function

    Filter('TML Stocklist', 'Part Number' = PartNumberCombo.Selected.Value)

    4) Make sure the field name 'Part Number' match the actual column name in SharePoint list.

    5) Double check the column names and data types.

     

    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.

  • WarrenBelz Profile Picture
    154,621 Most Valuable Professional on at

    Hi @matty2000 ,

    What is the Items of PartNumberCombo and what type of field is 'Part Number'

  • matty2000 Profile Picture
    42 on at

    Hi WarrenBelz,

     

    Thanks again for the fast response and checklist completed below: 

    Checklist for verification:

    • Did you set the Edit form DataSource property to same SharePoint list - TML Stocklist?  Yes checked that.

    matty2000_0-1712809018823.png

     

    • The PartNumberCombo is correctly connected to SharePoint list - TML Stocklist (items property set to TML STocklist). Yes and the combo box works well with the sort of a list connected to it already.

    matty2000_1-1712809018825.png

     

    Sort(Distinct('TML Stocklist','Part Number'),Value,SortOrder.Ascending)

     

     

    • Edit Form - Default property - Filter function

    matty2000_2-1712809018827.png

     

    Filter('TML Stocklist', 'Part Number' = PartNumberCombo.Selected.Value)

     

    The error I get is Record not recongised

    • Make sure the field name 'Part Number' match the actual column name in SharePoint list.

    Checked and I type the formula in and it is populated with the name from the SharePoint list.

    • Double check the column names and data types.

    These are all correct as other combo boxes work as just the Filter on the Edit Form named “EditFormTMLStocklist”.

     

    The Items in the PartNumberCombo are alphanumeric (Letters and Numbers) and the Part Number field is a Single line text in SharePoint (Alphanumeric).

     

    There was no change to the error as you can see by my screen shot about also. 

     

    Thanks in advance for you looking at my issue. 

     

     

  • Verified answer
    Sunil Kumar Pashikanti Profile Picture
    1,077 Moderator on at

    Hi @matty2000 ,

     

    The error message is - The error I get is Record not recongised.

     

    The error message “Expected record value” in Power Apps typically occurs when there is a mismatch between the expected data type and the actual data being processed.

     

    Can you change your filter like below for your edit form:

     

    First(Filter('TML Stocklist', 'Part Number' = PartNumberCombo.Selected.Value))

     

    Use First() function to provide a single record, instead of unknown collection. The edit form is expecting only a single record.

     

    or use

     

    LookUp( 'TML Stocklist', 'Part Number' = PartNumberCombo.Selected.Value )

     

    The LookUp function is used to find the first record in a table that matches a specified formula. It allows you to search for a single record based on one or more criteria.

     

    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
    WarrenBelz Profile Picture
    154,621 Most Valuable Professional on at

    Hi @matty2000 ,

    Your Form Item should be

    LookUp(
     'TML Stocklist', 
     'Part Number' = PartNumberCombo.Selected.Value
    )

     

  • matty2000 Profile Picture
    42 on at

    @SunilPashikanti @WarrenBelz Thanks again as your help is muchly appreciated. 

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 538 Most Valuable Professional

#2
11manish Profile Picture

11manish 307

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard