Forum Discussion
extract as table
- 4 years ago
Hi, Anonymous
You can follow the steps below to store previous data tables.
1.disable the query refresh of prvs table2. add a static column 'CreatedDate'
Then use Union function to append the previous tables and current table in Report View.
In fact ,PowerBI is not suitable for the import and storage of historical data.
If possible, I suggest that you store these historical data through SQL SSMS / EXCEL sheets each time.
Best Regards,
Community Support Team _ Eason
Thanks. Anyways date can be locked to current and retained to use as history to trend you think?
- v-easonf-msft4 years agoCommunity Support
Hi, Anonymous
Date created by function 'DateTimeZone.LocalNow()' is dynamic and will change based on ‘today’. It will not be retained to use as history once you refresh the report.
I think you may also need to disable the option 'include in report refresh'.
Best Regards,
Community Support Team _ Eason- Anonymous4 years agoNot applicable
Thanks for the solution. is there a workaround to keep the prvs date static and then append new data by writing a code ?
- v-easonf-msft4 years agoCommunity Support
Hi, Anonymous
You can follow the steps below to store previous data tables.
1.disable the query refresh of prvs table2. add a static column 'CreatedDate'
Then use Union function to append the previous tables and current table in Report View.
In fact ,PowerBI is not suitable for the import and storage of historical data.
If possible, I suggest that you store these historical data through SQL SSMS / EXCEL sheets each time.
Best Regards,
Community Support Team _ Eason