I want to list all tid which shared the same tag with a specific tid how to make the syntax about the filter?

What I want is:
For example I have a tid A with tag x, y, z.
I want to list all the tids that have tag x and y and z.
How to make it I try some filters which I listed below. But not worked. plz help
Macro seems not work too, because you need to pass a variable(tagName) to macro which is not allowed.

<$list filter="[[targetTid]tags[]![done]]" variable=tagName>
<$list filter="[tag[<<tagName>>]]" > // not work
<$list filter="[tag[<tagName>]]" >     // not work
</$list>

this filter not work too...
[tag[[七巧板]tags[]![done]]]

This filter should do what you need:

filter="[[A]tags[]tagging[]]"

This will give you all tiddlers that are tagged with any of the tags of tiddler A.
If you want ot remove tag done from the tag list, then

filter="[[A]tags[]] -[[done]] +[tagging[]]"

or

filter="[[A]tags[]remove[done]tagging[]]"

Have a nice day
Yaisog

@Ori , they don’t work because you are using wrong syntax. See the section named Special parameters in the following link https://tiddlywiki.com/#Introduction%20to%20filter%20notation