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 / Define the options for...
Power Apps
Unanswered

Define the options for a dropdown box in a Form

(0) ShareShare
ReportReport
Posted on by 4

Hello,

 

I'm currently trying to build a form to add items into a list on SharePoint. I successfully created the form but I need to be able to connect some of the form dropdown boxes to an excel table. I know the simplest way to do this is define the choices of the column on the list itself but the choices are way too many for the list.

 

Is there any way I could achieve this within the PowerApp environment itself?

 

Categories:
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Styli

    Import the excel table to powerapps and use it as the datasource of the dropdown. 

  • Styli Profile Picture
    4 on at

    Hi,

     

    I can do that if I was using a standalone dropdown box, but I'm using the editform option.

     

    My dropdown currently looks like this:

    Styli_0-1680014721645.png

     

     

  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Styli,

    Could you please tell me that what is the field_5 in your Choices() function? What is the relationship between field_5 and 'Machine Code'?

     

    Here is what I get from your description:

    1). You have an edit form connected to the SP list, the 'Machine Code' is a Choice type in your list, right?

    2). You want to populate the Machine Code combobox with a column from Excel table, right?

     

    If so, you could set the Items property of the ComboBox with:

    Distinct(Table1,ColumnName)

    Set the Update property of the data card with:

    {Value:ComboBox.Selected.Result}

     

    Further, if you don't plan to refer to the options from the Choices column in your list, there is no need to set it as Choice type, a single-line-of-text is better.

  • Styli Profile Picture
    4 on at

    Hello,

     

    I've tried this step and I can see the options on the box. However when I try to submit the form now I keep getting this error:

     

    Styli_0-1680191391688.png

    Is there any chance you please help me out over a call? I'd be extremely grateful

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 383 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 356

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard