Skip to main content
Question

Apply two filter in PSO for the same criteria


Forum|alt.badge.img+1

Hello,

If I have two filters in PSO (both filters are the using the same criteria) and I apply both at the same time, then filters does not work. Does anyone know if this is the correct behavior. It does not make much sense to not work.

 

5 replies

Alexander Heinze
Superhero (Employee)
Forum|alt.badge.img+23

I tried to replicate this with the same filter on resource (location.city=Munich) and it does work as expected.


Forum|alt.badge.img+1
  • Author
  • Do Gooder (Customer)
  • 2 replies
  • March 20, 2025

Hi, thanks.

If I do the same, as example, one filter: (location.City + is + Munich) and another one: (location.City + is + Frankfurt) and apply both at same time, I get no data in PSO.

For me it works applying one or the other,  but not both at same time.


Alexander Heinze
Superhero (Employee)
Forum|alt.badge.img+23

But that’s what I would expect (otherwise applying more filters would give you more results, which doesn’t make sense), those two separate filters will be combined with AND, returning no results. If you want OR you need to put it into a single filter.


Forum|alt.badge.img+1
  • Author
  • Do Gooder (Customer)
  • 2 replies
  • March 20, 2025

Thanks again. 

Actually I would like the result of the logic to be “AND” so it would add results to my filtering. .
As a Resource planner, as an example,  if I have whole Germany resources. For operational reasons, I want to view together locations A&B, then C&D, then A&F… etc. 
So I can’t. I need to apply filters one by one. Of course I can make combinations of locations in single filters. But imagine If I have 10 locations, how many combinations of filter I’d need to do in order to have in hand when needed.
Thanks for the quickly reply. 


Alexander Heinze
Superhero (Employee)
Forum|alt.badge.img+23

In natural speech you would indeed say AND, however from a logic point of view what you need is OR. location.City=Munich AND location.City=Frankfurt will never be true. I understand your use case, however separate filters will always be AND-combined.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings