Tags in metadata

Hi there

I need help for this:

I would like to add to the tasks on a note the tags written on metadata of the note to search these notes with dataview

What I want is to search tasks according to metadata tags on different notes.

Any ideas??

Thanks in advance