Download presentation
Presentation is loading. Please wait.
1
Using Measures
2
Types of Measures Additive – A Measure Where the Value of a Member Is the Sum of Its Children At Any Level of Any Dimension Amount Units Non-Additive - A Measure Where the Value of a Member Is NOT the Sum of Its Children At Any Level of Any Dimension Prices Interest Rates Semi-Additive – A Measure where the Value of a Member Is Additive Across All Dimensions Except Time Balances Headcounts
3
Measures in Analysis Services Stored Values Come from Fact Table Use Column or SQL Expression Calculated Before Aggregations Calculated Values Generated dynamically MDX Expressions Calculated After Aggregations
4
Using Unary Operators
5
Creating Unary Operators Change Unary Operators Property to True Define a Dimension Table Column that Provides Operators Update Operator Column In Dimension Editor, if write-enabled In source database, if not write-enabled
6
Write-enabling dimensions End-users change dimensional structures without Administrator rights Changes stored in the dimension table Changes cannot be made until in a processed cube Requires Enterprise Edition of SQL Server
7
Distinct Count High End Feature Difficult in OLAP Systems CustomerProductDay jsmithWine4/16/99 dharrisBeer4/16/99 jsmithWine4/16/99 kyoungWine4/16/99 dharrisWine4/17/99 dharrisWine4/17/99 jsmithBeer4/17/99 dharrisBeer4/17/99 All ProductsWineBeer All Time633 4/16/99321 4/17/99312 How many customers bought wine and beer each day? All ProductsWineBeer All Time 3 3 2 4/16/99321 4/17/99 2 12 DISTINCT
8
Distinct Count Fundamentally Different From Sum, Min, Max, Count Should Be Kept in a Separate Cube Can Not Be Used With Other Calculations
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.