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 / Compare List and form ...
Power Apps
Unanswered

Compare List and form title and filter

(0) ShareShare
ReportReport
Posted on by 12

Hi All,

 

I have a question in powerApps Implementation. My requirements are:

 

1) Have two list in sharepoint (say List_1 and List_2 ) and each list have multiple records and I need to compare both the lists and filter the common records between them based on the unique title name.

2) after filtering, need to display common record from List_2 in readonly format next to the it's sibling record in List_1. and It has to update automatically in sharepoint List_1.  (Basically the matched record form should contain both values from List_1 and List_2 in sharepoint List_1 when I open that record)

3) And for remaining uncommon items it has to display "not available" next to the each form in List_1

 

Thanks,

I have the same question (0)
  • cchannon Profile Picture
    4,702 Moderator on at

    What is your question? We can help with specific questions, but we aren't going to just do your work for you.

  • surya64 Profile Picture
    12 on at

    Sorry for late reply..

    I have one form with set of fields. I need to compare title filed in a form with list of items from another gallery and if it matches, fetch the email value from gallery and add that column to the form.

  • surya64 Profile Picture
    12 on at

    AddColumns(
    [@List_1],
    "Email",
    LookUp(
    'List 2',
    Title in [@List_1].Title,
    'Email'
    )
    )

     

    This formula is working error free and works fine. But the column is not getting added to the "Add filed" section in order for me to drop on form. 

  • cchannon Profile Picture
    4,702 Moderator on at

    AddColumns does not directly impact the SharePoint List. It is adding a column to the in-memory representation of your list; not the list itself.

  • surya64 Profile Picture
    12 on at

    So, Is there any solution to add that to the sharepoint form ?

  • cchannon Profile Picture
    4,702 Moderator on at

    There is no OOB action in the SharePoint connector for "add a column to a SharePoint list" but there is a "Send HTTP Request to SharePoint".

     

    If you follow the REST request pattern outlined here in the example for "how to create a custom field for a list" that is the process you would follow in the Send HTTP Request action. Sample request copied below for reference:

     

    POST https://{site_url}/_api/web/lists(guid'{list_guid}')/Fields
    Authorization: "Bearer " + accessToken
    Accept: "application/json;odata=verbose"
    Content-Type: "application/json"
    Content-Length: {length of request body as integer}
    X-RequestDigest: "{form_digest_value}"
    
    {
     "__metadata": {
     "type": "SP.Field"
     },
     "Title": "field title",
     "FieldTypeKind": FieldType value,
     "Required": "true/false",
     "EnforceUniqueValues": "true/false",
     "StaticName": "field name"
    }
  • surya64 Profile Picture
    12 on at

    Do I need to send HTTP request to Sharepoint on button click?

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 291 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 282 Super User 2026 Season 1

#3
VASANTH KUMAR BALMADI Profile Picture

VASANTH KUMAR BALMADI 195

Last 30 days Overall leaderboard