![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
"the Filter set in current year" Meant that All Level of Time dimension has been disabled and includedmembers |
#2
| |||
| |||
|
|
(sorry for double posting, but it seems to me, the first thread got lost within newer ones.) Hello, the Problem is that OWC is displaying wrong Total results, when setting the filter (in OCW Pivottable manually) on time dimension (eg. only Quarters Q1, Q2, Q3 in 2004). This applies to Previous Year Values calculated via: ([MEASURES].[Sales], ParalellPeriode([TIME].[YEAR],1)) Time Dimension in this scenario consists of (Year, Quarter, Month, Day). Data is loaded always on day level and aggregated up. "the Filter set in current year" Meant that All Level of Time dimension has been disabled and includedmembers (filter) has been set to [2004].[Q1], [2004].[Q2], [2004].[Q3] . So actual Sales Sum for the total Level (2004) Sums up the first 3 included Quarters (as shown in the example). Example assuming sales for Q1=1000, Q2=2000 and so on, in both of the years SALES S_YTD S_PREV S_PREV_YTD 2004 Q1 1000 1000 1000 1000 Q2 2000 3000 2000 2000 Q3 3000 6000 3000 3000 SUM 2004 6000 6000 10000 10000 ==== ==== 10000 is wrong in this case, it also should display 6000, summing up Q1-Q3 in the last year. The Previous Year Value should also care about the filter, displaying the parallel of only the filtered quarters in 2004. This seems to me to be a OWC Bug which I urgently have to fix. Deepak and Ohjoo came up with really good solutions, which unfortunately only work, when Time dimension is in Rows (and furthermore not combined with any other dimension). I believe that much more user experience the same problem/bug (as previous year values should be a common business scenario) and I'd like to ask the community if there is already a solution or if anyone can think of a solution for this where it doesn't matter if time dimension is in filter, row or colums. Best regards Monte |
#3
| |||
| |||
|
|
Can you try the following approach? - Delete any calculated members etc you created on your cube for the previous solution. - Create a new *real* (ie not calculated) measure and call it S_PREV - For the Source Column property, enter the value 0. - Create a new calculated cell and call it anything you like - For the new calculated cell, enter the Calculation Subcube as {[Measures].[S_PREV]}, [Time].[Month].MEMBERS - For the Calculation Value, enter calculationpassvalue( (measures.[sales], parallelperiod(time.[year], 1)), -1) Hopefully this will work for you! By creating a real measure rather than a calculated measure you ensure that the VISUALTOTALS functionality which Excel and OWC uses to calculate subtotals works as you want; the calculated cell just inserts the previous period values over the dummy value of 0 in this measure. It's not an elegant solution and carries the risk of a) increased cube size, and b) reduced query performance, as a result of the calculated cell, but if your cube is fairly simple then with a bit of luck these shouldn't be issues for you. HTH, Chris "Monte" wrote: (sorry for double posting, but it seems to me, the first thread got lost within newer ones.) Hello, the Problem is that OWC is displaying wrong Total results, when setting the filter (in OCW Pivottable manually) on time dimension (eg. only Quarters Q1, Q2, Q3 in 2004). This applies to Previous Year Values calculated via: ([MEASURES].[Sales], ParalellPeriode([TIME].[YEAR],1)) Time Dimension in this scenario consists of (Year, Quarter, Month, Day). Data is loaded always on day level and aggregated up. "the Filter set in current year" Meant that All Level of Time dimension has been disabled and includedmembers (filter) has been set to [2004].[Q1], [2004].[Q2], [2004].[Q3] . So actual Sales Sum for the total Level (2004) Sums up the first 3 included Quarters (as shown in the example). Example assuming sales for Q1=1000, Q2=2000 and so on, in both of the years SALES S_YTD S_PREV S_PREV_YTD 2004 Q1 1000 1000 1000 1000 Q2 2000 3000 2000 2000 Q3 3000 6000 3000 3000 SUM 2004 6000 6000 10000 10000 ==== ==== 10000 is wrong in this case, it also should display 6000, summing up Q1-Q3 in the last year. The Previous Year Value should also care about the filter, displaying the parallel of only the filtered quarters in 2004. This seems to me to be a OWC Bug which I urgently have to fix. Deepak and Ohjoo came up with really good solutions, which unfortunately only work, when Time dimension is in Rows (and furthermore not combined with any other dimension). I believe that much more user experience the same problem/bug (as previous year values should be a common business scenario) and I'd like to ask the community if there is already a solution or if anyone can think of a solution for this where it doesn't matter if time dimension is in filter, row or colums. Best regards Monte |
#4
| |||
| |||
|
|
Sorry, if the lowest level on your Time dimension is day, the calculation subcube should be {[Measures].[S_PREV]}, [Time].[Day].MEMBERS} "Chris Webb" wrote: Can you try the following approach? - Delete any calculated members etc you created on your cube for the previous solution. - Create a new *real* (ie not calculated) measure and call it S_PREV - For the Source Column property, enter the value 0. - Create a new calculated cell and call it anything you like - For the new calculated cell, enter the Calculation Subcube as {[Measures].[S_PREV]}, [Time].[Month].MEMBERS - For the Calculation Value, enter calculationpassvalue( (measures.[sales], parallelperiod(time.[year], 1)), -1) Hopefully this will work for you! By creating a real measure rather than a calculated measure you ensure that the VISUALTOTALS functionality which Excel and OWC uses to calculate subtotals works as you want; the calculated cell just inserts the previous period values over the dummy value of 0 in this measure. It's not an elegant solution and carries the risk of a) increased cube size, and b) reduced query performance, as a result of the calculated cell, but if your cube is fairly simple then with a bit of luck these shouldn't be issues for you. HTH, Chris "Monte" wrote: (sorry for double posting, but it seems to me, the first thread got lost within newer ones.) Hello, the Problem is that OWC is displaying wrong Total results, when setting the filter (in OCW Pivottable manually) on time dimension (eg. only Quarters Q1, Q2, Q3 in 2004). This applies to Previous Year Values calculated via: ([MEASURES].[Sales], ParalellPeriode([TIME].[YEAR],1)) Time Dimension in this scenario consists of (Year, Quarter, Month, Day). Data is loaded always on day level and aggregated up. "the Filter set in current year" Meant that All Level of Time dimension has been disabled and includedmembers (filter) has been set to [2004].[Q1], [2004].[Q2], [2004].[Q3] . So actual Sales Sum for the total Level (2004) Sums up the first 3 included Quarters (as shown in the example). Example assuming sales for Q1=1000, Q2=2000 and so on, in both of the years SALES S_YTD S_PREV S_PREV_YTD 2004 Q1 1000 1000 1000 1000 Q2 2000 3000 2000 2000 Q3 3000 6000 3000 3000 SUM 2004 6000 6000 10000 10000 ==== ==== 10000 is wrong in this case, it also should display 6000, summing up Q1-Q3 in the last year. The Previous Year Value should also care about the filter, displaying the parallel of only the filtered quarters in 2004. This seems to me to be a OWC Bug which I urgently have to fix. Deepak and Ohjoo came up with really good solutions, which unfortunately only work, when Time dimension is in Rows (and furthermore not combined with any other dimension). I believe that much more user experience the same problem/bug (as previous year values should be a common business scenario) and I'd like to ask the community if there is already a solution or if anyone can think of a solution for this where it doesn't matter if time dimension is in filter, row or colums. Best regards Monte |
#5
| |||
| |||
|
|
Can you try the following approach? - Delete any calculated members etc you created on your cube for the previous solution. - Create a new *real* (ie not calculated) measure and call it S_PREV - For the Source Column property, enter the value 0. - Create a new calculated cell and call it anything you like - For the new calculated cell, enter the Calculation Subcube as {[Measures].[S_PREV]}, [Time].[Month].MEMBERS - For the Calculation Value, enter calculationpassvalue( (measures.[sales], parallelperiod(time.[year], 1)), -1) Hopefully this will work for you! By creating a real measure rather than a calculated measure you ensure that the VISUALTOTALS functionality which Excel and OWC uses to calculate subtotals works as you want; the calculated cell just inserts the previous period values over the dummy value of 0 in this measure. It's not an elegant solution and carries the risk of a) increased cube size, and b) reduced query performance, as a result of the calculated cell, but if your cube is fairly simple then with a bit of luck these shouldn't be issues for you. HTH, Chris "Monte" wrote: (sorry for double posting, but it seems to me, the first thread got lost within newer ones.) Hello, the Problem is that OWC is displaying wrong Total results, when setting the filter (in OCW Pivottable manually) on time dimension (eg. only Quarters Q1, Q2, Q3 in 2004). This applies to Previous Year Values calculated via: ([MEASURES].[Sales], ParalellPeriode([TIME].[YEAR],1)) Time Dimension in this scenario consists of (Year, Quarter, Month, Day). Data is loaded always on day level and aggregated up. "the Filter set in current year" Meant that All Level of Time dimension has been disabled and includedmembers (filter) has been set to [2004].[Q1], [2004].[Q2], [2004].[Q3] . So actual Sales Sum for the total Level (2004) Sums up the first 3 included Quarters (as shown in the example). Example assuming sales for Q1=1000, Q2=2000 and so on, in both of the years SALES S_YTD S_PREV S_PREV_YTD 2004 Q1 1000 1000 1000 1000 Q2 2000 3000 2000 2000 Q3 3000 6000 3000 3000 SUM 2004 6000 6000 10000 10000 ==== ==== 10000 is wrong in this case, it also should display 6000, summing up Q1-Q3 in the last year. The Previous Year Value should also care about the filter, displaying the parallel of only the filtered quarters in 2004. This seems to me to be a OWC Bug which I urgently have to fix. Deepak and Ohjoo came up with really good solutions, which unfortunately only work, when Time dimension is in Rows (and furthermore not combined with any other dimension). I believe that much more user experience the same problem/bug (as previous year values should be a common business scenario) and I'd like to ask the community if there is already a solution or if anyone can think of a solution for this where it doesn't matter if time dimension is in filter, row or colums. Best regards Monte |
#6
| |||
| |||
|
|
Honestly, I can't type today - that last } shouldn't have crept in there! The calculation subcube should be {[Measures].[S_PREV]}, [Time].[Day].MEMBERS "Chris Webb" wrote: Sorry, if the lowest level on your Time dimension is day, the calculation subcube should be {[Measures].[S_PREV]}, [Time].[Day].MEMBERS} "Chris Webb" wrote: Can you try the following approach? - Delete any calculated members etc you created on your cube for the previous solution. - Create a new *real* (ie not calculated) measure and call it S_PREV - For the Source Column property, enter the value 0. - Create a new calculated cell and call it anything you like - For the new calculated cell, enter the Calculation Subcube as {[Measures].[S_PREV]}, [Time].[Month].MEMBERS - For the Calculation Value, enter calculationpassvalue( (measures.[sales], parallelperiod(time.[year], 1)), -1) Hopefully this will work for you! By creating a real measure rather than a calculated measure you ensure that the VISUALTOTALS functionality which Excel and OWC uses to calculate subtotals works as you want; the calculated cell just inserts the previous period values over the dummy value of 0 in this measure. It's not an elegant solution and carries the risk of a) increased cube size, and b) reduced query performance, as a result of the calculated cell, but if your cube is fairly simple then with a bit of luck these shouldn't be issues for you. HTH, Chris "Monte" wrote: (sorry for double posting, but it seems to me, the first thread got lost within newer ones.) Hello, the Problem is that OWC is displaying wrong Total results, when setting the filter (in OCW Pivottable manually) on time dimension (eg. only Quarters Q1, Q2, Q3 in 2004). This applies to Previous Year Values calculated via: ([MEASURES].[Sales], ParalellPeriode([TIME].[YEAR],1)) Time Dimension in this scenario consists of (Year, Quarter, Month, Day). Data is loaded always on day level and aggregated up. "the Filter set in current year" Meant that All Level of Time dimension has been disabled and includedmembers (filter) has been set to [2004].[Q1], [2004].[Q2], [2004].[Q3] . So actual Sales Sum for the total Level (2004) Sums up the first 3 included Quarters (as shown in the example). Example assuming sales for Q1=1000, Q2=2000 and so on, in both of the years SALES S_YTD S_PREV S_PREV_YTD 2004 Q1 1000 1000 1000 1000 Q2 2000 3000 2000 2000 Q3 3000 6000 3000 3000 SUM 2004 6000 6000 10000 10000 ==== ==== 10000 is wrong in this case, it also should display 6000, summing up Q1-Q3 in the last year. The Previous Year Value should also care about the filter, displaying the parallel of only the filtered quarters in 2004. This seems to me to be a OWC Bug which I urgently have to fix. Deepak and Ohjoo came up with really good solutions, which unfortunately only work, when Time dimension is in Rows (and furthermore not combined with any other dimension). I believe that much more user experience the same problem/bug (as previous year values should be a common business scenario) and I'd like to ask the community if there is already a solution or if anyone can think of a solution for this where it doesn't matter if time dimension is in filter, row or colums. Best regards Monte |
#7
| |||
| |||
|
#8
| |||
| |||
|
|
I tried out your approach and it worked perfectly well on my Dev-Server! But I checked the license version of my customers SQL-Server and just as I was afraid of ... it is a just standard edition ... so I cannot use calculated cells to work this around :-| Any other clues? Best regards! "Chris Webb" wrote: Can you try the following approach? - Delete any calculated members etc you created on your cube for the previous solution. - Create a new *real* (ie not calculated) measure and call it S_PREV - For the Source Column property, enter the value 0. - Create a new calculated cell and call it anything you like - For the new calculated cell, enter the Calculation Subcube as {[Measures].[S_PREV]}, [Time].[Month].MEMBERS - For the Calculation Value, enter calculationpassvalue( (measures.[sales], parallelperiod(time.[year], 1)), -1) Hopefully this will work for you! By creating a real measure rather than a calculated measure you ensure that the VISUALTOTALS functionality which Excel and OWC uses to calculate subtotals works as you want; the calculated cell just inserts the previous period values over the dummy value of 0 in this measure. It's not an elegant solution and carries the risk of a) increased cube size, and b) reduced query performance, as a result of the calculated cell, but if your cube is fairly simple then with a bit of luck these shouldn't be issues for you. HTH, Chris "Monte" wrote: (sorry for double posting, but it seems to me, the first thread got lost within newer ones.) Hello, the Problem is that OWC is displaying wrong Total results, when setting the filter (in OCW Pivottable manually) on time dimension (eg. only Quarters Q1, Q2, Q3 in 2004). This applies to Previous Year Values calculated via: ([MEASURES].[Sales], ParalellPeriode([TIME].[YEAR],1)) Time Dimension in this scenario consists of (Year, Quarter, Month, Day). Data is loaded always on day level and aggregated up. "the Filter set in current year" Meant that All Level of Time dimension has been disabled and includedmembers (filter) has been set to [2004].[Q1], [2004].[Q2], [2004].[Q3] . So actual Sales Sum for the total Level (2004) Sums up the first 3 included Quarters (as shown in the example). Example assuming sales for Q1=1000, Q2=2000 and so on, in both of the years SALES S_YTD S_PREV S_PREV_YTD 2004 Q1 1000 1000 1000 1000 Q2 2000 3000 2000 2000 Q3 3000 6000 3000 3000 SUM 2004 6000 6000 10000 10000 ==== ==== 10000 is wrong in this case, it also should display 6000, summing up Q1-Q3 in the last year. The Previous Year Value should also care about the filter, displaying the parallel of only the filtered quarters in 2004. This seems to me to be a OWC Bug which I urgently have to fix. Deepak and Ohjoo came up with really good solutions, which unfortunately only work, when Time dimension is in Rows (and furthermore not combined with any other dimension). I believe that much more user experience the same problem/bug (as previous year values should be a common business scenario) and I'd like to ask the community if there is already a solution or if anyone can think of a solution for this where it doesn't matter if time dimension is in filter, row or colums. Best regards Monte |
#9
| |||
| |||
|
|
Hi Chris, You said your idea is not an elegant solution, but it's very wonderful idea indeed! Do you have any more information on visual totals with calculated members? I have a curiosity to know that this issue is dependent on just client tools or so-called by-design of analysis services. Ohjoo Kwon "Chris Webb" <OnlyForPostingToNewsgroups (AT) hotmail (DOT) com> wrote in message news:AFBCF3D5-B5E7-4FA4-A0A1-C5DF9E748686 (AT) microsoft (DOT) com... Honestly, I can't type today - that last } shouldn't have crept in there! The calculation subcube should be {[Measures].[S_PREV]}, [Time].[Day].MEMBERS "Chris Webb" wrote: Sorry, if the lowest level on your Time dimension is day, the calculation subcube should be {[Measures].[S_PREV]}, [Time].[Day].MEMBERS} "Chris Webb" wrote: Can you try the following approach? - Delete any calculated members etc you created on your cube for the previous solution. - Create a new *real* (ie not calculated) measure and call it S_PREV - For the Source Column property, enter the value 0. - Create a new calculated cell and call it anything you like - For the new calculated cell, enter the Calculation Subcube as {[Measures].[S_PREV]}, [Time].[Month].MEMBERS - For the Calculation Value, enter calculationpassvalue( (measures.[sales], parallelperiod(time.[year], 1)), -1) Hopefully this will work for you! By creating a real measure rather than a calculated measure you ensure that the VISUALTOTALS functionality which Excel and OWC uses to calculate subtotals works as you want; the calculated cell just inserts the previous period values over the dummy value of 0 in this measure. It's not an elegant solution and carries the risk of a) increased cube size, and b) reduced query performance, as a result of the calculated cell, but if your cube is fairly simple then with a bit of luck these shouldn't be issues for you. HTH, Chris "Monte" wrote: (sorry for double posting, but it seems to me, the first thread got lost within newer ones.) Hello, the Problem is that OWC is displaying wrong Total results, when setting the filter (in OCW Pivottable manually) on time dimension (eg. only Quarters Q1, Q2, Q3 in 2004). This applies to Previous Year Values calculated via: ([MEASURES].[Sales], ParalellPeriode([TIME].[YEAR],1)) Time Dimension in this scenario consists of (Year, Quarter, Month, Day). Data is loaded always on day level and aggregated up. "the Filter set in current year" Meant that All Level of Time dimension has been disabled and includedmembers (filter) has been set to [2004].[Q1], [2004].[Q2], [2004].[Q3] . So actual Sales Sum for the total Level (2004) Sums up the first 3 included Quarters (as shown in the example). Example assuming sales for Q1=1000, Q2=2000 and so on, in both of the years SALES S_YTD S_PREV S_PREV_YTD 2004 Q1 1000 1000 1000 1000 Q2 2000 3000 2000 2000 Q3 3000 6000 3000 3000 SUM 2004 6000 6000 10000 10000 ==== ==== 10000 is wrong in this case, it also should display 6000, summing up Q1-Q3 in the last year. The Previous Year Value should also care about the filter, displaying the parallel of only the filtered quarters in 2004. This seems to me to be a OWC Bug which I urgently have to fix. Deepak and Ohjoo came up with really good solutions, which unfortunately only work, when Time dimension is in Rows (and furthermore not combined with any other dimension). I believe that much more user experience the same problem/bug (as previous year values should be a common business scenario) and I'd like to ask the community if there is already a solution or if anyone can think of a solution for this where it doesn't matter if time dimension is in filter, row or colums. Best regards Monte |
#10
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |