Views in Sale Order

I have a table ‘Sales Order’ and we want to have one view, when a user clicks on ‘Party’ then a view can be grouped based on ‘Party Name’ and if a user clicks Item then the view can be grouped as ‘Items’

However we do not want 2 create 2 views in tab sheet. Can anyone help.

https://community.appsheet.com/search?q=Dynamic%20grouped