Limit sprints velocity report to X number of sprints with or without the current active sprint

Hello,
I have a sprints velocity report (committed, added and completed) per board (boards are filters as bookmarks) but it present ALL the sprints opened for this board - closed, current active and future ones.
How can I filter and present only the last X closed sprints and the current active sprint.