Never resolved problem

Discussion forum for PivotCubeX component. Common usage questions. Bug and problem reports

Moderator: Alex Zencovich

Never resolved problem

Postby vittorio » Sun Oct 08, 2006 9:22 pm

What do you mean by:
"You may do it as calc. measure over variation (ctVariation) measure. You need only check which year you will take as base."
I told you that the component, as a calc type, do not include ctVariation.
I suppose you mean ctCustom. I set the property of Measure.calctype to ctCustom. Then how can I customize it???
Thanks in advance for your help
vittorio
User
 
Posts: 5
Joined: Sun Jul 30, 2006 9:24 pm

Postby 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
AlexZencovich
Site Admin
 
Posts: 580
Joined: Sun Jun 18, 2006 10:09 am


Return to PivotCube ActiveX

Who is online

Users browsing this forum: No registered users and 2 guests

cron