AWM Calculated Measure for Percent of Total Across Multiple Dimensions?

I noticed that AWM has a Share function that gives me a percent total of a grain from a specific hierarchy's Top of Hierarchy, but is there any way to do that with multiple dimensions? For example, if I had a Share of Dimension X = 55% Where Time = 1/1/2013 and a Share of Dimension Y = 32% Where Time = 1/1/2013, then could I have a Share of both Dimension X and Dimension Y = 16% Where Time = 1/1/2013?

I had used an alternate solution which is a bit more cumbersome using native OLAP_DML formulae/expression.
The above expression using OLAP Expression Syntax is much better (if it works).
I was not aware of this OLAP expression syntax when i needed to create a kpi for similar requirement.
We had Qty measure and Share along dimension like "Qty - Share at Year level", "Qty - Share of Total Customer".
We needed to get "Qty - Share at Total Customer, Year".
Cube= SALESCUBE
Base Meas = QTY
Step 1) Create Measure which represents "Qty - Total Customer, Year" which will work in any reporting context ...
Note: For time=day1/2/3/ within same year and customer=cust1/2/3/... or Total Customer, the expression result will be constant (result fixed for any dimension members/status along the 2 dimensions - TIME and CUST). Denominator Value changes each year since we have constrainted time dimension to the ancestor of current cell at YR level. If we choose anscestor at TOP level TOTTIME say then the value is fixed for all time dimension members/values.
olap dml expression: QUAL(SALESCUBE_QTY, CUSTOMER limit(CUSTOMER to CUSTOMER_LEVELREL 'TCUST'), TIME limit(limit(TIME to ANCESTORS USING TIME_PARENTREL TIME(TIME TIME)) KEEP TIME_LEVELREL eq 'YR'))
in awxml - this becomes:
ETMeasureColumnName="QTY_TCUST_YR"
Name="QTY_TCUST_YR"
MeasureExpression="OLAP_DML_EXPRESSION('QUAL(SALESCUBE_QTY, CUSTOMER limit(CUSTOMER to CUSTOMER_LEVELREL ''TCUST''), TIME limit(limit(TIME to ANCESTORS USING TIME_PARENTREL TIME(TIME TIME)) KEEP TIME_LEVELREL eq ''YR''))', NUMBER)">
<Classification
Value="AwmDescriptionType=OLAP_DML_CALC"/>
<Description
Type="LongDescription"
Language="AMERICAN"
Value="Qty - Total Customer, Year">
Step 2) Define the share measure explicitly since we have already calculated the denominator needed for composite share.
Check for division by 0 error before performing the share calculation explicitly as Numerator= Qty (for current cell/reporting context) and Denominator = Qty - Total Customer, Year (from Step 1)
olap dml expression: if SALESCUBE_QTY_TCUST_YR ne 0 then SALESCUBE_QTY / SALESCUBE_QTY_TCUST_YR else na
in awxml - this becomes:
ETMeasureColumnName="QTY_SHARE_TCUST_YR"
Name="QTY_SHARE_TCUST_YR"
MeasureExpression="OLAP_DML_EXPRESSION(&apos;if SALESCUBE_QTY_TCUST_YR ne 0 then SALESCUBE_QTY / SALESCUBE_QTY_TCUST_YR else na&apos;, NUMBER)">
<Classification
Value="AwmDescriptionType=OLAP_DML_CALC"/>
<Description
Type="LongDescription"
Language="AMERICAN"
Value="Qty - Share of Total Customer, Year">
</Description>
Report needs to use measure QTY_SHARE_TCUST_YR (Qty - Share of Total Customer, Year) defined in Step 2. It may be useful to expose/display intermediate measure QTY_TCUST_YR also so as to make the basis of calculation very clear to the user.
Nick,
If you customize above soln. to use Total Time, Total Prod and Total Organization (along 3 dimensions)... I am sure the fact table has a time dimension which should also be factored in in your calc/defn.
If you have missed out the join to Time dimension from fact in your queries, in olap reporting terms, its similar to Time Dimension selection of Time level = TTIME Total Time (1 node at TOP).
You need:
Step 1) Qty - Total Time, Total Product and Total Org
Step 2) Qty - Share of Total Time, Total Product and Total Org
Then the example you gave should be covered via QTY and QTY_SHARE_TTIME_TPROD_TORG (Step 2)
SUM(quantity)
2875should be QTY, QTY_SHARE_TTIME_TPROD_TORG (=100%) at Time level = TTIME, Product level = TPROD, Org level = TORG
SUM(quantity)
345 [12% of all products sold]should be QTY, QTY_SHARE_TTIME_TPROD_TORG (=12% hopefully) at Time level = TTIME, Product level = PROD with report filter on product = 'CX-867054', Org level = TORG
SUM(quantity)
977 [34% of all products sold]should be QTY, QTY_SHARE_TTIME_TPROD_TORG (=34% hopefully) at Time level = TTIME, Product level = TPROD, Org level = STORE with report filter on store = 'NY_ALBA_013'
SUM(quantity)
88 [3.06% of all products sold]should be QTY, QTY_SHARE_TTIME_TPROD_TORG (=3.06% hopefully) at Time level = TTIME, Product level = PROD with report filter on product = 'CX-867054', Org level = STORE with report filter on store = 'NY_ALBA_013'
HTH
Shankar

Similar Messages

  • How do I total across multiple Tables? Help!

    how do I total across multiple Tables? Help!
    I feel like a complete noob.

    Hi Marc,
    There is no function explicitly for that sort of array calculation in Numbers.
    My favorite way is to use a list of Table Names and the INDIRECT(ADDRESS) function combination to produce a SUM across tables. I'm making the assumption that you want to do something like adding up all the values in a particular cell of multiple tables.  For example "give me the total of all the A1 cells in tables T1, T2, T3 and T4".  For this I would use the formula:
    =INDIRECT(ADDRESS(1,1,1,,A))
    to grab the cell contents of the table names mentioned in column A of a summary table.  Once you have them collected in your summary table, add them up.
    Here's a screen shot...
    Hope that gives you an idea for approaching this problem.
    Jerry

  • Calculating turn-rates across multiple dimensions

    hi,
    I am having some problems calculating the turn-rates of e.g. inventory. The cube is 6 dimensional, with seperate dimensions for months (which aggregate to Quarters etc), year and scenario (other dims are accounts, organization and countries).
    The turn-rates must be based on 12 month moving average revenue from the account dimension and must consider the three dimensions month, year and scenario (which have a member for actuals and several different forecast members).
    The calculation must use
    1) information from the months in the current year and months in the previous year.
    2) In addition, the scenario dimensions must consider if it is a forecast, that it includes actuals from the past periods and use data from the forecast dimension for future periods.
    At the moment I have problems getting the cube to do 2), while it has been possible to use IF functions in the outline to calculate 1). If I need to use IF functions in the outline for 2), it will be very complex and difficult to maintain, as I we have 13 different forecast versions in the scenario dimension.
    Any help is highly appreciated.
    Best
    Soeren

    Hi,
    unfortunately, this purpose-built datamart was built within the company RPD. It has been deleted since then. These are the two reasons why I can't post it.
    My advice is to take the time to read the help about how to build logical tables in the Administrator tool.
    Here's a quick walkthrough:
    - create your logical tables and join them in the business model diagram
    - create dimensions (hierarchies) for all your dimension tables with at least a total level and a detail level. Thins can be done automatically by right-clicking the dimension table and selecting "Create Dimension"
    - in the dimension tables, select the source table (in the source subfolder of the dimension table) and edit its properties : in the properties dialog box, select the content tab and in front of the dimension name, select the lowest (or apropriate) logical level
    - in some complex BM (logical levels), it might also be necessary to apply similar settings to the fact table: This time, when you edit a fact table source, you will see the list of all dimensions available in the contents tab. There, for each dimension your fact table is related to, you will select the apropriate dimension level. if there isn't any join between you fact table and a given dimension, leave the logical level blank.
    I hope this helps.
    Ced.

  • Best practices for sharing iPhoto libraries across multiple Macs

    I have a pair of iMacs running 10.6.x. and iPhoto 11 connected via Ethernet to an Airport Extreme. I am looking for a way to share my iPhoto library between the two Macs.
    I found an Apple Support note on the topic (http://support.apple.com/kb/HT1198) which states that a disk image is a supported location for a shared iPhoto library (with limitations acceptable to me) and it strikes me that this would be a way of hosting a shared iPhoto library onto a NAS device.
    Am I missing a simpler solution or, more importantly, am I missing any blindingly obvious caveats? I'd love to hear from anybody who has tried this (successfully or otherwise) or anybody who has a better idea. I haven't bought a NAS device yet, so I'm open to alternative suggestions.
    Specific requirements:
    Members of my family use either one of a pair of iMacs.
    The only user who edits the iPhoto library is me and I only need read/write access from one machine.
    iPhoto library access limited to one user at a time is acceptable and practical in my case.

    Easiest:
    If the other users only get to see the Library then just use iPhoto Sharing.
    Enable sharing in the iPhoto Preferences on the Host machine, then go to the other macgine and in the same location enable 'Look for Shared Libraries'
    Other forms of sharing will give the users read/write access to the Library.
    A strong warning: If you're trying to edit the Library (that is, make albums, move photos around, keyword, make books or slideshows etc.) or edit individual photos in it via Wireless be very careful. Dropouts are a common fact of wireless networking, and should one occur while the app is writing to the database then your Library will be damaged. Simply, I would not do this with my Libraries. 
    Regards
    TD

  • Best practices for referencing external video across multiple computers

    I have made a .swf that references an external .f4v .  The swf plays fine on my own computer, but does not play on a colleagues computer, or another computer which we tested.  The file is not for upload to web , it is for local playback.  I assume this is a file path issue, but I have tried many different things including specifying a path and then recreating the same directory structure on the other computer.  What am I missing?  The f4v file can playback on the colleagues computer (I did install ffdshow , although another tested mp4 also plays back fine) but not the .swf.  Please , any help would be greatly appreciated!
    Thank you!

    This could be a security context issue, is it possible on your own machine you have allowed access to that file or folder containing the F4V file, maybe using the global-security-settings in flash player? Have a read of the following just in case:
    http://www.adobe.com/products/flashplayer/articles/localcontent/

  • Excel CUBESET across multiple dimensions returns #VALUE

    Simplified question:
    All the cubeset examples I'm finding seem to be limited to one "criteria"
    http://office.microsoft.com/en-us/excel-help/cubeset-function-HA010083019.aspx
    Ultimately I need a cubevalue that is based on multiple criteria. When I use a CUBEVALUE pointed to 4 different Cubeset cells, I get a #VALUE error.
    * Should I be trying to combine my sets before I feed them to the CUBEVALUE, or should it matter?
    * What conditions or circumstances would result in not being able to get a value from CUBEVALUE taking into account multiple CUBESET sources (I have independently identified that there are real values to return)
    * If it would be better to combine all the criteria in one CUBESET before feeding that to the CUBEVALUE, what is the syntax (bracket placement) for including more than one condition from other cells that each contain a single cubeset condition? e.g.
    =CUBESET("Cubename",({A1, A5, C10, B14}))
    Thank you!
    Note: two of my source cubesets are overlapping, I wouldn't think this is a problem- I'd expect the combination to work like a Venn diagram; one is "All members except APPLES", and the other is "All members except KIWI" so I'd expect
    the combination of the two to result in "All members except Apples OR Kiwi"... please clarify if that isn't correct

    Hi Keith,
    That seems the value is not getting fetched from the right place. This is a different behavior and to maintain only one issue on a single thread
    I would advise you to pursue the other thread you have just opened and will help us avoid duplication of the same issue.
    Please reach out to us if you have any questions on this issue and we will glad to work on it.
    Regards,
    Abhijeet.

  • How to set hierachy to drill across multiple dimensions?

    Hello
    I have a situation:
    There are 3 tables: Credit Manager Dim, Customer Dim and Sales Fact
    There are 3 columns: Credit Manager ID, Customer ID and Document Number (from sales fact).
    The request is to create a hierachy so that the report can drill from credit manager to Customers (for that credit manager) and then to all the document numbers for that customer.
    I think I will need to create one hierachy that uses these 3 columns in each of the level. However, the challenge now is that one dimensional hierachy can only accept columns from one dimension tables.
    Please advice
    Thank you

    Thanks for the reply Dbettinger.
    For now I am ignoring document number part for testing purpose. In my credit manager dim, the lowest level is detail level where credit manager code is assigned under (Credit Manager Code is key enabled for drill-down). I have set the 'prefer drill path' of this level to point to Customer Dim- Detail level (where customer ID is assigned) as you suggested.
    However, when I tried running the reports, the credit manager code column is still not drillable. I think it is because this column is already at the lowest level of credit manager dim hierarchy and BI server doesn't take the preferred path of deeper level (customer dim)..
    This is where I am stuck.
    Any idea on how to make it work?
    Thanks

  • To calculate average of a measure for particular level of calendar hierarchy across all years

    Hi All,
    Let say Data is available for 10 years: from 2005 to 20015
    Calendar Hierarchy: Year -> Quarter -> Month -> Week -> Day
    Let say Measure Name is : SalesAmt
    Now, I want to create a calculated measure for calculating: Average of SalesAmt for Calendar Hierarchy at particular level (for all the 10 years). Means, if somebody selects, Jan, 2014 it should show Average of all the January’s data (coming from all the 10
    years like average of Jan -2000, Jan-2001, Jan-2002......Jan-2015), similarly if somebody selects 1st Quarter, 2012 it should show Average of all the 1st Quarter of all the 10 years (average of 1st quarter 2000, 1st Quarter 2002....1st Quarter 2015). 
    Kindly suggest.
    Thanks in advance.

    You should use ParallelPeriod. Ex:
    SELECT ParallelPeriod ([Date].[Calendar].[Calendar Quarter]
       , 3
       , [Date].[Calendar].[Month].[October 2003])
       ON 0
       FROM [Adventure Works

  • How to Zero Debt After Account Closure Date in MDX Calculated Measure

    Thanks in advance to anyone who can help me with the below problem.
    I’m building a Finance cube, it holds all customers we have billed and any cash received against their debt. I have a few calculated measures that work out Total Debt, Total Cash. From these I have a calculated measure called Total Debt Outstanding which
    is (Total Debt - Total Cash)
    My problem, when an account is closed the debt is not always zero. We don’t always get all the cash to cover the debt so just write off the outstanding debt. I have a requirement to zero out the debt after closure date has passed. 
    If I look at the calculated measure [Total Debt Outstanding] today for all accounts it will include debt figures from closed accounts, I need the calculated measure
    [Total Debt Outstanding] to ignore this and not to inflate my current debt figure.
    Example
    Account 12345, Debt £3142 added on 15/03/2013, Cash £1,687
    received on 12/12/2013, Total Debt Outstanding £1107. The Account closed on 15/12/2013 with a balance of £1107, after the closure date I need the total Debtor outstanding figure to be £0 if you browse the cube with my date dimension. 
    My date dimension Hierarchies is Year-Quarter-Month-Day
    I have tried using the Scope function to Zero the Total Debt Outstanding figure after closure date but can’t get it to work. 
    My scope calculation is below:
    Scope([Measures].[Total Debt Outstanding]);
    This = IIF([Date].[Year-Quarter-Month-Day].Currentmember > [ClaimData].[Closed].[Closed].Currentmember,0,[Measures].[Total Debt Outstanding]);
    End Scope;
    My Account Opening and Closing dates are in my ClaimData fact table, with Opening Date linked to the date dimension. I can’t link Closing date as we don’t always have a closing date until the account closes, so SSAS errors.
    Many Thanks

    Hi,
    Try compare key value of members. For example,
    [Date].[Year-Quarter-Month-Day].Currentmember.Properties("key") > [ClaimData].[Closed].[Closed].Currentmember.Properties.("key")
    And think about UnknownMember in Date dimension. In this case you can link Closing date
    Best regards,
    Aleksandr Severin

  • Account calculation vs. Entity currency total

    Hi all,
    I'm trying to solve one issue regarding an account calculation...
    This calculation is simple one and calculates the ratio between several accounts. Let's say C = A / B.
    I want this calculation to be run not only for <Entity currency>, but also for <Entity currency adjustments> and <Entity currency total>. For <Entity currency> and <Entity currency adjustments> it's working correctly and it calculates the ratio. But for <Entity currency total> it simply sums <Entity currency> and <Entity currency adjustments> which is not good.
    How to force HFM to use the calculation also for <Entity currency total> and override the default setting which just sums <Entity currency> and <Entity currency adjustments>?
    BR
    Vladino

    Hi,
    I have tried this but this is not working... See the printscreen: http://i52.tinypic.com/2hq8kdw.jpg
    Here is the rule:
    Sub Calculate()
    HS.EXP "A#c = A#a / A#b"
    End Sub
    Accounts "a" and "b" are set to revenue type, account "c" is balance type.
    Any other idea?
    Vladino

  • Newbie question about setting up iTunes to sync across multiple computers

    Hi,
    Right now I am using iTunes primarily for listening to streaming radio. However in about 2-3 weeks after I move, I am considering importing all my CDs into iTunes.
    So my question is this. What can I do before I start that will make my life easier for syncing my iTunes across multiple computers.
    I don't expect the computers to connect to each via internet but I do have a 4 GB flash disk and 230 GB firewire drive that could be used. And since one of the computers is MacBook Pro, I could use it in target mode I think.
    Thanks.

    Authorization only applies to computers. When you update a device any protected content on the device for which the library is not authorised will be removed. Otherwise no attempt is made to remove content that was added by a now deauthorised library.
    There is a separate scheme permitting up to 10 devices (computers, iPhones, iPad or iPod touches) to be registered for automatic downloads of your purchases with a different mechanism for deregistering devices.
    Once you have a file on your computer you can physically copy it to any other computer in the same way that you would copy any other file like a Word document, put it on a disk, email it if not too large, burn it to DVD, stick it on an external hard drive or move it over a network. You can use Get Info. To tell you where it is now and you can drop it into the library at the other end.
    The user tip shows how to backup the whole library and then update that backup efficiently. Such a backup to a portable drive also provides a possible tool for transporting any content to another computer.
    tt2

  • User Account Authentication across multiple Solaris servers - Best Practice

    Hi,
    I am new to Solaris admin and would like to know the best practice/setup for authenticating user accounts across multiple solaris servers.
    Currently we have 20 - 30 Solaris 8 & 10 servers which each have their own user accounts setup. I am planning to replace these with a similar number of Solaris 10 servers and would like to centralise the user accounts and their authentication.
    I would be grateful for any suggestions on the best setup and any links to tutorials.
    Thanks
    Jools

    i would suggest LDAP + kerberos, LDAP for name lookups and krb5 for auth. provides secure auth + extensable directory for users and other apps if needed. plus, it provides a decent spring board to add other unix plats into the mix since this will support any unix/linux/bsd plat. you could integrate this design with a windows AD env if you want as well.
    [http://www.sun.com/bigadmin/features/articles/kerberos_s10.jsp] sol + ldap+ AD
    [http://docs.lucidinteractive.ca/index.php/Solaris_LDAP_client_with_OpenLDAP_server] sol + ldap (openldap)
    [http://aput.net/~jheiss/krbldap/howto.html] sol + ldap + krb5
    now these links are all using some diff means, however they should give you some ideas as to whats out there. sol 10 comes with suns ldap server and you can use the krb5 server which comes with it as well. many many diff ways to do this. many many more links out there as welll. these are just a few.

  • Unit of measure for calculation type C must be completed

    Hi All
    When releasing some contracts in SRM , we are getting the error message as above.
    The error message doesn't specify any particular part and the contract has more than 3000 parts.
    There are no conditions at header or item level.
    There is no Target quantity also. Just a Target value for the contract and prices for individual items are maintained.
    We are using extended classic scenario and the contract is manually created in SRM.
    I have checked the OSS notes for this error, but they are mostly for contract creation in Bidding and not for a manually created SRM contract.
    We checked the UOMs for all the contract parts with the UOMs ( Base and Purchasing) in ECC Material Master and they are OK.
    In our scenario , MM changes in ECC are replicated to SRM in real time
    Any pointers towards pin pointing the error will be rewarded!
    Regards
    Kedar

    Hi,
    We encountered this error message and resolved the problem by applying the following 3 SAP Notes:
    a)     Note #1022928 - Unit of Measure for Calculation Type C Must Be Completed
            (Previously Mentioned)
    b)     Note #1702484 - Unit of Measure for Calculation Type C Must Be Completed
    c)     Note #1517648 - Default Conditions Added for Product Category Item Type
    Although the contract required is similar to a "Limit" item, but had to be placed for bid, then the RFX PS Item Type was set to "Service" to receive the bid responses.  After accepting the bid response, then we created a contract from the bid response.  Since it was to be a "Limit" type contract, then we immediately removed the data from the following fields:
    Remove the Quantity
    Remove the Unit of Measure
    Remove the Price
    Remove the Price Condition
    After removing the values from these fields, then we switched the PS Item Type from "Service" to "Product Category".  We added the Guaranteed Minimum and account assignment data to encumber the funds.  We were able to "Release" the contract successfully.
    Bob Zinsmeister

  • Are Cube organized materialized view with Year to Date calculated measure eligible for Query Rewrite

    Hi,
    Will appreciate if someone can help me with a question regarding Cube organized MV (OLAP).
    Does cube organized materialized view with calculated measures based on time series  Year to date, inception to date  eg.
    SUM(FCT_POSITION.BASE_REALIZED_PNL) OVER (HIERARCHY DIM_CALENDAR.CALENDAR BETWEEN UNBOUNDED PRECEDING AND CURRENT MEMBER WITHIN ANCESTOR AT DIMENSION LEVEL DIM_CALENDAR."YEAR")
    are eligible for query rewrites or these are considered advanced for query rewrite purposes.
    I was hoping to find an example with YTD window function on physical fact dim tables  with optimizer rewriting it to Cube Org. MV but not much success.
    Thanks in advance

    I dont think this is possible.
    (My own reasoning)
    Part of the reason query rewrite works for base measures only (not calc measures in olap like ytd would be) is due to the fact that the data is staged in olap but its lineage is understandable via the olap cube mappings. That dependency/source identification is lost when we build calculated measures in olap and i think its almost impossible for optimizer to understand the finer points relating to an olap calculation defined via olap calculation (olap dml or olap expression) and also match it with the equivalent calculation using relational sql expression. The difficulty may be because both the olap ytd as well as relational ytd defined via sum() over (partition by ... order by ...) have many non-standard variations of the same calculation/definition. E.g: You can choose to use or choose not to use the option relating to IGNORE NULLs within the sql analytic function. OLAP defn may use NASKIP or NASKIP2.
    I tried to search for query rewrite solutions for Inventory stock based calculations (aggregation along time=last value along time) and see if olap cube with cube aggregation option set to "Last non-na hierarchical value" works as an alternative to relational calculation. My experience has been that its not possible. You can do it relationally or you can do it via olap but your application needs to be aware of each and make the appropriate backend sql/call. In such cases, you cannot make olap (aw/cubes/dimensions) appear magically behind the scenes to fulfill the query execution while appearing to work relationally.
    HTH
    Shankar

  • Constructing Calculated Measures in MDX for different measures using same columns in a fact table

    Hello,
    i have a fact table with 2 columns corresponding to dimensions Dim1, Dim2. In the same table i have 4 other columns Value_Type(int), INT_VALUE(int), FLOAT_VALUE(float), TEXT_VALUE(string). There are a number of measures which are identified by Value_Type and
    depending on their nature could be written in one of the 3 columns (INT_VALUE(int), FLOAT_VALUE(float), TEXT_VALUE(string)) Let's say Measure1 with Measure_Type=1 is age, 2 is account balance and 3 is Name for clarity. There could be other measure types that
    use these 3 same columns for data. So the sample fact table looks like this
    Dim1 Dim2 Measure_Type INT_VALUE FLOAT_VALUE TEXT_VALUE
    10 10 1 25
    10 10 2 2000,34
    10 10 3 John
    10 20 1 28
    10 20 2 3490,23
    10 20 3 Frank
    My task is to write an MDX query for each Dim1, Dim2 combination which returns all 3 measures in the same row. The idea is to construct a calculated member for each Measure that returns value from the right field. For example for Measure1 we take INT_VALUE
    with measure_type=1. The problem is i don't know how to construct MDX query for these calculated members. Can you please help me?
    So my final goal is to write an MDX query that returns all measures in one row for each set of Dim1, Dim2
    SELECT [Measure1], [Measure2], [Measure3] ON COLUMNS,
    NON EMPTY [Dim1].[Dim1].[Dim1].Members*[Dim2].[Dim2].[Dim2].Members ON ROWS
    FROM [Cube]
    Dim1 Dim2 Measure1 Measure2 Measure3
    10 10 25 2000,34 John
    10 20 28 3490,23 Frank

    Hi Kosmipt,
    I would combine the "INT_VALUE", "FLOAT_VALUE" and "TEXT_VALUE" columns into one with STRING data type for the fact table. And there should be one dimension to store the Measure_Type informations. Then in cube, you can write MDX scope for every one of
    "Measure_Type" dimension members. For example,
    scope(
                [Measures].[M]
        [DimMType].[MType].&[1]= CINT([Measures].[M]);                                                                                                                             
    end scope;
    Once the cube is built by the above way, you can write MDX like something like the following to achieve your purpose.
    WITH member [Measures].[Measure1] AS ([DimMType].[MType].&[1],[Measures].[M])
             member [Measures].[Measure2] AS ([DimMType].[MType].&[2],[Measures].[M])
             member [Measures].[Measure3] AS ([DimMType].[MType].&[3],[Measures].[M])
    thanks,
    Jerry

Maybe you are looking for