Show members status

Hello to all;

I have a page with a query that shows all members from a specific sales representative, I would like to create 3 buttons, the first one will show the active members, then if you click the second button will show the inactive members and the last one will show the cancelled members. Is that possible to create it in the same page dinamically?

Community Page
Last updated: