cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jebediah
Frequent Visitor

Filtering Dropdown list using data from a Gallery that is loaded

Hey guys,


PowerApps Noob here, Basically I have 2 Galleries generated from 2 different SharePoint list (Projects and Deliverables).

 

In the SharePoint list, when you create a deliverable, it pulls through the Project list and make you select one of the Projects Created initially.

I am currently able to generate all my projects in my first Gallery and everything is showing fine. What I am trying to accomplish is this :  I want to be able to use one of the value in a DataCardValue field that is loaded on the screen to filter a Dropdown list with .

 

I am currently using this code on the Items function of the DropDownList I want to generate the information in :

Filter(Deliverables, 'Project Name' = DataCardValue95.Text)

 

It's trying to pull a text value and it won't work. I have attached a screenshot of the error

 

Thanks for your help guys.

1 ACCEPTED SOLUTION

Accepted Solutions
Jebediah
Frequent Visitor

Solved the problem myself : Filter(Deliverables, DataCardValue95.Text = 'Project Name'.Value)

View solution in original post

2 REPLIES 2
Jebediah
Frequent Visitor

Solved the problem myself : Filter(Deliverables, DataCardValue95.Text = 'Project Name'.Value)

eka24
Super User
Super User

Try any of these depending on the formula on Items of DataCardValue95:

 

Filter(Deliverables, 'Project Name' = DataCardValue95.Value)

Or

Filter(Deliverables, 'Project Name' = DataCardValue95.ColumnName)

Or

Filter(Deliverables, 'Project Name' = DataCardValue95.Result)

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

 

 

 

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.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

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
Users online (1,442)