Complexe percentage calculation

hi,
I would like to compute percentage based on this table between ticket and CA based on BUV and ID parameters:
ID
BUV
Ticket
CA
103
BUV31
2 274 €
32 662 €
103
BUV2
1 979 €
32 662 €
103
BUV35
1 788 €
32 662 €
104
BUV31
2 492 €
40 900 €
104
BUV2
2 311 €
40 900 €
104
BUV14
2 283 €
40 900 €
with a power pivot table we have that:
Étiquettes de lignes
CA
Ticket
pct
103
97985,37
6042,14
6,17%
BUV2
32661,79
1979,24
6,06%
BUV31
32661,79
2274,44
6,96%
BUV35
32661,79
1788,46
5,48%
104
122699,16
7085,82
5,77%
BUV14
40899,72
2283,21
5,58%
BUV2
40899,72
2310,67
5,65%
BUV31
40899,72
2491,94
6,09%
Total général
110342,265
13127,96
11,90%
where foor CA I created a DAX formulas in calculate Field:
sum([CATotal])/DISTINCTCOUNT([OPFSessID])
and for Ticket I created in calculate Field again:
[SommeTicketTotal]
And the result of the percentage field is still a Calculate Field which is the result of CA/Ticket comuted previously.
It works perfectly if I want to display only one ID. But if two ID are displayed, the computation is the sum of percentage which is of course wrong.
For instance if I think about BUV31, i should have 6.47% instead of 12.96%. How can I add buv parameter into the formula to get the right result?

Hi,
Yes it is correct. I created a table with only BUV elements and theire percentage. 
Here is the table:
Étiquettes de lignes
pct
BUV14
5,58%
BUV2
11,66%
BUV31
12,96%
BUV35
5,48%
Total général
11,90%
As you can see BUV31 has 12.96% but it is wrong it should appear ticket (2274.44+2491.94) / CA (32661.79+40889.72) = 6.48%. So, 0.1296*32661.79=4233. It use 4233 as ticket values. No idea about where it come from.
I think I should add into the CA calculate field something like "group by" BUV. 

Similar Messages

  • Percentage Calculation in 11g Upgrade

    upgradin to 11g issue in % cal
    The issue is as follows
    In 11g I'm calculating "ESS Rate" percenatge which is derived as below:
    ESS Rate=(ESS count/count)*100
    have casted ESS count as double and also "Count" as Int. Both the columns aggregate rule defined in the column formula is "sum"
    Edited by: 982333 on Jan 16, 2013 3:12 PM

    For more info on the columns values defined in column formula:
    ESS Rate =100*CAST(sum(CASE WHEN "Pr Audit Setup Tax Fed Fact"."Audit Oprid Nm"="- Identity".Name THEN 1 ELSE 0 END) AS double)/CAST(count(IFNULL("Pr Audit Setup Tax Fed Fact"."Audit Oprid Nm", 'NA')) AS int)
    Result obtained:
    ESS RATE| ESS Count | Count
    86.46% | 121 | 135
    while a simple calculation using calculator would clearly give you (121/135)*100= 89.63% and not 86.46%
    Can some one please help me in resolving this issue i do not see an reason for the wrong calculation of "ESS Rate" Percentage calculation.

  • Percentage calculation in reprot painter

    Friends,
    When i am doing percentage calculation in report painter ex: A/B *100, it is giving rounded value like 28% instead of 28.5 or 28.6. Any idea where i need to make changes.
    Points will be assigned
    Thanks

    Go to the Formatting-->Columns link in GRR2 screen. On the pop up screen maintain the decimal places you want.
    Regards,
    Vishal Thakur

  • Complex SQL calculated/Group Query

    I am trying to write a complex aggregate query(s) to compile a standings table for a soccer league.
    There are four related tables:
    Matches
    Goals
    Players
    teams
    I have yet to finalize the database structure so I can add fields if necessary.
    In the goals table I track the match that the goal was scored in and which player
    scored it.
    I am trying to create a query that will give me a standings table.
    The fields I need to calculate are:
    team name
    Wins
    Loses
    Draws
    For instance:  There was a match on 4/21/2012.  The players on HomeTeam(A) scored a combined 6 goals.  The players on AwayTeam(B) scored 1 goal (All stored in the Goals table).  Therefore, Hometeam won by a score of 6-1.  I need
    a query that spits out:
    Team                Wins          Losses          Draws         
    Points
    HomeTeam(A)      1                 0                 0                
    3
    AwayTeam(B)       0                 1                 0                 3
    Wins are worth 3 Losses 0 and Draws 1 point each team.
    I am a long time SQL admin, but I think the complexity of calculating this is a little beyong me.  I need some help to get where I need to be.

    Okay, I haven't yet been able to figure out the draws because of the trouble of linking back to both teams, but here's what I have so far.
    First, here is the test data:
    Declare @tvMatches Table (
    MatchID int IDENTITY(1,1)
    ,MatchDate datetime
    ,HomeTeamID int
    ,AwayTeamID int
    Declare @tvGoals Table (
    GoalID int IDENTITY(1,1)
    ,MatchID int
    ,PlayerID int
    ,TeamID int
    Declare @tvPlayers Table (
    PlayerID int IDENTITY(1,1)
    ,TeamID int
    ,PlayerName varchar(30)
    Declare @tvTeams Table (
    TeamID int IDENTITY(1,1)
    ,TeamName varchar(20)
    Insert @tvTeams
    Select 'Winners'
    Union All
    Select 'Losers'
    Union All
    Select 'Friars'
    Union All
    Select 'Planes'
    Insert @tvPlayers
    Select 1, 'Bill'
    Union All
    Select 1, 'Jim'
    Union All
    Select 1, 'Ken'
    Union All
    Select 2, 'James'
    Union All
    Select 2, 'Smithy'
    Union All
    Select 2, 'Flip'
    Union All
    Select 3, 'Dave'
    Union All
    Select 3, 'Alan'
    Union All
    Select 3, 'Ethan'
    Union All
    Select 4, 'Naomi'
    Union All
    Select 4, 'Erland'
    Union All
    Select 4, 'Alejandro'
    Insert @tvMatches
    Select '20120101', 1, 2
    Union All
    Select '20120201', 3, 4
    Union All
    Select '20120301', 4, 1
    --Winners beat Losers 3-2
    --Planes beat Friars 4-2
    --Winners beat Planes 2-1
    Insert @tvGoals --Match, Player, Team
    Select 1, 1, 1
    Union All
    Select 1, 3, 1
    Union All
    Select 1, 5, 2
    Union All
    Select 1, 6, 2
    Union All
    Select 1, 2, 1
    Union All
    Select 2, 7, 3
    Union All
    Select 2, 8, 3
    Union All
    Select 2, 10, 4
    Union All
    Select 2, 11, 4
    Union All
    Select 2, 12, 4
    Union All
    Select 2, 11, 4
    Union All
    Select 3, 1, 1
    Union All
    Select 3, 3, 1
    Union All
    Select 3, 11, 4
    Using this test data, you want to compile the actual match outcomes.  This can be problematic to do on the fly every time though, if you have a lot of matches or teams to calculate for.  But, with a simple cte, we have:
    ;with cteMatches as
    Select m.MatchID
    ,m.MatchDate
    ,m.HomeTeamID
    ,ht.TeamName HomeTeamName
    ,m.AwayTeamID
    ,at.TeamName AwayTeamName
    ,( Select Count(1)
    From @tvGoals g
    Where g.MatchID = m.MatchID
    And g.TeamID = m.HomeTeamID
    ) HomeScore
    ,( Select Count(1)
    From @tvGoals g
    Where g.MatchID = m.MatchID
    And g.TeamID = m.AwayTeamID
    ) AwayScore
    From @tvMatches m
    join @tvTeams ht
    on m.HomeTeamID = ht.TeamID
    join @tvTeams at
    on m.AwayTeamID = at.TeamID
    ) --select * from cteMatches
    This returns the MatchID, MatchDate, team information and the score.  Basically, you have the match, team and player data tied to the goals table, so you just do a count (using correlated subqueries) to get the score of each team.  Next step is
    to calculate the winner and loser (and eventually whether there even was a winner) by comparing the scores:
    ,cteWinners as
    Select cm.MatchID
    ,cm.HomeTeamID
    ,cm.HomeTeamName
    ,cm.AwayTeamID
    ,cm.AwayTeamName
    ,Case
    When cm.HomeScore > cm.AwayScore Then cm.HomeTeamID
    When cm.HomeScore < cm.AwayScore Then cm.AwayTeamID
    Else 0
    End WinningTeamID
    ,Case
    When cm.HomeScore > cm.AwayScore Then cm.AwayTeamID
    When cm.HomeScore < cm.AwayScore Then cm.HomeTeamID
    Else 0
    End LosingTeamID
    From cteMatches cm
    ) --select * from ctewinners
    This returns MatchID, team information and the ID's for winning and losing teams.  For now it returns 0 if it's a draw.  Once we know the outcomes of all the matches, we calculate the actual win/loss for each team:
    ,cteRecords as
    Select t.TeamName
    ,Count( Case
    When cw.WinningTeamID = t.TeamID Then 1
    End
    ) Wins
    ,Count( Case
    When cw.LosingTeamID = t.TeamID Then 1
    End
    ) Losses
    From @tvTeams t
    join cteWinners cw
    on t.TeamID = cw.HomeTeamID
    or t.TeamID = cw.AwayTeamID
    Group By t.TeamName
    ) --select * from cteRecords
    That last cte returns just team name, and then the number of wins and losses for each team.  This is where I got stuck with the draws, because I'm not quite sure yet how to properly assign a draw to both teams involved.
    Now, finally you put it all together with some simple match to determine the points, and there you are:
    Select TeamName
    ,Wins
    ,Losses
    ,(Wins * 3) Points
    From cteRecords

  • Percentage calculation on query designer (7.0)

    Hi experts,
    I´m new on Query designer (7.0) and I´m trying to do a finnancial report, so for the lines I create and structure  using G/L accounts and in the columns I got the amount for each level in my structure for a month. Now I´m trying to create an Integration percentage, it specifies how high the percentage in a level is in relation to next higher level but so far I couldn't make it...
    My report must seem like this:
    Structure.............................Amount ...... Int %
    1. Assets................................1000  ....... 100%
    1.1 Current assets....................  600  .......  60%    -> (600/1000)*100
    - Cash.............................  300  ........  50%    -> (300/600)*100
    - Inventories.....................  300  ........  50%    -> (300/600)*100
    1.2 Long-term assets................ 400  .......  40%    -> (400/1000)*100
    - Property, plant and eq..... 150  .......  37.5%  -> (150/400)*100
    - Investment property......... 150  .......  37.5%  -> (150/400)*100
    - Intangible assets..............100  .......  25%    -> (100/400)*100
    I try to use each Percentage calculation options (%, %A, %CT,%GT, %RT) but it didn't work. Can anyone help me in creating a formula to get this percentage?
    Thanks

    Hi,
    check this notes and links to get an overview how to use:
    III. List Calculations (e.g.'Calculate result as..'):Interesting facts about the OLAP Processor/Analytic Engine
    SAP Note Number: [1151957|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d31313531393537%7d]
    If, in a structure element (key figure ID), you use the 'Calculate Results as' and 'Calculate Single Value as' properties with their additional fields at the same time, priority problems occur and the system behavior is not immediately clear.:
    Calculate Results/Single Values as ... priority rules
    SAP Note Number: [853058 |https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d383533303538%7d]
    Regards
    Andreas

  • Percentage Calculation for result rows

    Hi
    I have problem with percentage calculation on result rows. I have 2 KFs A and B, the result is calulated by setting 'calculate result rows as' to 'summation'.
    But in KF 'C' (which is calculated as A/B*100 ),
    Now the probles is the systen picks up original values of A and B for calculation of C in result rows.
    i.e. system picks up values of result rows for A and B for
    setting 'calculate result rows as' to 'nothing defined'.
    Any ideas on how to fix this.
    Thanks
    Karen

    Karen
    I found something in Forum for you
    Result Rows Calculation
    Pradip's Solution should work. Try and if it is don't forget to award points.
    Regs
    Gopi

  • Percentage calculation error?

    Hi guys,
    I must be missing something very basic - I can't get a simple percentage calculation to work in an applet:
    float percentage = 0;
    int amount,total;
    amount = 4;
    total = 10;
    percentage = (float)((amount / total) * 100);
    Instead of returning 40.0 in "percentage", this keeps returning 0.0...
    What am I doing wrong? How do you calculate a percentage in Java?
    Thanks!

    do the type casting of either of total or amount
    Gaurav

  • Percentage calculation according a result

    Hi,
    I have an issue with a percentage calculation in a query.
    As rows I have Product Hierarchy 1, Product Hierarchy 2 and Material. I would like to show the sales for each material as a percentage of the result by Product Hierarchy 2 and in another colunm the percentage according the result by Product Hierarchy 1. I have used the option "Normalized according to the next level.." and it works to calculate the percentage according Product Hierarchy 2, but how can i manage to calculate the percentage according to Product Hierarchy 1( it is not the next level of the hierarchy, it would be the second next level)?
    Thanks in advance.

    Hi ,
    check this link ..
    http://help.sap.com/saphelp_nw70/helpdata/EN/ee/37e80557494542806a38498d99a463/content.htm
    Hope this helps ...
    Regards,
    Shikha

  • Percentage calculation based on subtotal in webi 4.0

    Hi Experts ,
    How do i calculate the % column in webi 4.0  so that % would be calculated by the amount of Primary channel / Subtotal ) in one block.
    =[Amount Of promary Channel]/Sum([Amount Of promary Channel]) In Block  - not giving correct output.
    Thanks,
    Rajib

    Hi Rajib, As per my understanding, you want to show percentage on the base of subtotal.
    that means if you set break on the Compony then percentage column should contain the percentage calculated on the basis of compony subtotal.
    like this...(just one block of break)
    then just use the simple percentage function ( =percentage(amount) ), this will automatically calculate the percentage based on subtotal.
    and if you want to show 100% in subtotal row also then you can use formula= (amount/sum(amount)),
    i think we dont need to use contex operator here.
    formula for AHW total row = amount/sum(amount)
    Let me know if this will help you,
    Thanks,
    Nitin

  • Crystal report 2011 percentage calculation(Urgent)

    All,
    I am working on a report which looks like the below.
    product>>>>>>> revenue>>>>>>>>> growth percentage
    a  >>>>>>>>>>>     12 >>>>>> >>>>               48%
    b >>>>>>> >>>>>>>13 >>>>>>>>                  52%
    c  >>>>>>>>>>>>>   14 >>>>>>>>>                       
    d>>>>>>>>>>>>>>  16>>>>>>>>>>>>                                     
    total         >>>>>>>   25  >>>>>                          100%
    my requirement is to calculate the individual growth percentage of a and b with the total revenue of a and b only.
    to be more specific 12 divided by 25  and then 13 divided by 25.
    i want these growth percentages in growth percentage column in my report.
    I achieved the selective summation of revenue for a and b in the report footer but i am not able to use the total revenue 25 (that i get in the report footer)  in the body of the report(detail section) for growth percentage calculation.
    I tried using shared variables and global variables but of no use.i am not able to assign the grand total in the footer to a variable in the detail section in order to calculate the growth percentage.
    Is there any easy work around to achieve this? need urgent help.
    I also tried running totals and stuff but of no use.
    Any help would be appreciated.
    Reji.
    Edited by: reji2011 on Jan 22, 2012 7:32 PM

    Hi Reji,
    I'm not sure how you've added 'a' and 'b', however, whatever way it would be, I'm sure it would be a print time formula.
    Meaning it is calculated a later stage after all the records are printed. So, you would never be able to use a value in the Report Footer or any Footer to calculate against a detail section value and show the calculation on the detail section itself.
    The way I see it, you would need to insert this report as a sub-report, just to calculate a + b, store this value in 'shared variable' and use it for calculations in the Main Report.
    So, in the sub-report, where you have your formula that calculates the addition of a and b, just create a shared variable and assign this value to it.
    Place the sub-report on the Report Header and in the Main report create a formula that calls the shared variable. You can then use this formula/variable in Main-report's calculations.
    Hope this helps!
    -Abhilash

  • Why I can not find the percentage calculation %ct

    Hi,
    I m trying to use the Percentage Calculation %ct for a calculated KeyFigure. There are only two Functions: %  and  %A
    Can anyone explain why it is so?
    thanks and regards

    Hi,
    Percentage Variance (%)
    <Operand1> % <Operand2>
    This gives the percentage variance between operand 1 and operand 2. 
    Percentage Share (%A)
    <Operand1> %A <Operand2>
    This gives the percentage share of operand 1 and operand 2. It is identical to formula 100 * <Operand1> / abs(<Operand2>) , if <Operand2> is not equal to 0 and the character for u201CDivision by 0u201D if <Operand2> is equal to 0.
    Use
    You use the following percentage functions as operators when you define a formula or a calculated key figure.
    Features
    NULL values are displayed as empty cells, not as 0. For more information about when NULL values occur and how they are displayed, see Technical Notes About the Formula Operators.
    Percentage Variance (%)
    <Operand1> % <Operand2>
    This gives the percentage variance between operand 1 and operand 2. It is identical to:
    Formula 100 * (<Operand1> - <Operand2>) / abs(<Operand2>) , if <Operand2> is not equal to 0 and the character for u201CDivision by 0u201D if <Operand2> is equal to 0.
    Plan Sales % Actual Sales specifies the percentage difference between the plan sales and the actual sales.
    Percentage Share (%A)
    <Operand1> %A <Operand2>
    This gives the percentage share of operand 1 and operand 2. It is identical to formula 100 * <Operand1> / abs(<Operand2>) , if <Operand2> is not equal to 0 and the character for u201CDivision by 0u201D if <Operand2> is equal to 0.
    Character for "Division by 0" :See SAP Reference IMG  u2192 SAP Customizing Implementation Guide  u2192 SAP NetWeaver  u2192 Business Intelligence  u2192 Settings for Reporting and Analysis  u2192 General Settings for Reporting and Analysis  u2192 Display of Numeric Values in the Business Explorer.
    "Fixed costs" %A "costs" expresses the proportion of the total cost of a product that is the fixed cost.
    Percentage Share of Result (%CT)
    %CT <Operand>
    This shows how high the percentage share is, with regard to the result. The result is the outcome of aggregating the second highest results level (interim result).
    Use
    You use the following percentage functions as operators when you define a formula or a calculated key figure.
    Features
    NULL values are displayed as empty cells, not as 0. For more information about when NULL values occur and how they are displayed, see Technical Notes About the Formula Operators.
    Percentage Variance (%)
    <Operand1> % <Operand2>
    This gives the percentage variance between operand 1 and operand 2. It is identical to:
    Formula 100 * (<Operand1> - <Operand2>) / abs(<Operand2>) , if <Operand2> is not equal to 0 and the character for u201CDivision by 0u201D if <Operand2> is equal to 0.
    Plan Sales % Actual Sales specifies the percentage difference between the plan sales and the actual sales.
    Percentage Share (%A)
    <Operand1> %A <Operand2>
    This gives the percentage share of operand 1 and operand 2. It is identical to formula 100 * <Operand1> / abs(<Operand2>) , if <Operand2> is not equal to 0 and the character for u201CDivision by 0u201D if <Operand2> is equal to 0.
    Character for "Division by 0" :See SAP Reference IMG  u2192 SAP Customizing Implementation Guide  u2192 SAP NetWeaver  u2192 Business Intelligence  u2192 Settings for Reporting and Analysis  u2192 General Settings for Reporting and Analysis  u2192 Display of Numeric Values in the Business Explorer.
    "Fixed costs" %A "costs" expresses the proportion of the total cost of a product that is the fixed cost.
    Percentage Share of Result (%CT)
    %CT <Operand>
    This shows how high the percentage share is, with regard to the result. The result is the outcome of aggregating the second highest results level (interim result).
    If a characteristic has been drilled down in both the rows and the columns, this reference is not unique. The system displays a warning and the relevant symbol for Data Does Not Exist. For more information, see SAP Reference IMG  u2192 SAP Customizing Implementation Guide  u2192 SAP NetWeaver  u2192 Business Intelligence  u2192 Settings for Reporting and Analysis  u2192 General Settings for Reporting and Analysis  u2192 Display of Numeric Values in the Business Explorer.
    Percentage Share of Overall Result (%GT)
    %GT <Operand>
    This shows how high the percentage share is with regard to the overall result. The overall result is the outcome of aggregating the highest results level. Dynamic filters (filters that were not specified in the Query Designer) also play a role in calculating the overall result.
    Percentage Share of Query Result (%RT)
    %RT <Operand>
    This is the same as %GT.
    Unlike the process for calculating the overall result, dynamic filters are not used in the calculation of the query result. This means that the calculation always normalizes to the same value, irrespective of the filter status and the navigational state.
    Reg
    Pra

  • Production system editing of overhead percentage calculation

    Hi,
    We want to maintain the overhead percentage calculation in the live
    production system through the T.code S_ALR_87008275.when we want to
    change the percentage the following message appers "Client has status
    not modifiable". Without changing the client status we want to change
    the percentage in the live production server. Kindly guide us in this
    regards....
    Regards
    Syamkrishnan

    Hi
    Refer to SAP notes 372620,374609,356483, 135028 and 77430
    This will help you in achieving the same.
    Good Luck
    Hari

  • DP macros and percentage calculation

    Hi Experts,
    I need some help to resolve an issue I'm having with macro execution at the aggregated level (product / location) and disaggregated level (product / location / sales group).
    We have fixed aggregation for POS at product / location / sales group.
    This is a very simple example but should show the problem.
    Using 3 KF's
    KF1 - SAP Stat FC - Calculation type S
    KF2 - percentage change - Calculation type A
    KF3 - consensus FC - type S
    Macro will add a percentage to KF 1 and produce a total in KF3. macro executes as default. This work fines if used at agg level.
    But if we add a percentage to a FC at SG level then when aggregated the total is incorrect and not what we want to transfer to R/3.
    Example. Total FC of 30 shown below.
    SG 1 forecast = 20
    SG 2 FC = 10
    Update FC at SG
    30% is added to SG 1 FC so this is now = 26
    SG 2 FC = 10
    New total should be = 36
    When viewed at agg level, % is now 15 (understand as this is because of 2 SG's) and the total is 35. This become more complex as the number of SG increases.
    I've tried using drill down in BG job to correct the answer but it doesn't update the livecache or transfer the correct result.
    Hopefully someone knows of a way to work around this.
    Thanks in advance.
    Paul

    Hi,
    Since the macro is default at both aggregated and disaggregate level, we cant control this. To avoid this, you must make the macro executable at the disaggregate level only. But the constrain is you can not have the calculation done at aggregated level.
    In your macro, include a IF function to check the detailed level as the Sales group and allow the system to calculate the % increase.
    IF
    Condition: Check Aggregate level
    DET_LEVEL( 'SALES_GRP' ) = 1
    KF3 = KF1 + (KF1*KF2/100)
    ENDIF
    Another option is to run the macro only at the background but not at the interactive planning book. While running the macro job, set the aggregation level as product / location / sales group.
    Hope this will help to solve your issue.
    Regards,
    Manimaran M.

  • Percentage Calculation in Query

    Hi Gurus,
      Hope you are all doing good! I have an issue in my query. I have calculated the summation of Profit for 05 and 06 . In the properties these are the specification i have given :
    1.Scaling Factor : 1,000,000
    2.Number of Decimal Place : 0.0
    3.Calculate Result As : Summation
        I get the summation for both 05 and 06 correctly. I computed the percentage for
    both and seems to be fine.
    Formula used for computing percentage : ' / Profit 06' / ' / Profit 05' * 100
    My issue being the Over all percentage seems to be high.
    Any idea Gurus?
    Points would be surely assigned.
    Regards,
    Sunitha.R

    Hi Norris Silva,
    As per your scenario total questions = 11
    persons (c1, c2, c3, c4, c5) = 5
    c1 answered questions = 5
    c2  "          "      = 5
    c3  "          "      = 1
    here to calculate the percentage of answered questions
    for each person. This can be calculated as below with use of
    calculated key figure
    c1's % ---> ci1 answered questions/total questions * 100
             5/(551)*100= 45.45%
    like write formula in calculated key figure for each person.
    Hope it helps you...
    Regards,
    Ramki.

  • Percentage calculation in pivot table per row

    Hello all,
    I do calculate two fields in a pivot table. First calculated field is the # of activities per user (standard SoD reporting field). Second calculated field is the # of activities per user with a certain classification (customized pick list field that is converted in a from a text value to a integer value ==> CASE WHEN Activity.Type = 'Call' THEN 1 ELSE 0 END).
    In the pivot table I do show both vlaues as a sum. I would like to calculate the percentage per row per user.
    Example:
    User - # activities - # calls - percentage
    User XY - 80 - 40 - 50%
    Thanxs for your help
    Elmar

    have you # Call column look like
    sum(CASE WHEN Activity.Type = 'Call' THEN 1 ELSE 0 END) -- column2
    create the percentage column with # activities / column2
    under the column property of the percentage column --> Data Format -->Treat Numbers As --> percentage.
    leave the Aggregation Role as default on all columns.
    Hopefully, I didn't miss anything.
    Shilei

Maybe you are looking for

  • Issue with Std price & Overheads at the time of goods issue

    Hi Experts, Please help me on below concern. system is taking the std price at the time of goods issue as we marked price control "S" for all materials to track the PPV seperately. So once we run the std costing system is calculating the std cost= di

  • Adobe Photoshop Elements 12.1 freezes

    I have not been able to get any help at all on the following issue:  I just installed MacOS X Yosemite on my MacBook Air 2011.  After installing Yosemite I installed the Photoshop Elements 12.1 upgrade, but now when I open the program and try to use

  • Just wondering how the best way to work using 2 computers and 2 people.

    If you have 2 computers, a main one doing creative changes and the other person on a second computer doing metadata and keywords, is it possible to keep them synced, so the keyword info etc is kept up to date on the main computer? Would it just be to

  • Apple Monitor Fried?

    I had some trouble with my monitor recently. Someone flipped the circuit breaker while my machine was on and when I rebooted it seemed the monitor wouldn't turn on. After my initial panic I thought I'd replace the power brick and see if that worked b

  • JpopupMenu with a JComboBox problem

    Hi, Well I need to make a popupMenu which contains a JComboBox, when I invoke the method show(, ,) of the popupMenu, everything looks fine. But when I press on the comboBox to view its data, I can only see the drop list and the popupMenu disappears.