Filter help needed (AND + OR with Pins)

I want to show all tasks of Project “Some Project” and Department “Development”.

For all those pre-filtererd tasks, I want additional pinned filters where Space can be selected by OR.

So that I get tasks for all spaces, when each Space filter is checked, and e.g. only the tasks for “Core” and “Asteroid” when those filter pins are checked.

I tried using a group, but cannot mark those filters as pinned.

How can I build this?

I think you need three groups, one for each Space option:

  • Space is The Core AND Project is Some Project AND Department is Development
    OR
  • Space is The Asteroid AND Project is Some Project AND Department is Development
    OR
  • Space is New Horizon AND Project is Some Project AND Department is Development

and then pin all 3 of them.

If you want to sometimes have all pins off, and still retain the Project and Departments choices, you will need a fourth group (which is unpinned):

- Project is Some Project AND Department is Development

Hey Fabian!

You can vote for a feature to allow pinning within groups here: Pin filters in filter groups - #4 by Chr1sG

Chris’s workaround seems to be work for in this scenario though!

Except the last part I think isn’t right (@Chr1sG correct me if I’m wrong)

Since it’s an “OR” condition, having this on encompasses all the other groups as well, so when this is enabled, the other conditions have no effect. So there’s no good way to have the “base filter” when the rest are off. I think. Maybe Chris will find a fabulous workaround as always.

Improvements to filters are coming soon though, so I hope this will be part of those improvements!

You’re right, my mistake.
I think the answer depends what should be shown when none of the pinned filters is on (or in fact whether that situation should ever occur).
If @Fabian is intending that at least one Space (The Core, The Asteroid or New Horizon) is always chosen, then it’s a moot point.
If having none selected should be a possible option, then should Tasks belonging to any Space be shown (provided they belong to Some Project and Development), or no Tasks at all?

1 Like

FYI we are working on some changes to view filters which will likely make this use case much easier to implement and understand.

2 Likes

Thank you all for your help,

when no Space Filter is selected, all Tasks (of “Some Project” and “Develoment”) should be shown, of all Spaces.

As I understand, that is not possible right now, but improvements in this regard are coming.

In that case, you could follow my initial suggestion, but the fourth filter needs to also be pinned, and toggled off by default.
So for each Space option, you have a filter that you toggle on when you need to limit the choice of Space, but you keep the fourth filter off.
If none of the first 3 are toggled on, you toggle the fourth on.
It does mean an extra click occasionally.

Thanks for your suggestion Chris, but the workings of that 4th filter is a bit too hard to explain to non-technical people. So we will stick to the AND filter version for now.