SSRS - % percentage ROW TOTALS don't calculate correctly in a Table Matrix

SSRS - Report Builder 3.0
I have created a report with a MATRIX table with a TOTAL ROW and a TOTAL COLUMN and the total column is calculating correctly but the ROW totals is not calculating correctly
The screen shot below is of the Matrix table in the Report Builder 3.0 "Designer view" 
When I run the report the column totals the percentage is averaged correctly, but the ROW TOTALS do not, some are close but i need them to be accurate.
If you take the same data into excel the total percentage calculates correctly - if you compare the excel with the SSRS some rows do calculate close, but not accurate. the total column calculates correctly
FY13-Q4
FY14-Q1
FY14-Q2
FY14-Q3
Total
100%
89%
65%
68%
80%
50%
72%
43%
45%
52%
100%
91%
63%
69%
81%
10%
17%
29%
31%
22%
100%
96%
67%
76%
85%
70%
70%
53%
64%
64%
90%
93%
90%
82%
89%
74%
75%
59%
62%
68%
I Need the totals rows and columns to average the percentage correctly in the SSRS report.
Please help...
-Isaack

Hi Katherine Xiong,
The formula (SSRS Expression) i am using is the following
=Sum(IIf(Fields!AnswerText.Value = "Yes", 1, 0)) / (Sum(IIf(Fields!AnswerText.Value = "No", 1, 0)) + Sum(IIf(Fields!AnswerText.Value = "Yes", 1, 0)) + Sum(IIf(Fields!AnswerText.Value
= "n/a", 0, 0)))
Basically if field value = "YES" it counts, if the answer = "No" if the value is = "n/a" it should not count in the total score percentage
I get the correct PERCENTAGE on the 1st aggregate, but when the table has multiple aggregates the percentage is never accurate. 
The Table below is using the above formula, the 1st aggregate is correct but if you get the average percentage from the 1st column it should be 86.2% is the accurate number, sometimes close but i want to report accurate numbers and not doubt SSRS reports
compared to excel reports. 
TOTAL ROW (highlighted on the screenshot in Yellow) is incorrect aggregate averages %, the correct average are the following
[86.2%]      [71.5%]      [75.5%]     [87.87%]   [90.2%]     [69.9%]     [92.8%]
-Isaack

Similar Messages

  • Pie chart legend total does not calculate correctly

    Hi All
    I have a pie chart in a CR 2008 report (SP0). 
    The pie has one "On Change Of" and one "Show Value" field.
    The datasource for the report is an Oracle 10g (Rel 2) Stored Procedure (SP).
    The SP signs the value per each transaction (record), so if the txn is a reversal is will arrive in the report as a negative value
    The records that are listed in the report have the correct sign on each line, and totals in the report are correct
    So, if the first record has a value of 10,000 - these would be known as Cash txns
    and the second record has a value of -5,000 - these would be known as Cash Reversal txns
    The report total will be 5,000
    In the legend entry of the pie chart the values per series are being displayed correctly.  There is a series per Txn type (so one series represents Cash txns, the second series represents Cash Reversal txns)
    From the example above my pie shows 1 txn for Cash @ 10,000
    and 1 txn for Cash Reversal @ -5000 (it has the negaitve amount in brackets)
    But the total in the legend is 15,000
    I cannot figure out why that the legend total is not calculating correclty.
    Has anyone seen this behaviour before?
    Any help would be great thanks
    Best regards
    Patrick

    Just realised why....  The total is counting all txns, and my formula is not telling it that Reversal should be subtracted - duuhhhh!!!!

  • Document Settings - Calculate the row total using the unit price

    Hi All,
    I'm using SAP2007A PL37, the option "Calculate the row total using the unit price" in Document Settings is no longer available.  Is there any updates on this issue?
    Thank you,

    Hi Marlon,
    In 2007A, by default, new database would be created without this
    checkbox activated.
    However, there is a way to bring this checkbox back to the configuration
    screen, even if it is a DB newly created in 2007A. In order to do so it
    is necessary to do as follows:
    1) Open B1 2007A
    2) Go to Help -> Support Desk -> Activation Request
    3) Copy the ASCII string that appears in the top textbox ("Customer
    Request Code").
    4) Open a Support ticket stating that you want the "Calculate Row Total
    by Unit Price" checkbox activated for the specified system (Copy the
    string in the step 2) into a text file and attach it to the message).
    5) VERY IMPORTANT: State in the message also the Business Impact leading to this request. In your case you should just say that your AddOn needs this option changed in order to work correctly.
    6) You will receive a reply from B1 Support with a number to be entered
    in the "SAP Support Code" textbox in Help -> Support Desk -> Activation
    Request
    7) Click on OK and the checkbox will be displayed thereafter.
    Hope this can be helpful.
    Best Regards
    Helen Sun

  • Row total percentage of Column

    Have a request to display both the row and column totals in a pivot table, no problem. But what about also including a the percentage that each row total represents of the column total:
    Example:
    orders
    Item jan feb march total % of total
    a 1 3 5 9 40%
    b 2 2 3 7 33%
    c 3 1 2 6 27%
    total 6 6 10 22 100%
    Thanks.....

    In the pivot table view click on the measures and "Duplicate" the measures column and display the total as percentage of the row or column based on your requirement. That way you will be able to display both the toals and percentages together
    hope it helps
    Thanks
    Prash

  • 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.

  • Percentage Rows in Report painter .. Urgent Please

    Hi All,
    I have rows where I need to calculate percentages, Can you please advise how to calculate.
    Loong Hin Pang  - I have seen you answering one related query. Can you please help me out.
    Points for sure...
    Regards,
    Kiran.

    Thank you.
    See I have the below Rows
    Total Revenue
    Cost2
    Cost3
    Direct Cost
    Gross = Total revenue - Direct Cost
    Gross % = (Gross/Total revenue ) * 100
    I have Columns as with basic Key figures and Formulas
    Year(basic key Figure)
    Year+1(basic key Figure)
    Total = Year + (Year+1)
    Its giving me correct values in case of Basic Key figures and not in the formula case.
    It giving error when there is formula both in Row and Column.
    In the above case last row and last colum. Only Column formula is getting implemented.
    Here for example I have mentioned 4 rows and 4 columns.. But I have 15 Rows and 30 columns .. out of which 15 rows and columns have formulas...
    % Rows are problem.. which gives me errors... I tried using Special cells, but I am not 100% sure how to use them.
    I would be very thankful if you can help me out.. Please

  • Row Total issue in table view

    Hi,
    I am using 11.1.1.5. In table view we have 4 dim and 5 facts. I need row total only for 3 facts. Whenever I set total using sigma(E) I am getting total for all 5 facts. How to calculate row total only for 3 facts only?.
    Thanks.

    977610 wrote:
    Hi,
    I am using 11.1.1.5. In table view we have 4 dim and 5 facts. I need row total only for 3 facts. Whenever I set total using sigma(E) I am getting total for all 5 facts. How to calculate row total only for 3 facts only?.
    Thanks.In Criteria mode, click on the fx button and change the aggregation rule from "Default" to "None."

  • BP Aging Anamolies (Period amounts and Row total anamoly)

    Hi All,
    Is there a known bug with the Customer Receivables Ageing Report and Suppliers Liabilities Ageing Report in SAP B1 v2005A PL 18?
    When trying to produce Backdated BP Aging report;
    1. The Total amount for several BP accounts reflected on the ageing report match the respective BP account balance as at the selected date, but the ageing amounts across the page (ageing intervals) do NOT correctly cross-add to the row Total
    2 The Grand total of the Total column of the ageing report does NOT agree to the balance of the corresponding GL control account as at the "Posting date: To"
    3.  The rogue BP accounts involved all seem to have had some "reversing" transactions which give rise to the variance, such as: JE debits which have been included in the calculation of the account balance/row Total (often = Nil) of  the BP report, but do NOT appear to have been included in the total of the interval in which the JEs occurred.
    Incoming Payments that have been cancelled, such that the debit transaction (the reversal) has been included in the calculation of the account/row Total (often = Nil) of the BP report, but does NOT appear to have been included in the total of the interval in which the cancellation occurred.
    Report Selection Criteria:
    Customer/Supplier group: All
    Interval: Periods
    Ageing date:
    From: blank
    To: prior end-of-period date
    Posting date:
    From: blank
    To: prior end-of-period date
    Due date
    From: blank
    To: blank
    Document date:
    From: blank
    To: blank
    By Journal postings:
    Display Customers/Suppliers  with Zero Balance = Yes
    Display Reconciled Transactions = No
    Consider Reconciliation Data = Yes
    Thanks in advance
    Regards
    Devinder

    Hi Gordon,
    Thannks a lot for pointing to the thread; however this thread does not answer my query. I am sure there must be SAP Note that explains my issue however I am waiting for someone to point me in the right direction.
    Thanks once again
    Regards
    Devinder

  • Totals for Hierarchys not correct with condition

    Dear All
    I have a Bex query with two hierarchys, one in rows and the other in column. query is working perfectly fine without condition in query. when there is a condition added in the query for the total amount more than or equal to * the totals are not displaying correctly.
    Totals are displayed for the amount which are less than the amount *.

    Try to change in the KF properties, defining the totals as summation, instead of "nothing defined".

  • CMYK gradient maps don't work correctly in Photoshop CS 4

    Gradient maps built with CMYK colors in Photoshop don't work correctly in CS4.  For one particular client I often use a brushed steel background. To control color shifts on the press I used a gradient map blending from C0 M0 Y0 K0 to C40 M20 Y20 K100. This has worked great in the past, but once you open that gradient map in CS4 and start editing that gradient at all, even if you edit it back to the original CMYK numbers, the colors shift drastically, and if you watch the info palette, the colors get totally remapped to a different black. I can go in a reset the black to the C40 M20 Y20 K100 mix, but it doesn't work. When I go back in, it completely changes them.
    Since this works fine in CS3 and not in CS4, is this a program bug? I'm not doing anything differently.
    It was a great way of controlling neutral gray mixes (and other color mixes) for CMYK printing. Is there a fix for this? Adobe, is anyone addressing this bug? I've read other threads on this, but with no solutions.
    Kent Bingham
    Digital Illustration and Design
    I couldn't attach the .psd files, so I uploaded here for reference:
    http://www.kentbingham.com/gradientmap-error.zip

    I have not gone back to check how this is handled in CS3 yet I could duplicate your problem in CS4.  The changing of numbers in the CMYK looks like it has to do with the color mangement settings in Photoshop.
    I was able to make sure the numbers input to the gradient map did not chang.  I did this by going to Edit>Assign Profile  and then clicked the option "Don't Color Manage this Document"    
    This may not solve your problem directly yet it does indicate that the problem you have (or that Adobe has) is related to how the color management is being handled.
    So one question would be are you using the "exact" color management settings in CS4 as you did in CS3 and were those in place when you imported the file into CS4.  If not, and if you did not have the correct warning options set, there may have been a color setting change of which you were not aware.
    While I was able to keep the original settings from changing in the Gradient Map, there was still a problem in CS4 where the Lab values would change (and the appearance on the LCD screen) after doing any color picker editing and changing the CMYK values back to 40 20 20 100.  This definetly seems related to the color model/probile/management system in place.  So it appears that even though I can get the CMYK numbers to stay and not change, there is still a bug when making no changes to the color management settings, and the CMYK values are the same, that the Lab values and the appearance on the screen change.
    Hope you can get Adobe's attention.  Looks like a bug to me.

  • Row totals in datagrid

    Hi,
    I have a datagrid with 5 rows and 3 columns and i am able to
    load data into it using http service but i want to calculate totals
    of each row and i have to print them on the labels placed below the
    datagrid for each column
    i want to calculate the row totals and display it on the
    label
    plz find me some solution
    thanks

    I guess one way to do it would be to calculate the total from
    your webservice (I am guessing you're using php to generate an xml
    file) and then pass that to your flex project using the http
    service.
    or you could simply write a script for it within your
    project.

  • Discoverer Report Row Total

    We are running Oracle BI Discoverer Viewer version 11.1.1.4.0. When we upgraded to this version we lost some functionality. In the previous version the report displayed the number of rows the query returned. Now the row totals display only under certain conditions. For instance, I have a inventory report name INV-REP-120 and it prompts the user for 6 parameters & displays 6 columns of data. One of the parameters is named ‘Keyword' and I’ll use this one in the problem description. When I set the keyword parameter to ‘HINGE’ The bar at the top of the results sheet it displays:
    ‘Rows 1-25 of 81, Columns 1-6 of 9’
    When I change the keyword to ‘TUBE’ the viewer displays:
    ‘Rows 1-25, Columns 1-6 of 9’
    The total rows are not displayed but the number of pages. It appears that if the total number of rows is less than 200 then the row total is displayed. I changed the rows displayed from 25 to 100 and scrolled down to the last page and now the reports displays:
    ‘451 – 458 of 458, Columns 1-6 of 9’
    When I use the key word TEE I get :
    ‘Rows 1-50, Columns 1-6 of 9’
    There are 596 tees, which would be about 12 pages of 50 rows. I noticed that at the top of table there is a field ‘Page 1 of 5.’ It looks like if there are more than 5 pages it does not display the total number of rows.
    There seems to be some interaction between the total number of rows the number of rows per page and perhaps a setup on the back-end that determines whether or not the row total is displayed. How can I configure the viewer at the front-end and/or back-end to consistently display the row total for a report? Is there a Discoverer preference located in the pref.txt in the apps server that controls this?

    Hi,
    You can inform to your SP to edit the table EUL4_documents
    and ask him to modify the name of the report that is stored in the column DOC_NAME .There is absolutely no necessary to open the work book that is stored in the database and change the work book name
    Regards
    Swamy!

  • Stored procedure for Total in Header from row totals

    Hi Experts,
    I have read all notes written before regarding that how can we solve that problem if we would like to display on header a rowtotal. But i cannot solve it when i need it dinamically.
    I copy the following query into SBP_SP_Transactionnotification but while im adding the document it doesnt refresh . I have to go back then i can see the row totals in my field.
    IF @object_type = '18'
    BEGIN
    UPDATE OPCH SET U_ONELT =
    (SELECT SUM(U_ONELTR) FROM DBO.PCH1 T0 WHERE T0.DOCENTRY = @list_of_cols_val_tab_del)
    WHERE DOCENTRY = @list_of_cols_val_tab_del
    END
    How shall I modify this query?
    Thanks in advance.
    Eszter

    This is the code you could use
    IF @transaction_type = 'A' AND @object_type = '18'
    BEGIN
    UPDATE OPCH SET U_ONELT =
    (SELECT SUM((T0.QUANTITYT0.PRICE)-(T0.QUANTITYT0.U_ONELTR)) FROM [DBO\].[PCH1\] T0 WHERE T0.DOCENTRY = @list_of_cols_val_tab_del)
    WHERE DOCENTRY = @list_of_cols_val_tab_del
    END
    You can access this Stored Procedure from SQL Server Management Studio......Click on Databases...Select your database...Programmability.....Stored Procedure dbo.SBO_SP_TransactionNotification...Right click....select Modify
    Copy the above code in the body ...You would probably see some thing like ADD YOUR CODE HERE....
    Once you copied this code. Click the Execute button  and you see should get the message
    Command(s) completed successfully.
    Close SQL Server and you should be good to go...
    Suda

  • Fonts don't work correctly when opening illustrator 5 eps in illustrator 6

    When I open an eps file in illustrator 6, which I received from our graphic designer (who is using 5), the fonts don't work correctly. We have purchased VistaSans and when I try to open file, it says fonts not found so they have been substituted, but when I open illustrator, the fonts are there. When I try to change text from VistaSansReg to VistaSansSCBold the bold doesn't apper in illustrator or when saving to PDF - however, when you click the changed text in illustrator, it does show the bold font has been selected.

    HI,
    It is an open type font so should work, but it looks like the problem is that it hasn't installed correctly in Illustrator. I am using Windows 7 so right-clicked fonts and clicked install. Fonts appear in fonts area of control panel and install in disabled when font is viewed.  they work correctly in other apps, such as Word
    When I vew the VistaSans fonts (in existing file) in Illustrator, they appear in the fonts drop-down, but have an asterisk beside them (i.e. not installed) so how do I get them to install correctly in Illustrator? Font isn't appearing in Photoshop either.

  • Showing Zero Unit Price/Row Total

    Hi,
    We currently allow posting rows for item sales with zero unit price. I am having trouble showing the unit price and row total as "$0.00" instead of a blank field with PLD. Both of these fields are system variables (80 and 84), neither field is linked to itself, and neither field has the 'Suppress zeros' box checked. Any possible solution to this? Thank you.

    Hi there,
    You could try using a formula type field and multiplying your system variable field by 1.
    - Say for example your Unit Price field has a Unique ID of F_100.
    - Create a new line Formula field and set its value to Round(F_100*1,2).
    - This will display your zero value unit price as 0.00.
    - Note that I'm only using Round() to display zeros after the decimal place, otherwise the zero value unit price would appear as 0. So change the number of decimals as required.
    - Unfortunately this removes the currency code display from the value so you will need to re-display it if required, you can do this using a database type field and selecting the Price Currency field.
    Do the same for row total. Hope that helps.
    Regards,
    Andrew.

Maybe you are looking for