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 / Change item between in...
Power Apps
Answered

Change item between individuals

(0) ShareShare
ReportReport
Posted on by 59

I have a power app in which the user is responsible for a number of items. There are times when these items (can be one or many) need to change from one individual to another. I am trying to create something (a form??), where i can go and select a user and then say that this one or many items now belong to another user.

 

So lets say.

 

John is responsible for counting apples from six companies.

Bob is responsible for counting oranges from three companies.

 

I need to change three of John's companies and give them to John.

 

What is the simplest method of doing so? i would lie it to update my SharePoint list, so that when John goes into the app he will now only see three companies and Bob will see six companies.

Categories:
  • Verified answer
    Ami K Profile Picture
    15,689 Super User 2024 Season 1 on at

    @Kopistars11 - Sounds like you're talking about creating a one-to-many relationship between a person (one) and (many) companies.

     

    Typically, this is done by creating different tables and relating them together using a common identifier.

     

    However, based purely on what you have described, the simplest method is to run everything off a single list.

     

    1. Create a new SharePoint List with a People Picker field and a Single Text Field called Company, as well as another Single Line Text field called Responsibility (or whatever name you want).

     

    2. Add an Edit Form control into your App and associate the DataSource property to this List

     

    3. Insert a Dropdown or ComboBox control into the Company DataCard.

     

    4. In the Items property of that control, enter your Companies. This can be from a separate list, but for simplicity, let's add the following into the Items property:

     

    ["Company A", "Company B", "Company C"]

     

    5. Delete the Text Input field for the Company DataCard

     

    6. Address the Y and X DataCard property errors by replacing the deleted fields with the name of your Dropdown/ComboBox control. For the Update property, replace it the formula with:

     

    'Your ComboBox Control'.Selected.Value

     

    7. Add a Button control into your app and in the OnSelect property, enter: 

     

    SubmitForm('Your Form')

     

    8. Add another Button control into your app and in the OnSelect property, enter: 

     

    NewForm('Your Form')

     

    9. Add a Gallery control into the same screen and connect it to the same data source.

     

    10. On the OnSelect property of the Gallery control, enter:

     

    EditForm('Your Form')

     

    11. On the Item property of the Form, enter:

     

    'Your Gallery Name'.Selected

     

    12. In the Default property of the Dropdown or DefaultSelectedItems property of the ComboBox control, enter:

     

    Parent.Default

     

    13. On the Items property of the Gallery, enter:

     

    Filter(
     'Your SharePoint List',
     'Your People Field'.Email = User().Email
    )

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 360 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 325

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard