Please check out the following video. @Melissa walks through all the steps needed to create her awesome new extended date table. The capabilities in that new date table will definitely help you with this question and many other time intelligence problems.
Once you have your date table in place, this video should help you with the YoY and QoQ calculations.
- Brian