cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper IV
Helper IV

Filter table on a record in another table

Hi Power Apps community,

I Have 2 databases that I need to link with each other. Both contain an account number that I can link the data with each other. However, one of my databases is organized and the other is not. Which means that I don't know specifically were the account number is stored. It can be stored in Column 1 and after a few rows in Column 2. 

 

I have tried on my side but no success:

Filter(Database 2, Database1.AccountNR in Database 2)

 

Any help will be much appreciated.

1 REPLY 1
Highlighted
Community Support
Community Support

Re: Filter table on a record in another table

Hi @JB0007 ,

Do you mean that

1)in database2, some data is stored in Column 1 and some is stored in Column2?

2)in databased1, data is stored in AccountNR field?

3)do you want to filter database2 that items have the the data with AccountNR field?

If so, I suggest you filter based on these two fields.

Could you tell me these fields data type? I assume that these are all text type.

Try this formula:

Filter(Database 2, Column1 in Database1.AccountNR||Column2 in Database1.AccountNR)

 

 

Best regards,

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

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,387)