The following link reveals about how to see last N Days data on the view,
1) If you want to control trhe data with diffrent Date Levels, Have to create 2 Parameters 1 is for Date Lavel,2nd is for integers.
Parameter Name : Date Level
Data type: string and values are as below
no. of specific level difference
Parameter Name : [No of steps]
Data type: integer
range, define the min, max, stp values
2) Create a calculated field as below,
if datediff([ Date Level], [Order Date], Today() ) = [No of steps] then [Sales] end
3) Now the above calculated field yields the your desired out put.