This MSDN paper discusses how to compute the (last non empty) closing
balance for a measure:
http://msdn.microsoft.com/sql/defaul...n-us/dnsql2k/h
tml/semiadd2.asp
Quote:
|
Analysis Services: Semiadditive Measures and Inventory Snapshots
|
...
In this example, the [Last Non Empty Value] measure has a recursive
expression that checks to see whether the value of the current cell is
empty. If it is empty, the expression moves back to the previous period
on the time dimension and checks the [Last Non Empty Value] of the
previous period. The function continues to go back in time until a
nonempty value is found.
...
- Deepak
Deepak Puri
Microsoft MVP - SQL Server
*** Sent via Developersdex http://www.developersdex.com ***