cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Tejaswini1234
Level: Powered On

how to filter table which is filter by multiple values of one column in power app

I used 2 table , first filter column values in one table which will filter another table , first filter will filter column values of  table which will give some multiple column values according to that another table should be filter.How to write query in power app

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: how to filter table which is filter by multiple values of one column in power app

Hi @Tejaswini1234 ,

Could you please share a bit more about your scenario?

Could you please show more details about the Two Table data source you used? Which columns do you want to use as Filtered columns?

Further, do you want to filter your first table based on one column, then filter your second table based on the previous returned result?

 

Based on the needs that you mentioned, I think the Filter function in PowerApps could achieve your needs. I have made a test on my side, please consider take a try with the following workaround:

Add a Gallery control in you app, set the Items property to following:

Filter(
          Table2,
          FilteredColumnInTable2 in Filter(Table1, FilteredColumnInTable1 = “Specific Value”).ComparedColumnInTable1
)

Note: ComparedColumnInTable1 represents the column in your Table1, which you need to compare with the FilteredColumnInTable2 in your Table2.

 

The result the Filter(Table1, FilteredColumnInTable1 = “Specific Value”).ComparedColumnInTable1 formula returned is a single one column table, which only contains the ComparedColumnInTable1 column.

 

The user @kris_T has faced similar needs with you, please check and see if the solution I provided within the following thread would help in your scenario:

https://powerusers.microsoft.com/t5/Building-PowerApps-Formerly/Using-LOOKUP-in-FILTER-syntax/m-p/39...

 

Best regards,

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

View solution in original post

1 REPLY 1
Community Support Team
Community Support Team

Re: how to filter table which is filter by multiple values of one column in power app

Hi @Tejaswini1234 ,

Could you please share a bit more about your scenario?

Could you please show more details about the Two Table data source you used? Which columns do you want to use as Filtered columns?

Further, do you want to filter your first table based on one column, then filter your second table based on the previous returned result?

 

Based on the needs that you mentioned, I think the Filter function in PowerApps could achieve your needs. I have made a test on my side, please consider take a try with the following workaround:

Add a Gallery control in you app, set the Items property to following:

Filter(
          Table2,
          FilteredColumnInTable2 in Filter(Table1, FilteredColumnInTable1 = “Specific Value”).ComparedColumnInTable1
)

Note: ComparedColumnInTable1 represents the column in your Table1, which you need to compare with the FilteredColumnInTable2 in your Table2.

 

The result the Filter(Table1, FilteredColumnInTable1 = “Specific Value”).ComparedColumnInTable1 formula returned is a single one column table, which only contains the ComparedColumnInTable1 column.

 

The user @kris_T has faced similar needs with you, please check and see if the solution I provided within the following thread would help in your scenario:

https://powerusers.microsoft.com/t5/Building-PowerApps-Formerly/Using-LOOKUP-in-FILTER-syntax/m-p/39...

 

Best regards,

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

View solution in original post

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

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

SecondImage

Difinity Conference

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

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,343)