Returning the current view name of the dashboard

This should help build your logic: