You have to filter your data source according parameters given by user. The easiest way is let users to set query filters directly - then AX do all filtering for you.
If you have to have year, account and item as a separate fields in your data contract, you have to implement filtering by yourself. If you still use a query in background, add query filters. If you have explicit select statements in your RDP class, add WHERE conditions there.
It’s impossible to be more specific without having any idea about how your RDP class looks like.