Are indirect filters possible?

47 views
Skip to first unread message

Benedikt Aufermann

unread,
Mar 7, 2021, 7:56:09 PM3/7/21
to TiddlyWiki
Is there a possibility to filter over the result of a filter?
In the current case I have the folling issue:
- There are tiddlers taged as "Person" and tages with there Company 
- The Companys Tiddlers are taged as "Company"
Now I need a list of all persons that are not taged by a company. In other word: Not taged by any tag that is itself taged as company.

Something like 
-- tag[Person]!tag[tag[Company]] 
instead of manual on non dynamic 
-- tag[Person]!tag[Company1]!tag[Company2]!tag[Company3]!tag[Company4]...

Benedikt

Ray Vermey

unread,
Mar 7, 2021, 8:03:11 PM3/7/21
to tiddl...@googlegroups.com
Hi Benedict


Ray

Op ma 8 mrt. 2021 om 01:56 schreef Benedikt Aufermann <benedikt....@web.de>:
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/e44d026c-6e49-4509-be49-88622d25d622n%40googlegroups.com.

dieg...@gmail.com

unread,
Mar 7, 2021, 9:07:17 PM3/7/21
to TiddlyWiki
Bemedikt,

If I'm understanding you correctly, this should work:


[tag[Person]] -[tag[Company]tagging[]]


If all your people are tagged with Person, and call Companies are tagged with Company, then:
  • The first filter run generates a list of all people
  • The second filter run generates a list of all people who are tagged with the tiddlers that are tagged Company.
  • They are then "subtracted" or set-differenced from each other.

I tested this on tiddlywiki.com by making the following test tiddlers:
  • Person A - tagged with Microsoft and Person
  • Person B - tagged with Microsoft and Person
  • Person C - tagged with Dell and Person
  • Person D - no company tag but Person
  • Microsoft - tagged with Company
  • Dell - tagged with Company
  • IBM - tagged with Company

If I've understood you, you want to get Person D.

The first filter run generates as list of PersonA, PersonB, PersonC, and PersonD. The second one generetes PersonA, PersonB, and PersonC. They are substracted to give you PersonD.

Diego

Benedikt Aufermann

unread,
Mar 8, 2021, 2:21:05 AM3/8/21
to TiddlyWiki
Hi Diego,

thank you, that works!


Benedikt

Reply all
Reply to author
Forward
0 new messages