The Last function:
- PowerApps Last is a function that will return the last item or record of a data source or a table.
Therefore in your code, it will pull the Last item or record in the data source 'ISR Tracking'.
So, are you expecting that code to be executed, if so, what does the 'ISR Tracking' SP List look like?
If(IsBlank(SharePointIntegration.Selected) || IsEmpty(SharePointIntegration.Selected),Last('ISR Tracking'),SharePointIntegration.Selected)
On the other hand, are you expecting SharePointIntegration.Selected to not be blank or empty?
FYI, not sure why you need the IsEmpty? Since I believe based on the following it is redundant and isBlank should be sufficient to cover all your bases:
The isEmpty operator checks if a string contains no characters and is only whitespace. The isBlank operator checks if a string contains no characters, is only whitespace, and is null.
Providing this information to hopefully help lead you to a solution. However, please provide additional details like the 'ISR Trakcing" SP List, etc. and will see what we can figure out.
Hope this helps.