Retaining the selected values while switching from one dashboard (Sales) to other dashboard(Profit)

This is not native.

You can look into “Bookmarks”

Or you can look into passing parameter’s through the urls.