Can you explain a little more about your requirement? As a general rule, if the connector that you are using allows it, you are much better of using an OData filter and filtering out the unwanted items before you get the results. This makes the Flow faster and can eliminate many condition actions.
If I have answered your question, please mark your post as Solved. If you like my response, please give it a Thumbs Up.