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 / Gallery issues: displa...
Power Apps
Answered

Gallery issues: displaying username "This formula uses scope"

(0) ShareShare
ReportReport
Posted on by 35

I'm having some issues when I'm trying to display in a Gallery the name of the user that was assigned to one of the jobs created in my app. The message that I'm getting is  ThisItem.'Lead SRO' = This formula uses scope. which is not presently supported for evaluation DATA TYPE: Table.

 

The app uses a sharepoint list and this field comes from a 'Person or Group' column. 

 

To assign a job, the app uses a ComboBox to select the Username and there is no values included as Default.

 

I'm attaching a picture of how it looks like.

 

Thanks in advance for your help team

 

 

Problem with user display.PNG
Categories:
  • Samuel-Zhou Profile Picture
    393 on at

    Hi @RubenPuertos3  Try input  

    ThisItem.'Lead SRO'.Displayname

     

  • RubenPuertos3 Profile Picture
    35 on at

    Hi Samuel-Zhou, unfortunately "Displayname" is not working, the message that I get from it is: "Name isn't valid. "Displayname" isn't recognized"

  • MaximusDecimus Profile Picture
    281 on at

    Going on the back of Samuel-Zhou - when you add the . after ThisItem.'Lead SRO' do you get any additional fields that you can select?

    ThisItem.'Lead SRO' seems to be return a table

  • Samuel-Zhou Profile Picture
    393 on at

    @RubenPuertos3 OK, you can first confirm what content will be displayed for ThisItem.'Lead SRO'.

  • RubenPuertos3 Profile Picture
    35 on at

    I can choose must of the other fields (Microsoft List), LeadSRO is coming from a column that is Person or Group, I'm wondering if that is part of the problem.

    Group.PNG
  • RubenPuertos3 Profile Picture
    35 on at

    I would like the name (FullName) of the individual to be displayed.  

  • Samuel-Zhou Profile Picture
    393 on at

    @RubenPuertos3 Normally, the personnel or group field should have the following fields for selection, as shown in my figure below:

     

    SamuelZhou_0-1679017319307.png

     

  • RubenPuertos3 Profile Picture
    35 on at

    Thanks Samuel,

     

    I'm trying to include the Displayname but I'm getting the message "This formula uses scope, which is not presently supported for evaluation"

     

    I would like to display the name of the user.

     

    Names issues.png
  • Verified answer
    Samuel-Zhou Profile Picture
    393 on at

    @RubenPuertos3 I guess your person or group field may have enabled the option for multiple selections. Try setting the formula to:

     

    Concat(ThisItem.'Lead SRO',DisplayName,",")
  • Verified answer
    RubenPuertos3 Profile Picture
    35 on at

    Thanks Samuel, the error has disapeared; however, my issue was that I did set up my List as 'multiple selections', once I deactivated that option I could see the name of the user.

    Thanks Samuel and thanks team, that was the solution

     

     

    Solution.PNG

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 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 239

Last 30 days Overall leaderboard