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
October Events

Mark Your Calendars

So many events that are happening this month - don't miss out!

Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Top Solution Authors
Top Kudoed Authors
Users online (2,649)