Showing results for 
Search instead for 
Did you mean: 
Resolver I
Resolver I

ComboBox Pull in Columns and have a data table Filter on it

Hello All,


To give some background before I ask my question: We have a data table stored in SQL that has a bunch of materials under the material column and then there are about 80 or so other specification columns where depending on the material it may be a blank field or have a value according to what specifications that material has. 


Basically what I want to know is instead of displaying a data table with 80 specification columns and one material column, would it be possible to just display the material column and then instead filter on specification through a combobox? The combobox would have all 80 specification column names to choose from and then the data table would only pull back materials that have values in those columns chosen from the specification combobox.


I was thinking about it and I'm thinking of creating a collection on the onvisible property of the screen and collecting all the columns and then using that collection as the items property of the combobox, here is my formula below, but it doesn't seem to be working b/c the collection is empty. 




Additionally I was thinking on the datable items property I would have a filter that looked something like this formula below:


(Not(First(Filter(Spec_ComboBox.SelectedItems, Result = "FDA")).Result = "FDA") || FDA = "FDA") //And repeat this for every spec


Any Advice would be appreciated


Helpful resources

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.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (1,090)