Skip to main content

Notifications

Power Apps - Building Power Apps
Unanswered

Getting this formula uses scope, which is not presently supported for evaluation

(0) ShareShare
ReportReport
Posted on by 28

I have a SharePoint list containing a field type person and simple trying to add to the BrowseGallery to display it, using a label with text "ThisItem.'my field'.DisplayName and is getting this error. What am I doing wrong?

 

TIA!

  • RandyHayes Profile Picture
    RandyHayes 76,287 on at
    Re: Getting this formula uses scope, which is not presently supported for evaluation

    @weiwei3k 

    Well that depends.  A dropdown is a specific type of control.  It is not text, so if you want text, then you need a text control. 

    Still this question remains - "So, does your person column definition allow for multiple selections??"

     

    But, if you are going to display a table of records in a text control, then you need to use the Concat function to do so.  The last question I had in the last post was what format did you want for that.  So, use the Concat function and put in the format for the column and any separator. 

  • weiwei3k Profile Picture
    weiwei3k 28 on at
    Re: Getting this formula uses scope, which is not presently supported for evaluation

    There is no error... the person(people) name just shows up as a dropdown instead of text like the details screen... not sure if there is anything that can be done about this...

  • RandyHayes Profile Picture
    RandyHayes 76,287 on at
    Re: Getting this formula uses scope, which is not presently supported for evaluation

    @weiwei3k 

    Yes - your original formula is generally correct.  So what was the exact error message you were receiving?

     

    The formula editor (in your picture) is showing the result of that formula as a Table.  So, does your person column definition allow for multiple selections??  If so, then the question is really, how do you want to show multiple names in your label?

  • weiwei3k Profile Picture
    weiwei3k 28 on at
    Re: Getting this formula uses scope, which is not presently supported for evaluation

    Actually I think that is due to I'm using a label vs. a combo box to display the person field?? Anyway I was able to use a combo box however the display shows combo box with the person's display name... which is not what I want, I just simply want to show a text field with the person's display name. Is there a way to do it?

  • RandyHayes Profile Picture
    RandyHayes 76,287 on at
    Re: Getting this formula uses scope, which is not presently supported for evaluation

    @weiwei3k 

    There is nothing wrong and it is not an error.  It is a message from the Formula Editor telling you that it cannot evaluate what "ThisItem" is.

    How could it??  ThisItem refers to the current record in a table of records (your gallery), so how would it know which record to evaluate?

     

    Anyway, the message you are seeing is completely normal and is not an error.

     

    Are you actually experiencing an error or issue of some type?

     

    I hope this is helpful for you.

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,304

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard