SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Using CustomRollupProperties with Calculated Measures


Using CustomRollupProperties with Calculated Measures

Author
Message
rbransfield
rbransfield
Forum Newbie
Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: General Forum Members
Points: 3 Visits: 42
Hi,

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.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search