search
Twitter Rss Feeds
MicrosoftArticlesForumsGroups
C# .NET
VB.NET
Visual Studio .NET
ADO.NET
Xml/Xslt
VB 6.0
.NET CF
GDI+
LINQ
Deployment
Security
FoxPro
Silverlight / WPF
Entity Framework
RIA Services

Web ProgrammingArticlesForumsGroups
JavaScript
ASP
ASP.NET
Web Services

Non-MicrosoftArticlesForumsGroups
NHibernate
Perl
PHP
Ruby
Java
Linux / Unix
Apple
Open Source

DatabasesArticlesForumsGroups
SQL Server
Access
Oracle
MySQL
Other Databases

OfficeArticlesForumsGroups
Microsoft Excel
Microsoft Word
Microsoft Powerpoint
Publisher
Money

Operating SystemsArticlesForumsGroups
Windows 7
Windows Server
Windows Vista
Windows XP
Windows Update
MAC
Linux / UNIX

Server PlatformsArticlesForumsGroups
Share Point
BizTalk
Site Server
Exhange Server
IIS
Transaction Server

Graphic DesignArticlesForumsGroups
Macromedia Flash
Adobe PhotoShop
Microsoft Expression

OtherArticlesForumsGroups
Subversion / CVS
Ask Dr. Dotnetsky
Active Directory
Networking
Uninstall Virus
Job Openings
Reviews
Search Engines
Resumes

 

Previous Thread:   Airlift Indicator Images

6/2/2006 11:45:19 AM    Year to date target values
We have a sales target measure with monthly sales goals for each sales rep  
  
(from a table with rows for each salesrep per month).  The table is  
  
populated with values for the entire year (12 months).  
  
We have a monlthy sales measure that aggregates the sales for each salesrep  
  
by month.  
  
We have a KPI that identifies sales by month for each sales rep (from sales  
  
by month measure) with the target set to the sales goal measure.  When you  
  
filter the KPI on the current year, the goal value is the sum for the entire  
  
year, while the sales values only exist to the current month (June).  So the  
  
threshold is wrong and is showing a score (indicator) that is far below the  
  
target.  
  
How do we make it so the target only includes values for the months that  
  
have currently passed (exclude future months values from the total)?  
  
Thanks!

6/2/2006 4:49:36 PM    Re: Year to date target values
You may use MDX formula.  A sample would be:  
  
For current period:  
  
([Measures].[Gross Profit], [Date].[Fiscal Year].LastChild)  
  
For previous period:  
  
([Measures].[Gross Profit],[Date].[Fiscal Year].LastChild.Lag(1))  
  
There are some sample MDX in FoodMart and AdventureWorks workspace files.  
  
--  
  
Thanks,  
  
Tony Li [MSFT]  
  
This posting is provided "AS IS" with no warranties, and confers no rights.  
  
"Steven" <steven.heinz@ilg.com> wrote in message  
  
news:%23uiJpSnhGHA.4284@TK2MSFTNGP05.phx.gbl...


Pete's Blog   |    Pete's Resume   |    Robbe's Blog   |    Robbe's Resume   |    Archive #2   |    Archive #3   |    Dotnetslackers   |    XmlPitStop   |    Advertise   |   Contact Us   |   Privacy   |   Copyright (c) 2000 - 2009 eggheadcafe.com  All rights reserved.