Forum Discussion
sameburn
OneStream Employee
23 hours agoIf you log the Target Buffer (before you set it) does it contain expected results? I would also recommend starting with a small data set while developing your logic and including Entity and Time dimensions in your Source Buffer retrieve based on Data Unit variables passed into your Custom Calculate via DM... also log both Source and Target buffers before setting (to ensure you are only setting expected results)
Once ready to set the results, please ensure that you mark the data as durable in the SetDataBuffer method (if that is the intention)
e.g. api.Data.SetDataBuffer(convertedDb, destInfo,,,,,,,,,,,,, True)
Hope this helps
Sam
Related Content
- 1 year ago
- 1 year ago