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 / Two SharePoint lists -...
Power Apps
Unanswered

Two SharePoint lists - Employees and Positions - how to assign?

(1) ShareShare
ReportReport
Posted on by 100

I have a list of all positions and then a list of all employees. I want to be able to select an employee and assign a position to them. So far I have two galleries, one for each list, and two forms, one for each list. 

On the EmployeeForm I have a "Search Position" ComboBox with the Items: Distinct(Positions, SearchPosition). It seems to work, but when I go to edit the form from the gallery select, it doesn't load. 

Example, if "John Doe" is assigned "Position - Front Desk" it will save onto the SharePoint list, but when I select 'edit' from the gallery, that field doesn't load. 

What is the best way to approach this? 

Categories:
I have the same question (0)
  • mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at

    hey @PBInonpro 

     

    what do you mean by does not load? is it empty or what?

  • PBInonpro Profile Picture
    100 on at

    Yes, sorry. When I select a record from the gallery to edit all the fields load except this one. it is blank, but in SharePoint on the list, the data is there. I am assuming I need to do a lookup, but i can't figure out a formula. 

     

  • mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at

    What kind of columntypenis the empty field and whats the column name?

  • PBInonpro Profile Picture
    100 on at

    On the Positions list I have a column called "ConCatPosition" which has all the unique values to make the position unique (Position ID, Title, etc). 

    On the Employees List I have a column renamed to "PositionID". 

    What should happen, is on the Employee form, you have the option to select from a ComboBox the "position" for that employee. 

    Positions: ConCatPosition = Calculated

    Employees: PositionID = Text

  • mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at

    select the datacard that has no value and check the Default property of it.

    if its empty put ThisItem.ColumnName (replace with the name of your column)

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

  • PBInonpro Profile Picture
    100 on at

    No that isn't it, i tried that and it is good. I troubleshoot it down to the 'defaultselecteditems' of the combobox. Since it is pulling in data from the Positions list but the form has data from the Employees list, this is the disconnect. 

    I Have "Lookup(Positions, ConCatPosition = Parent.Default.PositionID) but I am getting an error since "PositionID is of type text. 

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 547

#2
WarrenBelz Profile Picture

WarrenBelz 444 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 322

Last 30 days Overall leaderboard