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 / Gallery DropDown whit ...
Power Apps
Answered

Gallery DropDown whit a list from a differente datasource

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello

 

I need your help whit this, i have a list in sharepoint (Registry) and a table (TypeFurniture) in excel. I create a gallery and the data source is the sharepoint list, inside the list there is a column named as 'furniture', then I insert a dropdown for this column inside the gallery, but I want that the dropdown show a list from the excel table but keeping the original result from de sharepoint list by default. it's possible? how can I do this?

 

I use this for the dropdown >  Distinct( TypeFurniture; Furniture))  but this doesn't work

 

I appreciate your help

 

 

 

Categories:
I have the same question (0)
  • dariobois Profile Picture
    195 on at

    Hi

     

    Did you try this?

     

    DropDownControl -> Default

    ThisItem.Furniture

     

    Regards!

  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Could you please share a bit more about the 'furniture' column in your SP list? Is it a Choice type column or a simple Text type column?

    Is the Furniture a column in your TypeFurniture Table?

     

    Based on the needs that you mentioned, I think it could be achieved in your app. I assume that the Furniture is a column in your TypeFurniture Table, please take a try with the following workaround:

    Set the Items property of the Dropdown box inside your Gallery to following:

    Distinct(TypeFurniture; Furniture)

    Set the Default property of the Dropdown box to following:

    a) If the furniture is a Choice type in your SP List:

    ThisItem.furniture.Value

    b) If the furniture is a simple Text type column in your SP List:

    ThisItem.furniture

    Please consider take a try with above solution, then check if the issue is solved.

     

    If the Dropdown control could not work in your canvas app, please consider add a ComboBox control to list options from your Excel table instead of Dropdown control inside your Gallery.

    Set the Items property of the ComboBox to following:

    Distinct(TypeFurniture; Furniture)

    Set the DefaultSelectedItems property of the ComboBox to following:

    {
     Result: ThisItem.furniture.Value // furniture is a Choice type column in your SP list
    }

    OR

    {
     Result: ThisItem.furniture // furniture is a Simple Text type column in your SP list
    }

    Please take a try with above solution, check if the issue is solved.

     

    Best regards,

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks, that works

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks

     

    Yesterday the list in the DropDown didn't work, but today I checked and works with the same syntax that it had ( Distinct(TypeFurniture; Furniture) ), yesterday for some reason it didn´t accept.

     

    The default value works.

     

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,027

#2
Valantis Profile Picture

Valantis 644

#3
11manish Profile Picture

11manish 626

Last 30 days Overall leaderboard