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()
I was able to fix the problem, what I did is put the value first in a collection and reference it in gallery.
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"?
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?
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?
Add a ';' after the Split() on the first line. These are two separate functions and need to be seperated using a semicolon.