Not sure if you're asking about how to generate the title, or the WHERE statement for filtering your data. Can you show an example of the code you have tried?
I would likely use the macro variables to store the start and end of the interval. You could calculate those like:
%let start= %sysfunc(intnx(day,%sysfunc(today()),-1000),date9) ;
%let end= %sysfunc(intnx(day,%sysfunc(today()),-1000+15),date9) ;
%put &=start &=end ;