After a great battle in B#, I have found the cause and would like to share with anyone else that may come across this.
According to the docs, the error 69:
69 |
The entered value does not match the value type of the cell. |
With suppression enabled, base elements selected within the data area and useOnlyBasicElements set to true (to copy calculated cells) I received an error for 1 cube, the remainder 11 worked fine.
Troubleshooting by reverting to the old foreach method shed no light, as it simply copied all across correctly...
Turns out the OlapDataAreaSuppressNull doesn't detect a physical 0 as null when using in combination with OLAPCopyDataArea.
Therefore using the operator OlapDataAreaOperatorNotEqual, 0.0 resolved it.
Would be very interested to know why this happens exclusively to the OLAPCopyDataArea and not the OLAPCellWriteNumberDynamic/buffer function.
Hope this helps someone.