Annotations for "Create a Measure and KPI (Tutorial)" topic.Thu, 08 Dec 2016 01:11:31 Z
http://technet.microsoft.com/en-us/library/hh272049(v=sql.110).aspx#CommunityContent
Saleh Hossony.o.y. growth calculationI think that he better should 've used the DATESBETWEEN function instead of DATEADD function that created the confused results which needs more explanations about how it worked here if it worked correctly.Sun, 04 Sep 2016 11:38:57 -0700
http://technet.microsoft.com/en-us/library/hh272049(v=sql.110).aspx#CommunityContent
a-EMLogical errors in formulasIn formula "StoreSalesPrevYr:=CALCULATE([StoreSales], DATEADD(DimDate[Datekey], -1, YEAR))", the 2nd parameter for DATEADD is relative to the 'current context'. In column DimDate[DateKey], that is the most recent year, i.e. 2011.Looking at sales figures starting down from one year before 2011 shows all recorded sales, of course. => YOY growth is 0.If this second parameter of DATEADD is changed to e.g. -3 or -4, the numbers do change to reflect total store sales over 2007-2008 or 2007 respectiTue, 09 Feb 2016 10:30:07 -0800
http://technet.microsoft.com/en-us/library/hh272049(v=sql.110).aspx#CommunityContent
The same problemMy KPI functions gave me the same numbers with 0% YOY growth..Rose, I have de same problem.You find the solution?ThanksMarianThu, 19 Nov 2015 13:46:28 -0800
http://technet.microsoft.com/en-us/library/hh272049(v=sql.110).aspx#CommunityContent
RoseventuraMy KPI functions gave me the same numbers with 0% YOY growth..I copy/pasted the functions directly from the tutorial page as such:StoreSales:=CALCULATE(SUM(FactSales[SalesAmount]), DimChannel[ChannelName]="Store")StoreSalesPrevYr:=CALCULATE([StoreSales], DATEADD(DimDate[Datekey], -1, YEAR))YOYGrowth:=([StoreSales] - [StoreSalesPrevYr]) / [StoreSalesPrevYr]and the results were such:StoreSales: $4,854,699,598.33StoreSalesPrevYr: $4,854,699,598.33YOYGrowth: 0.00 %There was no difference between 1 year and the previous year. What did I do wrong?RoseMon, 24 Aug 2015 20:43:23 -0700
http://technet.microsoft.com/en-us/library/hh272049(v=sql.110).aspx#CommunityContent
ResidentX10Why does this formula not have a closing bracket?Why is no closing bracket needed for this equation?YOYGrowth:=([StoreSales] - [StoreSalesPrevYr]) / [StoreSalesPrevYr]Sun, 28 Jun 2015 19:20:29 -0700