Business Rule: Copy data from one cube to another with different cube dimensions
Hello,
I have following two cubes in onestream:
- Volumes
- Detail
All the cube dimensions are the same except for UD1. For volumes, UD1 cube dimension is VintageDim and for detail its FunctionTotal.
I am trying to copy data from "Volumes" cube to "Detail" Cube through a Business Rule. I am running this business rule from Data Management Step. The rule runs perfectly but it doesn't copy the data. I don't get any error too. Please can someone help to understand the issue?
Thank you
If 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