UP | HOME

How to do multiple row/column dimensions in OLAPDataGrid

A simple OLAPDataGrid sample here. A good sample having multiple dimensions here.

The key point is that OLAPSet could join each other. For instance,

var customerSet:OLAPSet = new OLAPSet;
customerSet.addElements(cube.findDimension("CustomerDim").findAttribute("Customer").children);
var quarterSet:OLAPSet = new OLAPSet;
quarterSet.addElements(cube.findDimension("QuarterDim").findAttribute("Quarter").children);
colQueryAxis.addSet(quarterSet.crossJoin(customerSet));