Multiple queries for one table


I have just started exploring retool.
I have one table and two buttons, which run two separate queries (REST requests). I do not want to make a separate table for each request response, so is it possible to update the table's content on button click? When the first button is clicked, the table should be populated with the result of the first request and when the second button is clicked, with the result of the other request and so on.

Thank you!

@sdinkova Welcome to the forum.
Yes, you can do the following for each button.
Screenshot 2023-01-19 at 8.04.43 AM

1 Like

Thank you very much!