Hi all! I have a table and would like to load data from different data sources based on the button that is clicked. Button1 executes a query, Button2 uploads a CSV file.
I'm wondering if there is a way that I can show the data from whichever source was last clicked.
For example, if I click Button1, the table will load the data from the query I defined. Then if I click Button2 and upload the CSV file, the table should be completely overwritten with the new data from the file upload. I can only seem to do one or the other. Any help would be greatly appreciated! Thanks!!