cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MHuddlestone
New Member

Filter Datasource before populating Combobox

Hi,

I have an app I've built that currently pulls a data from an excel file on sharepoint. The user uses a combobox to select the item they want to view. Due to the large data set I want to filter the data before it reaches the combox. 

The connection is called dbCameras, comboc box is called cbModel

currently the combo box items looks like this

cbModel.Items:  dbCameras

I want it to be filtered by the Manufacture field in the data. I was thinking this:

cbModel.Items: Flter(dbCameras, dbCameras.Manufacture = "Sony")

 

I can't seem to get it to work. Any ideas how I can do this?

1 REPLY 1
Ashwin7104
Super User
Super User

Hi @MHuddlestone ,

 

When utilising column to filter records, you don't need to prefix it with datasource. Use the following function.

 

cbModel.Items: Flter(dbCameras, Manufacture = "Sony")

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

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