How can I know the number of facts.

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

Moderator: Alex Zencovich

How can I know the number of facts.

Postby jostos » Thu Nov 09, 2006 1:11 am

If I load a cube file, how can I know the number of facts. This would be equivalent to FactTable.RecordCount. However, with a cube that is loaded, there is no factTable.

Regards
Jose Ostos
jostos
Guest
 
Posts: 4
Joined: Mon Jun 19, 2006 5:20 am
Location: Mexico

Postby AlexZencovich » Thu Nov 09, 2006 7:45 am

Yes, you are right it is impossible to get record count for loaded cube.

There is property CubeLength (PCX.CubeIntf.CubeLength) which will return number of cells in cube (it may be same as record count or less if cube was aggregated)
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

Postby jostos » Thu Nov 09, 2006 4:42 pm

Alex,

This property is good enough for what I need.

Thanks for the prompt reply.

Regards
Jose Ostos
jostos
Guest
 
Posts: 4
Joined: Mon Jun 19, 2006 5:20 am
Location: Mexico


Return to PivotCube VCL

Who is online

Users browsing this forum: No registered users and 8 guests

cron