cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Pariyes
Regular Visitor

Power app Filter with two conditions from 2 dropdown.

I'm going to do a filter with two conditions. How from 2 dropdown?

please teach me

Pariyes_2-1657511679819.png

PR No. : Code > Distinct(DataOrderMat,D3PRNumber)

Supplier Code : Code > Filter(DataOrderMat,D3PRNumber = DBLPR.Selected.Result).D3SupplierCode

GALLERY : Code > Filter(DataOrderMat, D3SupplierCode=DDSupplierCode.Selected.D3SupplierCode)

Where should I write the code?

Data

Pariyes_1-1657511348608.png

Now I have that problem. It can only filler with Supplier Code, cannot filler PR No.

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-yujincui-msft
Community Support
Community Support

Hi @Pariyes ,

 

Maybe you could try the following formula:

Filter(DataOrderMat, D3SupplierCode=DDSupplierCode.Selected.D3SupplierCode,D3PRNumber=DBLPR.Selected.Result)
Filter(DataSource, Condition1, Condition2)

https://docs.microsoft.com/en-us/power-platform/power-fx/reference/function-filter-lookup#step-by-st...

 

 

Best Regards,
Charlie Choi

View solution in original post

2 REPLIES 2
365-Assist
Solution Sage
Solution Sage

Here is great video that explains. Power Apps Sort and Filter on Multiple Columns - YouTube

---------------------------------------------------
Please Accept as Solution if it solves your question. Or just give it a Thumbs Up if it is helpful as can help others.

Subscribe: https://www.youtube.com/channel/UCFpvUlpx84FuIPOdInGKMTw
Twitter: https://twitter.com/assist_365

Regards
Darren Lutchner - 365 Assist

v-yujincui-msft
Community Support
Community Support

Hi @Pariyes ,

 

Maybe you could try the following formula:

Filter(DataOrderMat, D3SupplierCode=DDSupplierCode.Selected.D3SupplierCode,D3PRNumber=DBLPR.Selected.Result)
Filter(DataSource, Condition1, Condition2)

https://docs.microsoft.com/en-us/power-platform/power-fx/reference/function-filter-lookup#step-by-st...

 

 

Best Regards,
Charlie Choi

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,212)