Thank you for your response but my people picker field is "Name" which didn't appear in the drop down. So I created a "Name1" field as a single line text (which did appear in the selection dropdown) and set the value as displayname from the "Name" field which is my people picker field. But it still does not display. Not sure what else to try?
In your first sreenshot your in a Gallery. For the Gallery to call the function it would be in the Text property of the Heading 2 with the fx: Name.DisplayName or ThisItem.Name.DisplayName.
For the second screenshot it seems like your on a different screen showing form detail view. For that make sure the Items is YourGallery.Selected.
If you would like to have text box to display the name of the person or group column type defined in Sharepoint list, we could change the Text function of the Text box with the formula below:
See the screenshots:
If you need any further help on this, please post back.
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
Learn how to build the business apps that you need.