Forum Discussion
francoisvv hi!
Please check if the Accumulative build type could help to store the historical data in the easier way for you. Please refer to the 'Accumulate By' section on this guide: https://docs.sisense.com/main/SisenseLinux/elasticube-build-settings.htm#AccumulateBy
- francoisvv07-25-2024Cloud Apps
Thanks so much for this valuable information. I just checked on our instances, and were able to enable it, however, from what I see, it does not take into consideration records that are unique. Do you perhaps know how it identifies the new records and is this done on a dataset level or can it be specified by a criteria, for example new records added or changed by an employee or subject?
- Liliia_DevX07-25-2024Sisense Employee
francoisvv you're welcome! Hope it helps to achieve your goal 🙂
To make the accumulative build work properly, you need to select a specific integer or date column to act as an index, and if the index value is greater in a subsequent build, then data is accumulated for the table. Is there any id or date column available in your dataset that could be used as an index for accumulation?
- francoisvv07-26-2024Cloud Apps
Hi Lily,
Thanks so much, I played around with it a bit, but I think my use case requires me to be able to dive a bit deeper into the changes itself. Although the accumulation does help, I want to be able to identify not only new / changed records in a dataset level, but by a row level, drilled down to a subject level. So if there is 10 subjects in the first data load, each with 2 records, and with the next load, 5 of the subjects have 2 new records loaded each, each of the new records should be flagged as new, and if 2 of the original subjects have had 3 variable values changed or updated, to be able to flag that record as changed based on all the fields that changed, not just a date. Hope this makes sense! I am busy playing around with flagging with SQL as I can use more defined group by values so will let you know what I manage with that.