DWM Exp 6
DWM Exp 6
Title: Develop an application for OLAP and its operations: Slice & Dice
Theory:
syntax Contains classes that represent the items and commands that
specify how Oracle OLAP builds analytic workspace objects and
classes that implement a syntax for creating SQL-like
expressions. You use Expression objects in mapping metadata
objects to relational data sources such as columns in a table or a
view. You also use Expression objects to specify calculations
and analytical operations for some metadata objects.
A Cursor for the result Source has the following values, displayed in a table with
column headings and formatting added. The left column has the name of the level in
the PRODUCT_PRIMARY hierarchy. The next column to the right has the product
identification value, and the next column has the short value description of the
product. The rightmost column has the number of units of the product sold to all
customers in the year 2001 through the direct sales channel.
The table contains only the first nine and the last eleven values of the Cursor, plus
the Software/Other class value. The product values are listed hierarchically and in
ascending order by units sold. The Hardware class appears before the
Software/Other class because the Software/Other class has a greater number of
units sold. In the Hardware class, the Portable PCs family sold the fewest units, so it
appears first. In the Software/Other class, the Accessories family has the greatest
number of units sold, so it appears last.
Output:
Product Family Member Share of Total Units Sold
----------------------------- -------------------------
PRODUCT_PRIMARY::FAMILY::LTPC 2.72%
PRODUCT_PRIMARY::FAMILY::MON 2.73%
PRODUCT_PRIMARY::FAMILY::MEM 3.57%
PRODUCT_PRIMARY::FAMILY::DTPC 5.13%
PRODUCT_PRIMARY::FAMILY::DOC 6.4%
PRODUCT_PRIMARY::FAMILY::DISK 11.71%
PRODUCT_PRIMARY::FAMILY::MOD 11.92%
PRODUCT_PRIMARY::FAMILY::OS 12.54%
PRODUCT_PRIMARY::FAMILY::ACC 43.28%
Conclusion: We have studied the OLAP operations like slice and dice.
Assessment Scheme: