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

This formula uses scope which is not presently supported for evaluation data type....Default Value

(0) ShareShare
ReportReport
Posted on by 168

Hi,

I have a Drop Down on the edit form of a power app. I want the drop down default value to pick up the value of text column in a SharePoint list.  ThisItem. FileName brings up the following error: 

This formula uses scope which is not presently supported for evaluation data type

Ianhall1892_0-1610993645009.png

 

The dropdown is not connected to a data card in the associated list. Any pointers welcome

Categories:
I have the same question (0)
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Ianhall1892 

     

    ThisItem only works inside the gallery control. Do you have this dropdown placed inside the gallery control. If not, can you please share more details about the app configuration and what you want to build, we might be able to help you better.

     

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Ianhall1892 Profile Picture
    168 on at

    I'm using a Edit Form.

    Within the edit form there is a custom control that contains various dropdowns to filter information .

    A Patch is used to post the information selected to a SharePoint list.

    If I open the edit form again from the display form the values do not show.

    I can add labels that will work with ThisItem to show the information from the list in the custom control but was trying to get it to pull that value into the dropdown field.   

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    @Ianhall1892 

     

    In that case, you can set the default property of the dropdown controls to:

    If(FormName.Mode = FormMode.Edit, LookUp(DataSource, ID = ThisItem.ID).ColumnToShow)

     

    Here, you need to replace DataSource with the items property of the dropdown. ID needs to be replaced with the column that you are trying to match on. ColumnToShow is the column getting displayed in the dropdown.

     

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

  • Verified answer
    Ianhall1892 Profile Picture
    168 on at

    Hi I still receive the same error

    Ianhall1892_0-1611045319372.png

     

  • Ianhall1892 Profile Picture
    168 on at

    this seems to work in defaultselecteditems 

    Ianhall1892_0-1611047953759.png

     

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    @Ianhall1892 

     

    Default property expects a text value but the defaultselecteditems expects same schema as per the items. Does this resolve the issue? If so, please mark the thread as closed, so that it could be helpful for others having the same issue.

     

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 96 Super User 2026 Season 1

Last 30 days Overall leaderboard