There are over 250000 Items, and after load, PivotData will remove many of them

so i get into problem, that the column sum are not correct, and after filtering the data are changing

I found the problems, but don't know how to remove the problem

First in cube.pas on line 8752

- Code: Select all
`procedure TCube._SyncDimensionGroups(const Map: IMap; DimIndex: Integer);`

....

if TDimensionObject(DimList[DimIndex]).EmptyItems = diRemove then

begin

SetLength(mi.DFilters[DimIndex],$FFFA);

// FillChar(mi.DFilters[DimIndex],$FFFA,Ord(False));

SetLength(mi.VFilters[DimIndex],$FFFA);

// FillChar(mi.VFilters[DimIndex],$FFFA,Ord(False));

end

Here you see that only $FFFA Count will be reserved!

And here the sum is calculated

in cube.pas line 3730

- Code: Select all
`procedure TCube.FillTotalCell(mi : TMapInfo);`

...

pi := p.First;

while (pi <> nil) do

begin

for i := 0 to DimList.Count - 1 do

begin

if mi.DFilters[i][pi.key[i]] then

pi.key[i] is 235212 ... and DFilters[i] is only allocated for 65500 Items !!!!!

What can i do that i get ride of the problem

In my test the dimension is loading 235000 Items and after load it removes 234980 items so that only 20 items resides in the list ... And i get still this problem

But in real world application i have Dim Items with more than 65550 Items !!!!

Please Help very urgent ...