Formula to get difference of sales between 2 date range dynamically

Yes I would use two parameters.

I would reference this post as I think you should be able to accomplish what you are looking for with a couple of these calculated fields.