Gone through the oml, in this on applyonclick you are refreshing the aggregate. But in aggregate there is not any filter condition so even if you refresh it will return the same data set as initially.
To refresh the dataset you should pass the selected from and to date into the aggregate filters to filter the records. For this you need to write condition in aggregate something like below. Let me know if it helps or still facing issue.
Here I am not able to build the oml as given frontend oml has dependency on backend.
Customer.LoanCreationDate >=FromDate and Customer.LoanCreationDate <= ToDate