Data view syntax regarding tasks

Hello!

I’m trying to create a data view query to search all tasks that I have completed in the last “X” days … I can’t find any documentation on that and would appreciate the help; thank you!