Forum Discussion

Satyapal77's avatar
Satyapal77
New Contributor
4 months ago
Solved

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 Functi...
  • sameburn's avatar
    4 months ago

    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