dbTalk Databases Forums  

KPI value expressions in SSAS 2005

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss KPI value expressions in SSAS 2005 in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Kevin Dente
 
Posts: n/a

Default KPI value expressions in SSAS 2005 - 04-02-2006 , 12:44 PM






I'm trying to understand what forms the value expression of a KPI can take.
All the sample I've seen so far have been very simple, like a simple measure
expression, e.g.
[Measures].[Internet Sales Amount]

I've also had success specifying a simple tuple, e.g.
([Measures].[Internet Sales Amount], [Product].[Product Model Lines].[Model
Name].&[Bike Wash])

But what if I want something more a little more sophisticated? For example,
what if I want to include two model names in the product slice - say, [Bike
Wash] and [Cable Lock]. Or include a range of dates. Or a sliding date
window (say, the previous month). Any examples of more sophisticated KPI
value expressions available somewhere?




Reply With Quote
  #2  
Old   
Deepak Puri
 
Posts: n/a

Default Re: KPI value expressions in SSAS 2005 - 04-02-2006 , 10:20 PM






According to Mosha's blog, one consideration for KPI MDX expressions is
that the calculated measures created for KPI's will be executed after
all other calculations in the MDX Script. Therefore, to retain control
over order of execution, the intended KPI calculation can be created in
a separate MDX script calculation:

http://www.sqljunkies.com/WebLog/mos...005/12/31.aspx
Quote:
...
Therefore, one can (perhaps even should) create all the calculations in
the MDX Script (where they really belong in the first place), and
resolve all the precedence rules there using power of MDX Scripts.
...
Quote:

- Deepak

Deepak Puri
Microsoft MVP - SQL Server

*** Sent via Developersdex http://www.developersdex.com ***


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.