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 / This formula uses scop...
Power Apps
Answered

This formula uses scope Error.

(0) ShareShare
ReportReport
Posted on by 125

Hi Folks,

 

I'm receiving this kind of error and I don't know how to fix. It is basically a Text on a Gallery, and the items/data source in gallery is a Split()

philifova_1-1669646525480.png

 

philifova_0-1669646444123.png

 

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    68,898 Most Valuable Professional on at

    Add a ';' after the Split() on the first line.  These are two separate functions and need to be seperated using a semicolon.

  • philifova Profile Picture
    125 on at

    Hi @Pstork1 

     

    Both of my screenshot is in different property. 

     

    philifova_0-1669647211238.png

    philifova_1-1669647247142.png

     

  • Pstork1 Profile Picture
    68,898 Most Valuable Professional on at

    Is Result one of the columns for the items in the gallery?  You might want to change that to some other name since Result is used as a keyword in some other functions.  If its not a column then where is Result being calculated?

  • philifova Profile Picture
    125 on at

    @Pstork1 

     

    The Items of my gallery is like this ;item1;item2;item3. That is why I split it to return multiple results using a delimiter ";". The ThisItem.Result, It was automatically provided by PowerApps. Is there a way to change it?

  • Pstork1 Profile Picture
    68,898 Most Valuable Professional on at

    The message about this item not in scope isn't actually an error.  That simply means that it can't show you the actual values at runtime like it normally does.  Your error is coming from something else in the formula that is invalid.  I would take your Find() function and put that into a separate label for troubleshooting so you can see what value is being returned at runtime.  I would also suggest adding some parentheses to the equation to group the subtractions.  Are you subtracting 17 from the overall length or from the location of "/B"?

  • Verified answer
    philifova Profile Picture
    125 on at

    @Pstork1 

     

    I was able to fix the problem, what I did is put the value first in a collection and reference it in gallery.

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 368 Super User 2026 Season 1

#1
Kalathiya Profile Picture

Kalathiya 368 Super User 2026 Season 1

#3
WarrenBelz Profile Picture

WarrenBelz 318 Most Valuable Professional

Last 30 days Overall leaderboard