Viewing 5 posts - 1 through 5 (of 5 total)
Ps - to clarify things a bit further, unfortunately we can't just calculate average revenue per customer by dividing total revenue by total customers - this is because the avg_revenue_per_customer...
August 18, 2009 at 9:29 am
Hi Drew,
We do already have company total revenue as a measure. This isn't actually the measure in question.
The leaf measure we're working on is company average_revenue_per_customer, which may be...
August 18, 2009 at 8:39 am
Drew - thanks for simplifying the formula, it does make it clearer.
However we are still at a loss with what the MDX would be to calculate total_revenue i.e..
(CompanyA...
August 18, 2009 at 5:19 am
Thanks. It turns out there are a few different ways to do this depending on your situation. If you have the SQL Server Enterprise Ed you can use the...
November 24, 2008 at 2:49 am
We worked this out in the end using a nice little recursive call.
member [measures].[lastnonempty] as
case when not isempty(([measures].[price], [time].[time].prevmember))
then ([measures].[price], [time].[time].prevmember)
else [time].[time].prevmember
end
November 21, 2008 at 10:04 am
Viewing 5 posts - 1 through 5 (of 5 total)