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 Apps
Answered

Dropdown error

(0) ShareShare
ReportReport
Posted on by 526

I have a SharePoint list that has a 'Status' field in it. The field is of Choice type and only 1 status is allowed to be selected. When I add a dropdown to my app and set the Items property to this field, I keep getting the below error, which I've never encountered before.
long error.png

I've tried throwing the status into a collection and also running a distinct on the field and all code I've tried comes back with that error.

Thanks

Categories:
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Try this on your items property of the drop down:

    Choices(<SPOListName>.'Status')

     
    SPOListName is the name of the SPO List that you want to use.  You can find that under data sources tab. 

  • kriggo15 Profile Picture
    526 on at

    @Anonymous, thanks for the quick solution. Why is Choices needed in this instance? I've never had to use this before and am unsure what I've done to cause it.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at
    Can I see what formula you were using that was giving you the error you mentioned in the OP?
  • kriggo15 Profile Picture
    526 on at

    I tried both:

    'PC Intake'.Status
    and
    Distinct('PC Intake',Status)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Both of those formulas expect the Status column to be a text field. 

    Item(int)Status(text)
    0New
    1Old
    2New
    3Old

     

     

    'PC Intake'.Status

     

    should return all 4 in the drop down. And the distinct formula should just return new and old. 

     

    However, in your case, Status is an option list. Those formulas do not work on lookup or option sets or pretty much any nested stuff. Your table is like this: 

    Item(int)Status(Option)
    0[New Option]
    1[Old Option]

     

    When you do 'PC Intake'.Status inside Choices, choices takes in the reference to that column. That is, it will literally get the Status Option set. More information here

  • kriggo15 Profile Picture
    526 on at

    Perfect, 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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard