Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

Using CustomRollupProperties with Calculated Measures Expand / Collapse
Posted Wednesday, March 13, 2013 9:44 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, August 19, 2015 7:45 AM
Points: 3, Visits: 42

I am not sure if this is at all possible. I have a cube that manages financial data. It uses a parent-child hierarchy to manage the different income statement accounts and order them accordingly. In this accounts dimension I also have statistical accounts built in that are various calculations off of the different accounts. For instance, using the Vacancy account value to get average occupancy.

I also have a calculation in my cube, variance, which takes my actual values and subtracts them from my budget numbers to get the difference for each account. All of this works correctly.

My problem is when I try to use CustomMemberProperties on the Account table. Because I have statistical accounts combined with Revenue/Expense accounts, there is the possibility that I could have accounts with different formatting requirements (Percent vs Currency). The CustomMemberProperties value updates the data values correctly, but not the variance calculation. For example, If I subtract a currency value from a currency value I would expect the variance to be a currency. If I subtract a percent from a percent I would expect a percent. However it maintains the Format string of the calculation no matter what is being subtracted (In this case currency).

Is there a way to customize this in any way? Is there a way I can conditionally format the variance number based on the values in the actuals and budget fields?

Thanks everyone for your time. I hope someone else has run into similar problems.
Post #1430489
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse