I have a SQL execute function generating a simple table on Power BI. This table updates when there is a refresh with the latest data, which is good. I was wondering if the
Power BI is not intended to be a database for you to store historical data. There might be some unstable and/or ugly workarounds to do what you're suggesting in Power BI but it's much better to use the proper tool for the job. Save your historical data in the database and connect Power BI to that.