Exclude due cards from a deck in my filtered deck

Hello :slight_smile:
I’m looking for the correct filter to use in the options of my filtered deck.
I study medicine and do my daily reviews diligently, with the help of a filtered deck. Using this filter: “prop:due=0 OR “deck:X year” is:due” (Maybe not the most elegant solution but it works/does exactly what I want)

We have 4 topics this semester, for each topic I have a deck. I have fully studied 3 out of 4 topics. I am deliberately leaving out the 4th topic (it’s statistics :sob: )/I’ve suspended the cards from the 4th deck.
Now, the time has come to study the 4th topic.

My question: How do I manage to exclude the due cards from the 4th deck from appearing in my “is:due”-Filtered-Study-Deck when rebuilding the deck?

Is there something along the lines of: “-deck:4th topic” ? (I’m not very well versed in how the filtering commands work, I’ve figured out some but not all)

Thanks in advance! :slight_smile:

You can just tag them and then exclude the tag.

1 Like

I followed your advice but adding this filter still (unfortunately) adds the due (red) cards to the filtered deck, from the specific deck I want to exclude.

-tag:deck_4

The filter now looks like this:

prop:due=0 OR “deck:X year” is:due -tag:deck_4

Am I missing something? / Doing the filtering incorrectly?

I assume you are looking for this:

(prop:due=0 OR “deck:X year” is:due) -tag:deck_4

1 Like

Because you don’t have any parentheses, this is being grouped as

(prop:due=0)
OR
(“deck:X year” is:due)

Meaning: All cards that are due today (regardless of deck), plus all cards in that deck that are due or overdue. Searching - Anki Manual

Is that what you want?

You don’t really need to tag them though, since they are already in their own deck. You can exclude them just fine by deck name. Searching - Anki Manual

I can’t tell you exactly how to structure your search, because it’s not clear to me yet exactly what you’re trying to bring together or exclude.

But perhaps you could avoid this question entirely –
Is there a reason why you’re doing your regular everyday studying in a Filtered deck instead of in your regular decks? It seems like what you’re trying to solve would be much easier using regular parent/subdecks than using Filtered decks you have to rebuild every day.

1 Like

Thank you! Your reply is exactly the solution I need :slight_smile:

Funnily enough I tried out putting the is:due-statements in parentheses late yesterday night and it worked so I’m happy to know that it was in fact the correct solution ^^

I study with the filtered deck solely for “aesthetic” reasons. To me it’s convenient to just do all reviews with the filtered deck at the top of my deck list. Then I have a clear “daily goal” which is just to get through the deck at the top :slight_smile:
Also, the cards aren’t grouped into subdecks but rather just tagged with the topics/subtopics they belong to.

1 Like

I wondered if that was it. You can get that by putting your study decks under an “empty” parent deck. It’s still one-click to study, but without needing to rebuild each day. Then, the easy way to include/exclude a particular deck would be to move it into/out of the parent deck.