ssas - MDX - active in current period, and not active in previous period -
What is the most effective way to do this in MDX? I know that you can create 2 calculated measures, which are active with the current period of the dimension of time, and the second with a previous period, and then a filter with a complex situation.
Though the work about others that can be more efficient? Any recommendations? My goal is to create a set of calculated measures that will help client analysts. The main 2 dimensions are these [calendars], and obviously [the customer]. I have a fact that includes activity for customers, these are 3 institutions which will be based on our calculations. This is from an article by Chris Web: ways to optimize it With the follow-up of the article:
With the reminder of the member. [Returning customer] as COUNT (unnecessary (non-payment ([customer]. [Customer] [customer] .mmbrs, [measure] [internet sales amount]), {[measure]. [Internet sales amount]} * {NULL: [Date]. [Calendar]. PRERENTMEMBER.PREVMEMBER}) Member Remedy [New customer] AS [remedy] [Customer number] a ?? Remedy [returning customer] SELECT {[remedy]. [Customer number], measures [returning customer], measures [new customer]} at 0, [date]. [Calendar]. [calendar year]. from 1 on the first [adverses works]
Comments
Post a Comment