cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Nigelh54
Frequent Visitor

Help with getting the display name of a people picker into a dropdown box

Hi,

   I am trying to get the DisplayName value into a dropdown control. I can filter the list and get the ID's of the items, which are held in the Title field but i cannot get the DisplayName value. Below is the code i am using

Filter('CAMs and Admins',Label2.Text=Admin.DisplayName).Title

If I replace the Title with CAM (the person field in SharePoint) I get a warning saying "

Warning: The columns produced by this rule are all nested tables and/or records, however the property expects at least some columns of simple values (such as text, or numbers)."

Any help would be appreciated

 

3 REPLIES 3
cwebb365
Power Participant
Power Participant

Should be able to end the filter with ).CAM.Displayname to get display name

Nigelh54
Frequent Visitor

Hi cwebb365,

                    I tried that but is says the name isn't valid

 

v-albai-msft
Community Support
Community Support

Hi @Nigelh54 ,

What is "Admin" mentioned in your formula? Is this also a Person column?

Are you using this formula into a dropdown?

Also please provide some screenshots of your list structure(a SP list?).

Best regards,

Allen

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (2,840)