Although my use case is a bit different then what I see in the documentation available for states, I find it highly unlikely that dundas is not able to perform this type of calculation against data from my OLAP datasources.
I understand from the videos and documentation here: (https://www.dundas.com/support/learning/documentation/analyze-data/set-up-states-on-a-metric-set) that states can only utilize the condition “Equal to” when its target is set to a hierarchy member. I understand why.
Again my case is a bit odd, but the task I am assigned to work on is to display states based on a hierarchy which is used to show plans and actuals for measure calculations. This type of hierarchy is often referred to as a scenario dimension in accounting. For a picture of what I mean, please see what I am trying to do here: (https://imgur.com/SdwRhjM)
As you can see, this scenario dimension splits the Actual side by side with the plan. Unlike most hierarchies, the secnarios members are not part of a whole. They are completely separate percentages and it works out very nice in the current product we are converting to Dundas from.
You might be wondering how this works. This ‘Measure’ is actually a calculated member in the Analysis Services cube (datasource). The calculation looks like this:
iif(Scenario.currentmember is [Scenario].&[1],
[Measures].[ACTUAL_numerator]/[Measures].[ACTUAL_Denominator],
[Measures].[PLAN_numerator]/[Measures].[PLAN_Denominator])
(If you are not familiar with MDX, this code is saying - if a certain scenario hierarchy member is selected then show the actual numerator divided by the denominator, otherwise, show the plan. PS. This scenario hierarchy does not have an all member).
I would ideally like to set a bunch of color coded states in a seperate column at “80%, 90%, 100%, 110% of plan” without creating new calculated members in my Analysis Services cubes. This would require me to set the condition to <=, >=, etc - but I think dundas will only allow me to set conditions like that on measures and formulas. I have tried creating formulas, and shifting dimensions around that would satisfy this requirement but have had no luck of coming up with something valid - nevermind pretty. Unfortunately, I can not reference the things that I need to when making a formula, probably from my own lack of experience. Could any of the experts here provide some insight on how I might be able to complete this?
Thanks