Try to build the view same as below: In this view i am showing Category wise sum of sales and  two filters one is Aggregate Last 5 Dates...
Challenge_29 Challenge_29 Reviewed by Tableau Basics on August 14, 2018 Rating: 5