The sample shows how a companys product revenue over regions and markets can be compared. Click the "Create cube" button to process the input data which looks like this
<row> <company>Fiction</company> <region>Asia</region> <market>Digital publishing</market> <product>Frames</product> <date>3/31/2005</date> <revenue>10</revenue> </row>
and build the OLAP cube. Clicking on the "Query Revenue with Product by Region" button would display the result in OLAPDataGrid. The query returns the total revenue comparing product by region across all years (2005 and 2006 in the sample data case). The last row and last column display the totals by product and totals by region respectively.
Now different markets can be selected from the ComboBox and revenues from different markets can be compared.
The source can be found here.