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 / ThisItem.Status = This...
Power Apps
Answered

ThisItem.Status = This formula uses scope, which is not presently supported for evaluation. Data type: text

(0) ShareShare
ReportReport
Posted on by 247

In a gallery I try to use ThisItem.Status as the default value for a text box, however, getting error: "ThisItem.Status = This formula uses scope, which is not presently supported for evaluation. Data type: text". Any idea why? I tried to change it to display a different field (for example, Segment), and it works. In the database, all are nvarchar(255). Any idea why?

 
 
1.PNG
Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,383 Most Valuable Professional on at

    Are you sure the Status column is included in your data source?  Data sources can be set to filter out some columns.   If status isn't included as a field in the records returned then this is the kind of error you will get.

  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @NewBee117 ,

    Could you please share a bit more about your data source? Is it a SQL Table or SP List or a CDS Entity?

    Is there a column called "Status" in your data source?

     

    Based on the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned. Please check if the "Status" column existed in your data source.

     

    In addition, please also make sure the "Status" column is a normal Text type column in your data source, rather than a Complex type column, e.g. Choice type column in a SP List, A LookUp type column in a CDS Entity, ...

     

    If the "Status" column is a Complex column, when you type a property selector operator (.) after the ThisItem.Status, the available properties would be listed:

    ThisItem.Status.

    9.JPG

     

    Please consider take a try with above solution, check if the issue is solved.

     

    Best regards,

  • NewBee117 Profile Picture
    247 on at

    Yes, Status is a column in Azure SQL database, data type is nvarchar(255). Interestingly, this morning, even though the not supported message is still there, at least it is displaying the correct Status from the database. Maybe it is a message to ignore?

    screen.PNG
  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @NewBee117 ,

    Does the "Status" column display proper value within your app?

     

    Currently, I could not reproduce your issue on my side. I think it is a temporary issue with "Formula bar result" mechanism in PowerApps Studio.

     

    If the "Status" column could be displayed within your app properly, you could ignore this prompt info within your PowerApps Studio. If the issue still exists, please consider re-generate a new app based on your SQL Table data source, then check if the issue is solved.

     

    Best regards,

  • NewBee117 Profile Picture
    247 on at

    Yes, the day after I created this thread, the "Status" column display proper value. So I'll ignore this message then.

    Thanks,

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I had the same problem. Again it corrected itself overnight. 

    Do you think this is a glitch?

  • skarvijayarag Profile Picture
    6 on at

    Is this issue resolved, I have collection data to display in a label, it throws error as "This formula uses scope" error. any idea why I am getting error?

  • Foss3 Profile Picture
    20 on at

    I guess that your issue arises from your dataset not having a "ThisItem.Status" for all entries. Therefore PowerApps can display most statuses, but some are missing, so you get the error. 

    I replicated the error and fixed it by implementing an If()-clause that checks if Status is empty first. 

    Example:  If(IsBlank(ThisItem.Status), "Status missing", ThisItem.Status)

     

    Hope this helps to anyone new to this thread.

  • Kawalpreet Profile Picture
    30 on at

    use ThisItem.Status.Value

  • ArjunUXUI Profile Picture
    3 on at

    Excellent!!! 🙂 Works well

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 633

#2
11manish Profile Picture

11manish 588

#3
Valantis Profile Picture

Valantis 457

Last 30 days Overall leaderboard