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 / Updating 2 Data Card V...
Power Apps
Unanswered

Updating 2 Data Card Values From One Data Card Selection

(1) ShareShare
ReportReport
Posted on by

I'm trying to update a power app that submits a form to a SharePoint list.  One of the fields in the form is "Employee" which is a dropdown selection of an Employee column in the SharePoint list which is a People and Groups field.  On submit, this writes the selected employee to the "Employee" column in SharePoint along with all the other form fields into their respective columns.

 

What I'm trying to do is have an additional column for the employee's department.  The best (only) way I found to do this is add another People and Groups column and have it display the Department attribute (the Employee column displays the Display Name attribute).  To avoid input redundancy, I want to have the Employee Dept data card value update with the Employee data card selection, but it is blank every time I submit the form.  I have both data cards set with the same Update value but the Employee Dept data card is not writing anything to the SharePoint list.  Below is what I have set for the Employee data card which works fine:

joliverkc_0-1721143868475.png

 

So, I figured I could use the same variable in the Update field for my Employee Dept data card, but that did not seem to work.

joliverkc_1-1721143926271.png

 

Categories:
I have the same question (0)
  • Ami K Profile Picture
    15,674 Super User 2024 Season 1 on at

    @joliverkc - your set up looks fine to me and this is not a problem I can replicate in my environment.

     

    Is there a need to capture the department attribute onto a separate People data type, when you can simply save that information onto a separate Single Line Text column? You can then use the below on the Update property of that Single Line Text DataCard:

     

    EmployeeValue.Selected.Department

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard