In an onCustomMeasure, trying to get the max (or min) value

Discussion forum for PivotCube VCL users. Common questions. Bug and problem reports

Moderator: Alex Zencovich

In an onCustomMeasure, trying to get the max (or min) value

Postby dophin » Thu Jul 12, 2007 12:50 pm

Hello, Alex

In an onCustomMeasure event, i'm trying to get the value, the max and
the min value of another measure known by its aliasname and real index.

Could you please tell me how to do that ?

TIA

Joseph Osende
dophin
Developer
 
Posts: 33
Joined: Fri Jun 15, 2007 12:35 am

Postby AlexZencovich » Thu Jul 12, 2007 3:05 pm

No safe way. Potentially you may use TPivotMap.Cells[] for that, but you may start endless calculation loop.

Custom measure used for own aggregation way. Probably if you need to get from your measure data of another measure you should use OnCalculateMeasure event + calc. measure
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 VCL

Who is online

Users browsing this forum: No registered users and 4 guests

cron