Hi Everyone,
I am having some problems with applying multiple filters for the apply each step. I have 2 SP lists: 1 for tracking orders to be processed, and one for keeping track of old orders. And I also have an Excel that we receive via email containing the new orders.
The goal is to post the new orders from the excel into the "orders to be processed" sp list, but I need to check if the orders have already been processed, basically if the order number is present in the "old orders" sp list we dont need to post it.
I also need to exclude blank rows from the Excel.
I created the 2 conditions and they work fine on their own. But if I add both, non of them work which is very strange, I am out of ideas, please help!
Filter for empty rows:
hi @Anonymous please change the condition position like the image, firts 0 and then your value.
Proud to be a Flownaut!
Hi @Anonymous,
According to your descriptions of requirements, I think you want to exclude blank rows and old Order ID, so it seems like a OR relationship between the two conditions, so you should change the "AND" to "OR":
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @v-litu-msft ,
This is not correct. It is clearly an "and" relationship. If you think about it, with and "OR" setting we say that they either have to be new or not blank. So if a row is not in the "old order list" but blank, that would test okay. - but just in case, I tested it, and the filter let through every row.
@Anonymous could you try adding length(item()?['Order Id']) in a compose action to see what is your output? please share an screanshot
Proud to be a Flownaut!
User | Count |
---|---|
92 | |
46 | |
21 | |
19 | |
17 |
User | Count |
---|---|
144 | |
51 | |
42 | |
40 | |
31 |