Percent of Total

Has any one figured out how to create a Percent of Total Member Dynamic Calc that could keep track of the Percent of Total without doing this in the reporting tool?For Example: ACT Percent of TotalCookies Jan 10 %10 Feb 20 %20 Mar 70 %70 2001 100 %100

Presuming that Actual is a member of the Scenario dimension and that Total Cookies is a dimension, I would probably create another member in the Scenario dimension and put the following formula against it:Actual%Actual->"Total Cookies";This would have to be dynamic calc to work.

Similar Messages

  • Percent of total and percent of completion?

    would anyone mind helping me with which equations to use for a "percent of total" and percent of completion equations?
    i have a total amount and i would like to list the various items that make up this total in chronological order so i can see the percentage in percentage and in actual dollars but also as a "percent completion" in percentage and in real dollars.
    i am envisioning something like this for percent - percent completion - dollars per item - dollars per completion
    line 1     1%          1%               $1          $1
    line 2      2%          3%               $2          $3
    line 3     97%          100%          $97          $100
    total      100%                           $100
    i am a little new to this so any suggestions will help a great deal.
    THANKS

    hi barry.
    thank you.
    i have a construction budget with - say - 18 items. these 18 items go chronologically from start to finish for the construction. i would like to show what percentage of the total budget each item is (percent of total dollars i guess) but i would also like to sum up the "percent completed" for each line item so that when you looked at the results for - say line 8 - you could see that you were X% completed for the whole project in terms of the total dollars allotted for the whole project (100%).
    what i was envisioning was that it would be possible to do this both in terms of a number for the /percent/ of each of these but also in terms of a /dollar/ amount for each of these.
    one set would be the individual line item and the other set would be added up as you went down the list and completed the work.
    THANKS

  • Percent or Total cost in ssrs

    Hi
    Im trying to display the cost parts share in percent of the total cost. in normal cases i would use the Scope argument to divide the cost parts against total cost but this time i have no sumaraized level for total cost to use as Scope
    parameter. Is it possible to open a new column where i divide the sum of landinvestment 1 768 with Total Project cost 16237 in some way and how the code for doing that?
    Br Arne  
    Arne Olsson

    Hi Arne,
    According to your description, you want to calculate the cost percentage of total cost without having a total row in your tablix. Right?
    In Reporting Service, we can specify scope (dataset/group) when using aggregation functions. In this Scenario, if we don’t have any scope to group that three items, it’s impossible to get the total cost of them. At least we should have a parent group/dataset
    for that three items, so we can use the group/dataset name as scope in aggregation function.  We tested this case in our local environment. Here are screenshots:
    Reference:
    Aggregate Function (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou
      

  • 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

  • Calculating percent of total

    Hello, everyone
    I have the following simple business question at hand: Show top ten merchants with the highest sales numbers in the region and their percentages of total sales in the region.
    It looks simple, but I'm not sure if it's possible to implement in OBIEE short of writing direct query.
    I would really appreciate some ideas because I am out of those at the moment.
    I am using OBIEE 10 over Oracle 10g.
    Thank you,
    Rita

    Perfect! Thank you, David, this is exactly what I was looking for - how to calculate higher-level aggregates in a request. Is there any documentation on the OBIEE logical SQL, or these forums are the only source of information?

  • Percent of Total Report

    We have a requirement to create a report with Grand Total and % of Total.
         Cat1     Cat2     Row Total     PCT of Total
    Type1     30     10     40     26.67%
    Type2     20     50     70     46.67%
    Type 3     10     30     40     26.67%
    Column Total     60     90     150     100.00%
    PCT of Total     40%     60%     100%     
    Here Row Total and Column Total can be achieved as Row aggregation and Column aggregation in a pivot table.
    PCT of Total at Row level needs to be Row Total/Overall Total.
    Eg 40/150 =26.67%
    Is there a way to achieve this in OBIEE?
    Thanks
    Ann.

    group 1: 19.5
    group 2: 148.4
    actual Grand Total: 347.48
    Then there are at least 3 groups. You don't say. So, how many
    groups are there altogether?

  • Rounding of a total with a percent calculation

    Post Author: jdomkus
    CA Forum: Formula
    I have a sales field that is taking .10 of the total and placing that total into a new field. This figure is then being used in a total calculation with other values.  My problem is the calculation is not being handled correctly  due to the percent field total (This is complex to explain but easy to show in a example.
    total sales = .25 (Cents)  This total is being multiplied by .10 to figure out 10% of the total sales = .03 (This calculation is correct)
    Then when I go to subtract .25 - .03 = .23 (Which is not correct, rounding is set to 0.01 on the field)
    I have this report in 8.5 with all the patches and I have also download crystal report 11 with the same result, Any help would be appreciated

    Post Author: SKodidine
    CA Forum: Formula
    For Total Sales, try
    round(0.25 * 0.10,2)
    Then when you subtract it from 0.25 it should give you 0.22 instead of 0.23.

  • Trying to display rows with sums and percents using filters

    Hello, I am working on a data sheet containing levels for students of 0, 1, 2, or 3 in different categories. I am trying to show totals and percents of these levels, while being able to filter out certain students based on gender, ethnicity, etc. Problem
    is when I filter, the rows showing my totals and percents disappear.
    For total number of level 3's in a column my formula looks like this: =SUMPRODUCT(SUBTOTAL(103,OFFSET(F6:F26,ROW(F6:F26)-ROW(F6),0,1)),--(F6:F26=3))
    For percent of level 3's I have: SUMPRODUCT(SUBTOTAL(103,OFFSET(F6:F26,ROW(F6:F26)-ROW(F6),0,1)),--(F6:F26=3))/SUM(F28:F31) 
    Percents and totals calculate fine. When I filter in the columns demonstrating demographics, which is columns B,C, D or E, the rows in which I calculate my totals and percents disappear. I also tried the number 3 instead of 103 after the SUBTOTAL function
    but same result. What am I doing wrong?

    Since you didn’t upload your excel file, I’m not quite sure what’s your source data looks like.
    I don’t think this issue is caused by your formula, but I guess you really need use number 3 instead of 103 in your SUBTOTAL formula.
    Anyway, please try below possible solutions for this issue.
    1. Set up your formula firstly, then filter data. Rather than the other way around.
    2. Select the filter range before filter. Or use advanced filter(except  the row which including your  formula)
    3. Copy the formula to the next row, then delete the pervious formula row.
    If it didn’t bring any joy. It’ll be better if you can share your workbook with us.

  • BAM : Crosstab : Need to get percentage of row total for each cell

    Hi,
    I am new to BAM. I have a requirement for which I am using crosstab. Basically, I need to show number instances per human task per user. Human Task is the row header, user is the column header, and I am using count(instance id) to fetch the count of instances. I am able to show the sum of values for each row and column, but I also need to show the percentage for each cell(based on row total).
    I do not know if it is possible to fetch the total for further calculations. I believe the calculated field will be processed for each cell, and hence there will be no sum available.
    Also, crosstab does not have a percent of total aggregate function.
    Kindly advise.
    Regards,
    Himanshu

    Hi,
    For constructing summary, COLLECT is very useful.
    1. Create one new internal table STAB having two fields.
       a) licensetype
       b) cnt
    2. Suppose your original internal table is itab.
    Loop at ITAB.
    STAB-licensetype = itab-licensetype.
    STAB-CNT = 1.
    COLLECT STAB.
    EndLoop.
    3. In this way, you will get DISTINCT license types, and their count.
    Hope this helps.
    regards,
    amit m.

  • Charting Running Totals as Percentage

    I'm trying to show a running total as a percent of another running total in a chart.
    The report details have a unit ID (serial Number) and a flag indicating whether or not the unit went through rework.
    Running total 1 is a distinct count of unit ID, running total 2 is a distinct count of unit ID where the flag is No.
    I can make a chart that shows both counts, but running total 2 is always a count, and I'd like to show it as a percent of running total 1.
    I can create a formula that shows total2 as a percent of total 1 and put this in the group footer - but I can't chart on that formula.
    Is what I'm trying to do possible?
    Thanks
    Edited by: Doug McLauchlan on Mar 26, 2010 7:22 PM - Spelling

    I finally found an answer here:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f055d37d-2ddc-2c10-6ea3-d454e6f3bf94
    The technique involves building your charted values into strings and passing them to a sub-report to do the charting.
    I found I had to make several changes to way the report works in my situation - mainly because of grouping.

  • Need help with formula to calculate percent of orders $500.

    Have data with salesperson order info.  Am already counting total number of order per salesperson and also counting and summing order count of orders with order$<500.  Can't figure out how to calculate number of orders per salesperson with order $ <$500 as percent of total number of orders per salesperson. Tried just dividing the two numbers, but got results that didn't make sense.

    That is what I think I have tried, but keep getting errors or numbers that don't make sense. I am a new forum user, so don't know if I can actually somehow attach my report parameters to this post or if someone would be willing to call me to discuss.
    When I try this code:
    *Sum ({@@ordercount}, {Orders.szOutsideSPName})  % sum (Count ({Orders.szOutsideSPName}))*
    I get an error message that the (Count ({Orders.szOutsideSPName})) can't be summarized.
    When I try this code:
    Sum ({@@ordercount}, {Orders.szOutsideSPName})  % (Count ({Orders.szOutsideSPName}))
    I don't get error messages and it calculates something, but the numbers are definitely not correct (I check them with the calculator)
    For example,
    salesperson   total # of orders       # of orders<$500    Calculated%
    1                    596                            357                      1.39
    2                    290                            138                       1.40
    3                   1100                            647                      6.58
    I can't even figure out how those % numbers were calculated.

  • Query on Percent

    Hi Experts,
    I created a UDF in Item Master data: Percent (units & totals, percents) then I want to get this data (%) thru Query-FMS assigned in the Discount field of Sales Order and will be triggered when the Base Unit is set to No.
    Thanks,
    Don

    Hi Don,
    Try this simple one:
    SELECT T0.U_Percent FROM OITM T0 WHERE T0.ItemCode = $[$38.1.0\] AND $[$38.12.0\] = 'N'
    Thanks,
    Gordon

  • Arrays or Variable

    Hi,
    I’m trying to get a pass rating from my database, this
    information is not in the database but it’s calculated from
    information in the database.
    I have 1500 user enrolled in my training and each individual
    is in pps_principals.name
    What I want is the top 10 pass rating. My thoughts on with
    would be-
    1. Query pulling all the names from the database and saving
    them as a variable/array?
    2. Query using the variable/array to count each persons
    passes and saving them as variables/arrays?
    3. Query using the variable/array to count each persons fails
    and saving them as variables/arrays?
    4. Do the calculations for the pass rate then display the top
    10
    Will this work and how?
    Here’s what I have for 1 user, which gives me a pass
    rating.
    <cfparam name="start" default="">
    <!---which is defined from pervious page--->
    <cfquery name="passedModules" datasource="db”>
    SELECT DISTINCT dbo.PPS_SCOS.NAME,
    pps_transcripts.date_created, score, max_score, status
    FROM (dbo.PPS_SCOS JOIN dbo.PPS_TRANSCRIPTS ON
    dbo.PPS_SCOS.SCO_ID = dbo.PPS_TRANSCRIPTS.SCO_ID)
    JOIN dbo.PPS_PRINCIPALS ON dbo.PPS_TRANSCRIPTS.PRINCIPAL_ID =
    dbo.PPS_PRINCIPALS.PRINCIPAL_ID
    WHERE dbo.PPS_PRINCIPALS.NAME LIKE '#start#'
    AND dbo.PPS_TRANSCRIPTS.STATUS LIKE 'P'
    AND dbo.PPS_SCOS.NAME LIKE 'MT%'
    AND PPS_TRANSCRIPTS.TICKET not like 'l-%'
    AND dbo.PPS_SCOS.NAME NOT IN (
    SELECT DISTINCT dbo.PPS_SCOS.NAME FROM (dbo.PPS_SCOS JOIN
    dbo.PPS_TRANSCRIPTS ON dbo.PPS_SCOS.SCO_ID =
    dbo.PPS_TRANSCRIPTS.SCO_ID)
    JOIN dbo.PPS_PRINCIPALS ON dbo.PPS_TRANSCRIPTS.PRINCIPAL_ID =
    dbo.PPS_PRINCIPALS.PRINCIPAL_ID
    WHERE dbo.PPS_PRINCIPALS.NAME LIKE '#start#'
    AND dbo.PPS_TRANSCRIPTS.STATUS LIKE 'F'
    AND dbo.PPS_SCOS.NAME LIKE 'MT%'
    AND PPS_TRANSCRIPTS.TICKET not like 'l-%' )
    ORDER BY pps_transcripts.date_created desc
    </cfquery>
    <cfquery name="failedModules" datasource="db">
    SELECT dbo.PPS_SCOS.NAME, pps_transcripts.date_created,
    score, max_score
    FROM (dbo.PPS_SCOS JOIN dbo.PPS_TRANSCRIPTS ON
    dbo.PPS_SCOS.SCO_ID = dbo.PPS_TRANSCRIPTS.SCO_ID)
    JOIN dbo.PPS_PRINCIPALS ON dbo.PPS_TRANSCRIPTS.PRINCIPAL_ID =
    dbo.PPS_PRINCIPALS.PRINCIPAL_ID
    WHERE dbo.PPS_PRINCIPALS.NAME LIKE '#start#'
    AND dbo.PPS_TRANSCRIPTS.STATUS LIKE 'F'
    AND dbo.PPS_SCOS.NAME LIKE 'MT%'
    AND PPS_TRANSCRIPTS.TICKET not like 'l-%'
    ORDER BY pps_transcripts.date_created desc
    </cfquery>
    <cfquery name="completedModules" datasource="db">
    SELECT DISTINCT dbo.PPS_SCOS.NAME,
    pps_transcripts.date_created
    FROM (dbo.PPS_SCOS JOIN dbo.PPS_TRANSCRIPTS ON
    dbo.PPS_SCOS.SCO_ID = dbo.PPS_TRANSCRIPTS.SCO_ID)
    JOIN dbo.PPS_PRINCIPALS ON dbo.PPS_TRANSCRIPTS.PRINCIPAL_ID =
    dbo.PPS_PRINCIPALS.PRINCIPAL_ID
    WHERE dbo.PPS_PRINCIPALS.NAME LIKE '#start#'
    AND dbo.PPS_TRANSCRIPTS.STATUS LIKE 'C'
    AND dbo.PPS_SCOS.NAME LIKE 'MT%'
    AND PPS_TRANSCRIPTS.TICKET not like 'l-%'
    ORDER BY pps_transcripts.date_created desc
    </cfquery>
    <cfquery name="completedModules" datasource="db">
    SELECT SUM(SCORE) AS TOTSCORE
    FROM (dbo.PPS_SCOS JOIN dbo.PPS_TRANSCRIPTS ON
    dbo.PPS_SCOS.SCO_ID = dbo.PPS_TRANSCRIPTS.SCO_ID)
    JOIN dbo.PPS_PRINCIPALS ON dbo.PPS_TRANSCRIPTS.PRINCIPAL_ID =
    dbo.PPS_PRINCIPALS.PRINCIPAL_ID
    WHERE dbo.PPS_PRINCIPALS.NAME LIKE '#start#'
    AND dbo.PPS_SCOS.NAME LIKE 'MT%'
    and PPS_TRANSCRIPTS.TICKET not like 'l-%'
    and pps_transcripts.max_score > 0
    and status like '[PF]'
    </cfquery>
    <cfset passes = passedmodules.recordcount>
    <cfset fails = failedmodules.recordcount>
    <cfset total = passes + fails>
    <cfif total GT 0>
    <cfset percentage = passes / total * 100>
    <cfelse>
    <cfset percentage="0">
    </cfif>
    <cfset pass = passedmodules.recordcount * 2>
    <cfset fail = failedmodules.recordcount * 2>
    <cfif total GT 0>
    <cfset percent = passes / total>
    <cfset total = pass - fail + percent>
    <cfelse>
    <cfset percent="0">
    </cfif>

    You are going to want to get all of that logic into a single
    query if you want to pull the top 10 from 1500. Otherwise you are
    going have to pull all of the records, make all of the
    calculations, sort them, then display. Doing this in real-time on a
    page loaded by an end user would be punishment, both for them and
    for anyone else who may share your installation of CF.
    Unfortunately trying to reverse engineer your database based
    on these queries would take a little to much time and would likely
    be prone to error. If you would like a solid response, I would
    recommend creating a database diagram if you haven't already, take
    a screen capture, then send us a link to the image.

  • How to find out the percentage of code loaded using the load instrument vi

    i am loading my software through preload instrument.vi. Is there any way to know the percentage of the vi loaded, in parallel when the vi is getting loaded.

    I do not think so.
    If you carefully watch other loaders, you will see that the bars do not not update at a constant rate. They usually update in chunk fasion.
    You could get the size of all of the VI before starting the loads and update your progress bar based on percent of total code loaded. If smooth updatesis readlly important, you could track the load time vs files size and use that to do some periodic incremental updates.
    Cluge? yes!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • MDX not working in Power View on sharepoint 2013

        I have this MDX statement below that should be able to dynamically give me a % of total for any dimension.  IN power View (sharepoint 2013)
    I am getting an error.  It works in Excel and works in the AS browser but will not seem to work in power view.  Any ideas on how to rewrite it so that it may work.  I am surprised I cannot find anything on this online about this issue. 
    When you highlight the "#ERROR!" in Power view it gives a long description of
    "The Axis Function was indirectly referenced from the context of a statement other than SELECT. Evaluations of Expressions involving this function succeed only
    when indirectly triggered by a SELECT statement".
    CREATEMEMBERCURRENTCUBE.MEASURES.[Percent
    of Total] AS 
    //Used to get % from total
    IIF([Measures].[Total Count] = 0,
    NULL,
    IIF(isempty( ([Measures].[Total Count],
    Axis(1)(0)(Axis(1)(0).Count-
    1).Dimension.CurrentMember.Parent
    )), 1,
        [Measures].[Total Count] / ([Measures].[Total Count],
    Axis(1)(0)(
    Axis(1)(0).Count-
    1 ).Dimension.CurrentMember.Parent))),
    FORMAT_STRING="#,##0.00
    %;-#,##0.00 %";

    Hey Mike,  Thank you very much for the answer.  Just need a little more help please???
    I have added two separate MDX statements that should get the individual % for these two separate dimensions. 
    1. First does it look correct from what your saying individually. Would you write it different?
    2. Next can you show me the MDX that would combine them into 1 measure.  Once I can see how these two get combined into 1 measure I should be able to do this for the rest of the dimensions. 
    3. Will Power View ever allow Axis function?  Just seems strange that it works in Excel Pivot but not in Power View.
    WITH MEMBER [Measures].[Percent] AS
    Case
    // Test to avoid division by zero.
    When IsEmpty ([Measures].[Total Count]) Then Null
    // Test for current coordinate being on the (All) member.
    When [Status].[Status Name].CurrentMember.Level Is [Status].[Status Name].[(All)] Then 1
    Else ( [Status].[Status Name].CurrentMember, [Measures].[Total Count] )
    / ( [Status].[Status Name].CurrentMember.Parent, [Measures].[Total Count] )
    End
    , FORMAT_STRING ="#,##0.00 %;-#,##0.00 %"
    SELECT
    { [Measures].[Total Count],[Measures].[Percent] } ON COLUMNS,
    { [Status].[Status Name].[Status Name]} ON ROWS
    FROM [Report]
    WITH MEMBER [Measures].[Percent2] AS
    Case
    // Test to avoid division by zero.
    When IsEmpty ([Measures].[Total Count]) Then Null
    // Test for current coordinate being on the (All) member.
    When [Order Placed Date].[Order Placed Date].CurrentMember.Level Is [Order Placed Date].[Order Placed Date].[(All)] Then 1
    Else ( [Order Placed Date].[Order Placed Date].CurrentMember, [Measures].[Total Count] )
    / ( [Order Placed Date].[Order Placed Date].CurrentMember.Parent, [Measures].[Total Count] )
    End
    , FORMAT_STRING ="#,##0.00 %;-#,##0.00 %"
    SELECT
    { [Measures].[Total Count],[Measures].[Percent2] } ON COLUMNS,
    { [Order Placed Date].[Order Placed Date].[Order Placed Year]} ON ROWS
    FROM [Report]

Maybe you are looking for