![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
I have a challenging problem That I'm trying to implement as an olap solution. I'm running MSAS 2005 and looking for any suggestions or options on how best to accomplish this task. I have a fact table that stores percentages called "Fact A". I also have another fact table that stores activity called "Fact B" I would like to proivde the ability for an end user to define a percentage range that would be applied as a filter to the first fact table. so in the client tool, a user would select 50% and 100% as dimensions. the results returned are the data in "Fact B" that also meets the criteria of "Fact A" Here is some example data to help visualize Fact A: User Percentage ------------------- User1 40% User2 55% User3 75% Fact B User Minutes ------------------ User1 10 Minutes User2 20 Minutes User3 20 Minutes Given the above scenario(50% - 100%) The results from "Fact B" are: User2 20 Minutes User3 20 Minutes User 1 is excluded because his percentage(40%) does not fall into the selected range. I was wondering if this could be implemented using Dimension writeback? Is there is another approach that would work? I want to avoid having to write a "Custom" Report. Any Ideas? |
#4
| |||
| |||
|
|
try to use calculations and the new scope feature. -- only leaf level of the percentage dimension, do nothing at the all level scope(measures.minutes, percentagedimension.percentageattribute.percentage attribute.members); --(or leaves(percentagedimension)) if (measures.minutes / (measures.minutes, percentagedimension.allmember)) percentagedimension.currentmember.membervalue then this =null; end scope; make sure that you have setup the value column in the dimension with a value between 0.0 and 1.0 which is the value to use in the comparison. I hope this will help you. "Jason" <Jason (AT) discussions (DOT) microsoft.com> wrote in message news:AA5712FC-39D3-4BD8-928A-5851F6ACDF11 (AT) microsoft (DOT) com... I have a challenging problem That I'm trying to implement as an olap solution. I'm running MSAS 2005 and looking for any suggestions or options on how best to accomplish this task. I have a fact table that stores percentages called "Fact A". I also have another fact table that stores activity called "Fact B" I would like to proivde the ability for an end user to define a percentage range that would be applied as a filter to the first fact table. so in the client tool, a user would select 50% and 100% as dimensions. the results returned are the data in "Fact B" that also meets the criteria of "Fact A" Here is some example data to help visualize Fact A: User Percentage ------------------- User1 40% User2 55% User3 75% Fact B User Minutes ------------------ User1 10 Minutes User2 20 Minutes User3 20 Minutes Given the above scenario(50% - 100%) The results from "Fact B" are: User2 20 Minutes User3 20 Minutes User 1 is excluded because his percentage(40%) does not fall into the selected range. I was wondering if this could be implemented using Dimension writeback? Is there is another approach that would work? I want to avoid having to write a "Custom" Report. Any Ideas? |
#5
| |||
| |||
|
|
Thanks for the advice I will try to implement a prototype today and see if this is going to work. "Jeje" wrote: try to use calculations and the new scope feature. -- only leaf level of the percentage dimension, do nothing at the all level scope(measures.minutes, percentagedimension.percentageattribute.percentage attribute.members); --(or leaves(percentagedimension)) if (measures.minutes / (measures.minutes, percentagedimension.allmember)) percentagedimension.currentmember.membervalue then this =null; end scope; make sure that you have setup the value column in the dimension with a value between 0.0 and 1.0 which is the value to use in the comparison. I hope this will help you. "Jason" <Jason (AT) discussions (DOT) microsoft.com> wrote in message news:AA5712FC-39D3-4BD8-928A-5851F6ACDF11 (AT) microsoft (DOT) com... I have a challenging problem That I'm trying to implement as an olap solution. I'm running MSAS 2005 and looking for any suggestions or options on how best to accomplish this task. I have a fact table that stores percentages called "Fact A". I also have another fact table that stores activity called "Fact B" I would like to proivde the ability for an end user to define a percentage range that would be applied as a filter to the first fact table. so in the client tool, a user would select 50% and 100% as dimensions. the results returned are the data in "Fact B" that also meets the criteria of "Fact A" Here is some example data to help visualize Fact A: User Percentage ------------------- User1 40% User2 55% User3 75% Fact B User Minutes ------------------ User1 10 Minutes User2 20 Minutes User3 20 Minutes Given the above scenario(50% - 100%) The results from "Fact B" are: User2 20 Minutes User3 20 Minutes User 1 is excluded because his percentage(40%) does not fall into the selected range. I was wondering if this could be implemented using Dimension writeback? Is there is another approach that would work? I want to avoid having to write a "Custom" Report. Any Ideas? |
#6
| |||
| |||
|
#7
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |