If you provide more information about your qvw file, you will get more accurate and specific help. Are you getting data from a database, text files, qvd files or some other source? Do you have a date field or only a month field. etc etc?
You can calculate the date for nine quarters ago using MonthStart(Today(), -9*3)
Logic will get you from a to b. Imagination will take you everywhere. - A Einstein