Use drop-down lists with choices from lookup columns in a list created using Microsoft Lists - Power Apps (2024)

  • Article

In this scenario article, you'll learn how to use a drop-down list with choices from a lookup column in a list.

Prerequisites

  • You must have created an app using SharePoint connector that connects to a list.
  • The list should consist of a lookup column with values from another column.

Scenario details

You can use lookup columns in SharePoint that consume values from other lists or libraries.

When using such columns as a field in a canvas app, you can use a drop-down list with choices.

To use the choices in a drop-down list, you have to use the function choices.

For example, Choices([@'Vehicle registration'].Vehicle_x0020_type) uses the list Vehicle Registration:

Use drop-down lists with choices from lookup columns in a list created using Microsoft Lists - Power Apps (1)

The column Vehicle type is a lookup column for the type of the vehicle:

Use drop-down lists with choices from lookup columns in a list created using Microsoft Lists - Power Apps (2)

Example

  1. Sign in to Power Apps.

  2. Create a new app, or edit an existing app.

    Note

    Ensure the app uses a SharePoint connection and connects to a list as described in the prerequisites.

  3. Select + (insert) from the left pane.

  4. Select Drop down.

    Use drop-down lists with choices from lookup columns in a list created using Microsoft Lists - Power Apps (3)

  5. Update the Items property with the following formula:

    Choices([@'Vehicle registration'].Vehicle_x0020_type)

    Replace Vehicle registration with the name of your list and Vehicle type with the name of the lookup column in the list.

    Use drop-down lists with choices from lookup columns in a list created using Microsoft Lists - Power Apps (4)

  6. Refresh the data source by selecting the SharePoint data source > ellipsis (...) > Refresh.

    Use drop-down lists with choices from lookup columns in a list created using Microsoft Lists - Power Apps (5)

  7. Play the app, or press Alt on the keyboard and select the drop-down list.

    Use drop-down lists with choices from lookup columns in a list created using Microsoft Lists - Power Apps (6)

See also

Feedback

Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see: https://aka.ms/ContentUserFeedback.

Submit and view feedback for

Use drop-down lists with choices from lookup columns in a list created using Microsoft Lists - Power Apps (2024)
Top Articles
Latest Posts
Article information

Author: Kimberely Baumbach CPA

Last Updated:

Views: 6396

Rating: 4 / 5 (61 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Kimberely Baumbach CPA

Birthday: 1996-01-14

Address: 8381 Boyce Course, Imeldachester, ND 74681

Phone: +3571286597580

Job: Product Banking Analyst

Hobby: Cosplaying, Inline skating, Amateur radio, Baton twirling, Mountaineering, Flying, Archery

Introduction: My name is Kimberely Baumbach CPA, I am a gorgeous, bright, charming, encouraging, zealous, lively, good person who loves writing and wants to share my knowledge and understanding with you.