Showing results for 
Search instead for 
Did you mean: 
Not applicable

Use dropdown to populate data

PAScreen.jpgI have a drop down that contains a distinct list of a sharepoint field named "Title". However, how can I get the edit form populate the data? The yello triangle says "Invalid Formula. Expected a value compatible with data source".

Level 8

Re: Use dropdown to populate data

Can you give more details including your formula?

Level 10

Re: Use dropdown to populate data

Hi @Anonymous


If I am not mistaken, you are referring to:

- When Dropdown. OnChange or OnSelect, you wish your data to be filtered based on the selected results.


So, in any function, if you wish to filter selected items, you have to use:

- ClearCollect(NewCollecton, Ftiler(Original DS, FieldTitle = Dropdown.Selected.Result))

So when you change and select a new item in Dropdiwn, 

- Filter will fire and then

- ClearColelct will collect filtered information


Then, in your Gallery,Item = NewCollection.

The same applies for other control.


Hope this helps,


Community Support Team
Community Support Team

Re: Use dropdown to populate data

Hi @Anonymous,


Please check the following article for more details about how form works:

Understand data forms in Microsoft PowerApps


There are at least two property of the form control that need to be configured:

Data Source property, item property.

Item property should be one of the records from the Data source property, or at least has the same schema.


In your scenario, if you would like the form to display the record filtered by the Dropdown, then please take a try with the Lookup() function.


Lookup(DataSource, fieldName=Dropdown1.Selected.Value)

Which would return the first record that matchs the condition. For more details, see:

Filter, Search, and Lookup functions in PowerApps




Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources


Power Apps Super User Class of 2020

Check it out!


New Badges

Check it out!


Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (5,045)