Tuesday, June 10, 2008

CalculatedMeasures in Flex OLAP

I wrote a small sample which shows how a Custom Aggregator can be written and used to simulate a Calculated measure in Flex OLAP. Of-course, this solution may not work for all requirements but can be used atleast in some scenarios. The source is here.

Sunday, June 1, 2008

Here is a GroupingCollection with good performance !

I created a new GroupingCollection2 (by tweaking the default implemenation) which has better performance compared to the GroupingCollection. Please find the swc here.

Replace the GroupingCollection instance in any application with GroupingCollection2 and check the performance. When I tested it with 8K records with 4 grouping fields it was able to group in 5 seconds which seems to be good (in comparsion).

Please note this has not gone through extensive testing. I would be glad to fix any bugs found.

If you are one of those who doesn't have patience to build and test an app, here is the one I built. Here is the source.

If you think it is worth your time drop a note about your findings !!