Hello there!
I'm trying to figure out using filter with multiple criteria, but I always get an error or warning in this case and I'm not sure what I'm doing wrong.
Can you please show me how the filter can be used on several criteria at once on a DataTable?
I'm trying to filter: Search results from: edt_cegnev_kereso.Text, and in this particular case I want to show results if the User().Email is the same in the Recruiter column of the Data Source, References. What's not even in my Filter formula yet is that I also want to limit only new entries if the chk_onlynew.Value=true in which case the filter should check the Done column, and only return a result if the cell value is Not("Done").
Thanks in advance!!!
Solved! Go to Solution.
Hi @gaborszollosy ,
Assuming the top filter returns less than your Delegation limit, this should work
With(
{
wList:
Filter(
References,
StartsWith(
CompName,
edt_cegnev_keroso.Text
)
)
},
Filter(
wList,
User().Email in Recruiter &&
(!chk_onlynew.Value || !Done)
)
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Hi @gaborszollosy ,
Assuming the top filter returns less than your Delegation limit, this should work
With(
{
wList:
Filter(
References,
StartsWith(
CompName,
edt_cegnev_keroso.Text
)
)
},
Filter(
wList,
User().Email in Recruiter &&
(!chk_onlynew.Value || !Done)
)
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Thank you @WarrenBelz!
What worked, was based on your solution, like so:
With( {
wList: Filter( References, StartsWith( CompName, edt_cegnev_kereso.Text ) ) }, Filter( wList, (If(chk_ready_only.Value=true, Not("Done" in Done),"" in Done) && User().Email in Recruiter)))
Thank you so much for your help!
Pretty much the logic I posted although I assumed Done was a Boolean value as you used Not().
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
185 | |
53 | |
41 | |
36 | |
30 |
User | Count |
---|---|
241 | |
81 | |
71 | |
69 | |
65 |