Include separate dataview code block in multiple notes

I just saw this post and I was helped to do this in my own notes. I hope this helps