I'm use to Delphi 2010 + PivotCube VCL.
How to count the number of elements in a hierarchical dimension, together with nested elements?
Method
---
- Code: Select all
PivotMap.Dimensions [i]. Count
---
returns the number of elements of the hierarchical dimension that are at the top level.
Method
---
- Code: Select all
PivotMap.RowCellsCount
---
does not show the correct values ...
Once I know how many elements in a hierarchical dimension, how to get elements by ID?
Code
---
- Code: Select all
item: = DimensionMap.Items [i];
---
allows me to apply only to top-level element
This is necessary for ABC-analysis of hierarchical dimensions.
PS: apologize if there are inaccuracies in the text - use http://translate.google.ru
Roman