I would like to filter my cards in a board to show everything that doesn't have a certain label. How do? I've tried -label:"red" and -label:"Urgent" and that syntax doesn't work.
It's not possible to add a negative operator to filters, but the search feature does support that: http://help.trello.com/article/808-searching-for-cards-all-boards
Is this a possible feature for the future?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Would be great to has given feature, maybe filter by search query to reuse given logic.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would like this as well - search for all cards that do not include one label. Seems like it would be a big help to many.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I really appreciate to have such a Feature to exclude labels in the filter option
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is a feature I would use a lot as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would like to see this working in the filter as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'd like to do this so I can find all cards not done
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes that would be exactly how I would use it as well. Show any card is is not marked Done for example.
This feature would be very helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That would be quite useful indeed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I also would need this!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
upvote on that! :) filter out labels would be a great feature ;-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Needs this too. Hope that helps ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Such an important feature... PLEASE add!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
100% need this feature. I'm kinda shocked it's not a thing yet.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Logged in for first time to upvote.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
indeed an important, and I'd expect widely used, feature
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Me too please. This would be very helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The search workaround suggested here isn't as useful as being able to see my normal view of the whole board but with certain cards excluded based on which labels they have. I'd really appreciate that view. Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I agree. The search workaround is not very helpful. The search list disappears when I click on one item. The filter keeps in place once I open and close a card. This is what I need.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is unfathomable that anyone could have left out this feature at the first place, let alone leaving it out for another 4 more year!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If that was unfathomable, kenneth-loh, imagine being here in the future of 2024 and it still doesn't support regular expression filter creation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I so would like to have this feature too. My most used board has 26 labels. Searching and filtering NEED exclusions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's almost been 4 years since this issue was raised. Is this on the roadmap? It is difficult to create our workflows without label exclusion.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It‘s a must have feature for me. Sorting by filter keeps the cards in its lists. And it works within the app.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Add this feature please!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here's how I was able to do this using the browser's developer console:
To hide all the cards with the stock pink label:
x = Array.from(document.querySelectorAll("a.list-card:has([data-color=pink])"));
x.forEach(x => {x.style.display="none"});
":has()" is a "relational pseudo-class" CSS selector - see https://drafts.csswg.org/selectors/#relational .
Cards in Trello are <a> elements, and they (usually? all?) have a CSS class= attribute including the class "list-card".
The visible label tags on cards are somewhere within the HTML of the card's <a> element.
So, this selector says, "give me all <a> elements that are cards, and which also have some sub-element with an attribute named data-color that has the value pink." Or, looking at it another way, "look at all the elements with the attribute data-color=pink, go up through the ancestors of each of them, then return any that happen to be cards".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is a very simple work around for the time being. Thanks for posting!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hey @Felix X thank you very much for this valuable sharing.
i tried your method it worked. but there is one problem though. there are too many items in our board's lists, thus they are pretty long.
the method you suggested only clears visible cards with that label. are there any way to make it clear for whole items in all lists?
thanks a lot!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I made a bookmarklet to filter cards locally, this will only work in your browser, when you reload all changes will go away.
https://saijogeorge.com/trello-filter-exclude-label/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have found a bit of a workaround which will give you a list of cards that DO NOT have certain labels.
Its using the trello Dashcards powerup to count the cards that meet the "not that label" criteria. and in doing so provides a list of all the cards that comply, which you can export to CSV for further examination.
https://trello.com/power-ups/6048e897c73d032a983e2a7c/dashcards
Its not a replacement for being able to filter the cards in place within the board, but at least gets you the card data you are looking for.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you, unfortunately not allowed for my board. Since it does not fully meet requested functionality I will not pursue requesting company to allow.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.