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?

Have a look at
https://docsdev.wappler.io/guides/filtering-database-query-with-a-text-input

Instead of the text input, you could use a variable, the value of the variable is set by the button that is pressed.

Good Idea, thanks