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 / Modern ComboBox Defaul...
Power Apps
Unanswered

Modern ComboBox Default Selection - This Formula Uses Scope...

(1) ShareShare
ReportReport
Posted on by 10

Hi All,

 

I encountered pretty odd issue. In the canvas app I have a gallery. Within the gallery I have a modern combobox (cmb_SIC4Number) with DefaultSelectedItems property = LookUp(SIC4CodesInd, SIC4 = ThisItem.'SIC 4').

 

The source for the gallery is SharePoint List SearchCompany, where I have 'SIC 4' column (integer). To the canvas app there is also additional source loaded which is SharePoint List SIC4CodesInd where the "Primary Key" between these two are SIC4 codes.

 

Until yesterday it was working perfectly for few months. However, today morning it stopped working and the default properties do not show in the combobox (cmb_SIC4Number) anymore. There is also a warning/notification (not sure if it was before) "ThisItem = This formula uses scope, which is not presently suported for evaluation.".

 

What is even more odd, when I open the app as a user (not in the studio), it works fine. When I open in studio and either want to edit or run a preview - cmb_SIC4Number is blank (i.e. it shows the default "Find items" text).

 

Does anyone know what could be the reason and how to fix it?

 

If I use text label item with a formula ThisItem.'SIC 4' - it shows the value as expected. Additionally, when I use classic combobox (not modern), and the DefaultSelectedItems property = {Value:ThisItem.'SIC 4'} - it works. However, I would prefer to keep the modern one if that's possible.

Categories:
I have the same question (0)
  • FazalUrrehman Profile Picture
    131 on at

    Try This :

     LookUp(SIC4CodesInd, Value(SIC4) = ThisItem.'SIC 4').

    Let me know if it works.

    Thank You

  • Data3 Profile Picture
    10 on at

    Thanks for your input. However, it's the same error + delegation warning.

  • FazalUrrehman Profile Picture
    131 on at

    Can u help me by providing screenshots of the issue if u can ??

     

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 494

#2
WarrenBelz Profile Picture

WarrenBelz 352 Most Valuable Professional

#3
11manish Profile Picture

11manish 323

Last 30 days Overall leaderboard