by AlexZencovich » Mon Oct 09, 2006 6:01 am
Please see examples and docs for ctCustom measure. You should use your own event handelr to calculate measure value over cube data set.
You should use
procedure OnCustomMeasure(Measure: Integer; Count: Integer; Data: OleVariant; var Value: Double); dispid 222;
where
Data - variant array of doubles from 0 to Count - 1
Value - output value of cell
Please check what you really want to get. I tried to answer to that question but I still could not understand what you want to get, so I may miss right answer.
Best regards,
Alex Zencovich
-------------------------------------------------------------------------------------------------------------------------------------------
www.pivotcube.com - OLAP solution for Delphi, C++ Builder and ActiveX environment