Totalling at intervals in row grouping

dear techine,
                    i m working on an application wherein i need to sum up a field at regualr intervals in row grouping,as inafter every group i need to display the total of a field.
please send me the totalling logic as well as some technique by which i can display the total at intervals....

Hi Natasha,
    Thanks for the  suggestion.
I have found the simplest  way to do it. just need to provide implementation  of groupLabelFunction of ADG
ie
<mx:AdvancedDataGrid id="adg"    groupLabelFunction="addChildCount">
    private function addChildCount(data:Object,column:AdvancedDataGridColumn):String
       //get the groupingCollection to get access to the group label property name
        var grp:IGroupingCollection = tradeList.dataProvider.source as GroupingCollection2;
        var grpLabelProperty:String = grp.grouping.label;
        //get child count for the group
        // this uses the fact that IHierarchicalData supplied as dataProvider to ADG gets
        // converted to a IHierarchicalCollectionView. This converts all children to ICollectionViews if they are not already.                   
        var childCount:int = tradeList.dataProvider.getChildren(data).length;
        return data[grpLabelProperty] + "(" + childCount + ")";
Thats it ...
Hope this will help someone ..

Similar Messages

  • Calculate percentage between two rows in a matrix report with a single row group in SSRS 2008

    I need your help. I have a matrix report in ssrs 2008. The report contain one field value column and one value column. I need to calculate a percentage for two values. For example : row 1 : Discount 10 Row 2 : Sales 100 Result : 10/100. I have only one
    row group, I need to have a condition where Field = Discount % on Revenue then Discount/Total Turnover. Because of the  grouping for total, I am not being able to calculate the %, its just totalling the % discount. Kindly refer to the snapshot of the
    report.

    Hi Thanks a lot for your answer, but unfortunately it didn't work,the report is reading from a stored procedure which I have unpivot to convert all columns into rows, so that's why Discount % on Revenue, Discount and Total Turnover is found in one column.
    So the Field!Col.Value is the Discount % on Revenue, Discount and Total Turnover. I have tried to change the code to
    "=SUM(IIF(Fields!Col.Value = "Discount",Fields!value.Value),0))
    /IIF(SUM(IIF(Fields!Col.Value = "Turnover Total",Fields!value.Value),0)) = 0 ,
    Nothing,SUM(IIF(Fields!Col.Value = "Turnover Total",Fields!value.Value),0)))" but to no avail. Any other suggestion will be most welcome.
    Thanks.
    If everything you're getting from stored procedure then you need to calculate and bring the value from there itself.
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Attempting to Display Total/Percentage in Answers when grouped by Attribute

    Hi all,
    I'm relatively new to BI and attempting the following setup. (I'm simplifying the model somewhat of course).
    I have a Fact called Job which has an attribute called Type ( along with others such as Create Date , Delivered Date , Length , Score etc ).
    What I need to display , is the following columns together in Answers.
    Type | Count of Type | Percentage of Total Number of Jobs.
    Count of Type is just the number of times the Type shows up for a specific type value.
    I can easily do a "Count of Type" as a Logical Column in the Business Model and Mapping for the Fact Table using a Default Aggregation Rule of Count.
    Percentage of Total Number of Jobs is supposed to be the Percentage that the specific Type Count is of the total number of jobs . i.e. Count of Type / Total number of all Jobs as %age.
    This is where I have my issue. I can create a logical column called Total Number of Jobs using default aggregation rule of count on Job ID and create a Percentage using Calculation Wizard just fine.
    But when I try to have this column in Answers against the first two columns I don't get the right result - I get 100% for every row in the third column - because of course it is grouping the results by Type so it is calculating the "Total Number of Jobs" and consequently the Percentage measure for each individual Type. Thus I get something like
    Type | Count of Type | Percentage of Total Number of Jobs
    1 | 5 | 100%
    2 | 5 | 100%
    When I really want to get
    Type | Count of Type | Percentage of Total Number of Jobs
    1 | 5 | 50%
    2 | 5 | 50%
    Is there any way I can "store" the total number of jobs in the Business Model and Mapping Layer as a logical column in the Job Fact so that it does not display the count aggregate for the grouping (Type) but instead just the total count ?
    I'll be glad to clarify if this sounds too fuzzy.
    Thanks in advance.
    AB.

    Hi ,
    Thanks for the reply , that is successful at getting past the issue of having 100% as the result in every row which would happen if we used a measure built in the Business Model and Mapping layer.
    I'm running into some other minor issues but I think they are data row count related .. I will update this if they are not.
    Additional clarification if it helps anyone else with similar issues.
    Basically Type is an attribute of the Job Detail Fact ( 0 to many rows per job ) . There is also a Job Fact that is at a higher level of granularity ( one row per job ).
    What I am trying to do is display the Percentage or even the Total Number of Jobs ( row count of Job Fact ) in each row along with the Type and Count of Type of Job Detail.
    This is of course made complex because not all Jobs have a Job Detail row and some have many.
    In my Job Detail logical table source , I have the Logical Table Job Detail mapped to both the Job and Job detail physical tables . ( I have tried connecting both via Inner and Left Outer joins) .
    So ideally I would see something like
    Type of Job Detail | Count of Type of Job Detail | Total Number of Jobs | Percentage of Total Number of Jobs
    1 | 5 | 50 | 10%
    2 | 5 | 50 | 10%
    Where the percentage and total are of Jobs and the total is less than 100% .

  • Drill Down only the Middle Row in the Row Group

    Friends,
    I am having difficulties in implementing drill down for one row group.  This is my requirement.
    The Dataset would be returning say the following columns - Eg, Account #, Admit Date, Discharge Date, Pend Reason, Pend Date, Total Amount, Comments. An Account can be pended multiple times.
    We can Pend an Account multiple times. Hence if multiple records exist only the Pend Reason & Pend Date fields would be different for each row for a account. So Account, Pend Reason, Pend Date form a UNIQUE key.
    I am trying to create a drill down report. I want to drill down the Pend Reason & Pend Date fields. This is possible. However, the requirement is to display the Pend Reason & Pend Date fields in the middle of the result set i.e. Total Amount, Comments
    field would be coming after these fields in the report. So whenever i try to expand/collapse the subsequent fields Total Amount & Comments too get expanded/collapsed.
    I am able to achieve this if i keep Pend Reason & Pend Date fields at the end of the result set. But that is not the requirement.
    There is another option of creating sub report for these fields and displaying the history. However i feel that this would be very time consuming since the sub report would be called for every row in the result set.
    Are there any other ways to achieve this? Is it possible to drill down these 2 fields by toggling these same 2 fields?
    Any help would be appreciated.
    Thanks.
    Murali Krishnan

    Hi Murali,
    Thank you for your post.
    Since I am not very clearly about your requirement, could you please post the dataset with sample data, and the screenshot about your report design? It is benefit for us to do further analysis.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support
    Alisa,
    Thanks for responding. I am attaching the report layout. In this Facility, User, CaseType have been grouped and rest of the fields are in Details section.
    For an account with multiple entries in the dataset only the Pend Reason would be different. All the other fields would be the same. When I try to add all the fields before Pend Reason field as Parent, it is grouping till Pend Reaosn and showing even Pend
    Date, Pend Days fields in individual rows.
    Our requirement is to have only one row per account in the report and display multiple rows for pend reasons in its own box. for eg if there are 3 rows for account 111
    Col1, Col2, Col3
    111, A, 20
    111,B,20
    111,C,20
    My requirement is to display like below.
    111
    A
    20
    B
    C
    i know the we can implement this by using a subreport for COl2. but it would be time consuming as it would be called for all the rows. Is there any other better options.
    Murali Krishnan

  • [Forum FAQ] How to calculate the total count of insert rows within a Foreach Loop Container in SSIS?

    Introduction
    We need to loop through all the flat files that have the same structure in a folder and import all the data to a single SQL Server table. How can we obtain the total count of the rows inserted to the destination SQL Server table?
    Solution
    We can use Execute SQL Task or Script Task to aggregate the row count increment for each iteration of the Foreach Loop Container. The following steps are the preparations before we add the Execute SQL Task or Script Task:
    Create a String type variable FilePath, two Int32 type variables InsertRowCnt and TotalRowCnt.
    Drag a Foreach Loop Container to the Control Flow design surface, set the Enumerator to “Foreach File Enumerator”, specify the source folder and the files extension, and set the “Retrieve file name” option to “Fully qualified”.
    On the “Variable Mappings” tab of the container, map the variable FilePath to the collection value.
    Drag a Data Flow Task to the container, in the Data Flow Task, add a Flat File Source, a Row Count Transformation, and an OLE DB Destination, and join them. Create a Flat File Connection Manager to connect to one of the flat files, and then configure the
    Flat File Source as well as the OLE DB Destination adapter. Set the variable for the Row Count Transformation to “User::InsertRowCnt”.
    Open the Property Expressions Editor for the Flat File Connection Manager, and set the expression of “ConnectionString” property to
    “@[User::FilePath]”.
    (I) Execute SQL Task Method:
    In the Control Flow, drag an Execute SQL Task under the Data Flow Task and join them.
    Create one or using any one existing OLE DB Connection Manager for the Execute SQL Task, set the “ResultSet” option to “Single row”, and then set the “SQLStatement” property to:
    DECLARE @InsertRowCnt INT,
                   @TotalRowCnt INT
    SET @InsertRowCnt=?
    SET @TotalRowCnt=?
    SET @TotalRowCnt=@InsertRowCnt+@TotalRowCnt
    SELECT TotalRowCnt=@TotalRowCnt
    On to parameter 1. 
    On the “Result Set” tab of the Execute SQL Task, map result 0 to variable “User::TotalRowCnt”.
    (II) Script Task Method:
    In the Control Flow, drag a Script Task under the Data Flow Task and join them.
    In the Script Task, select variable InsertRowCnt for “ReadOnlyVariables” option, and select variable TotalRowCnt for “ReadWriteVariables”.
    Edit the Main method as follows (C#):
    public void Main()
    // TODO: Add your code here
    int InsertRowCnt = Convert.ToInt32(Dts.Variables["User::InsertRowCnt"].Value.ToString()
    int TotalRowCnt = Convert.ToInt32(Dts.Variables["User::TotalRowCnt"].Value.ToString());
    TotalRowCnt = TotalRowCnt + InsertRowCnt;
    Dts.Variables["User::InsertRowCnt"].Value = TotalRowCnt;
    Dts.TaskResult = (int)ScriptResults.Success;
              Or (VB)
              Public Sub Main()
            ' Add your code here
            Dim InsertRowCnt As Integer =        
            Convert.ToInt32(Dts.Variables("User::InsertRowCnt").Value.ToString())
            Dim TotalRowCnt As Integer =
            Convert.ToInt32(Dts.Variables("User::TotalRowCnt").Value.ToString())
            TotalRowCnt = TotalRowCnt + InsertRowCnt
            Dts.Variables("User::TotalRowCnt").Value = TotalRowCnt
            Dts.TaskResult = ScriptResults.Success
           End Sub
    Applies to
    Microsoft SQL Server 2005
    Microsoft SQL Server 2008
    Microsoft SQL Server 2008 R2
    Microsoft SQL Server 2012
    Microsoft SQL Server 2014
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Hi ITBobbyP,
    If I understand correctly, you want to load data from multiple sheets in an .xlsx file into a SQL Server table.
    If in this scenario, please refer to the following tips:
    The Foreach Loop container should be configured as shown below:
    Enumerator: Foreach ADO.NET Schema Rowset Enumerator
    Connection String: The OLE DB Connection String for the excel file.
    Schema: Tables.
    In the Variable Mapping, map the variable to Sheet_Name, and change the Index from 0 to 2.
    The connection string for Excel Connection Manager is the original one, we needn’t make any change.
    Change Table Name or View name to the variable Sheet_Name.
    If you want to load data from multiple sheets in multiple .xlsx files into a SQL Server table, please refer to following thread:
    http://stackoverflow.com/questions/7411741/how-to-loop-through-excel-files-and-load-them-into-a-database-using-ssis-package
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Diplaying matrix with drill down (toggle visibility) enabled for 4 row groups

    Hello,
    I have a matrix in SSRS 2012 with 4 row groups representing a product hierarchy.   Product Sub Group, Product, Sub Product and Account Number are the levels of the hierarchy.  I have enabled drill down (toggle item visibility) on the first
    3 of these levels. 
    This works great, but my matrix is very wide when it is first rendered.  Ideally I want my matrix to expand horizontally as I expand/drill down into each grouping.  So when the report is first rendered, and 3 of the groups are invisible, the
    matrix will be thin.  Is this possible?
    Thanks,
    Gabe

    Hi Gabe,
    Based on my test, it cannot achieved in SQL Server Reporting Services (SSRS).
    We can hide these column contents in matrix, however, we cannot hide the space in the report. In this situation, I recommend you use table to display these data.
    Alternative, we can add a drill-down in the column group to hide the column group when it is first rendered. Please refer to the following screenshot:
    If you have any questions, please feel free to let me know.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • I am looking to see if anyone has found out how to do a sum or percentage totalling other columns or rows in Numbers?

    I am looking to see if anyone has figured out, from their iPad in Numbers how to calculate percentages or sums totalling other columns or rows?

    The issue is I bought the G4 from my buddy a few months ago... the machine has been abused to say the least, both inside and out. It is almost falling apart and has a BUNCH of programs loaded on it. I have always used a PC and am still familiarizing myself with Macs, I need to clean out the machine and dump all the excess applications and files that are causing problems.
    I think this is why I am having some trouble. Sometimes it works just fine, but I am only working with a few simultaneous tracks at a time. I am using the virtual instruments at this time but will be running guitars and bass through an external sound card soon. Similar to what you are doing it sounds like.
    Anyway, wanted to give you some more insight. Last night it seemed to work alright, I am not going to rush into buying anything until I absolutely have to but want to get some direction as far as what I should be looking at.
    Any further input is appreciated, thanks.

  • Split Column group heading to next row based on row group

    Hii all 
    I am developing a matrix by grouped departments on row and schemes are in columns
    but scheme group goes to end .. its not meeting my requirement 
    as per above image my report should looks like. 
    but report looks like below ..
    Dilip Patil..

    Hi Dilip Patil,
    According to your description, you want to create a matrix which display schemes of departments. Now you can't make the matrix looks like the first image above. Right?
    In this scenario, you should have a data field in your dataset which is for the schemes to group on. Otherwise the matrix can't dynamically generate those schemes into on row. If you don't have a column in your database to group the schemes,we suggest you
    use table the render your data and put the schemes into detail rows. We have tested in our local environment. Here are steps and screeenshots for your reference:
    1. We add a column(named Scheme) in database to define scheme group for schemes.
    2. Put Dept into row group and set it group on Govt. The design looks like below:
    3. Save and preview. It looks like below:
    Reference: 
    Exporting Reports (Report Builder and SSRS)
    Matrices (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Simon Hou

  • Cross tab template Formatting. Two Row Groups cannot be on the same line

    Hi
    I have a cross tab template(Vetsriselvan favor) where it has Multiple Row groups. In the RTF template I want them to be on the same line but somehow it works only if they are one below the other. In this template Comp is the First Group Row then Acct is 2nd Group Row and Expense is the 3rd Group Row. Period is the Column. I want all the Group rows start from the same line instead one below the other. Is it possible to do it?
    Comp Acct Expense Period
    &lt;?for-each-group:/BIOFASPRJ/LIST_G_SUMDEPR1PERACCT/ &lt;[?for-each-group@column:G_PERIOD_NAME[./PERIOD_NAME!=''];PERIOD_NAME|mailto:?for-each-group@column:G_PERIOD_NAME[./PERIOD_NAME!=''];PERIOD_NAME]?&gt;
    G_SUMDEPR1PERACCT/LIST_G_COMP_CODE/G_COMP_CODE;./COMP_CODE?&gt; F_comp
    &lt;?for-each-group:./LIST_G_ACCT/G_ACCT [LIST_G_DESCRIPTION/G_DESCRIPTION/LIST_G_PERIOD_NAME/G_PERIOD_NAME/LIST_G_DEPR1/G_DEPR1];ACCT?&gt; &lt;?variable@incontext:G1;current-group()?&gt;acc
    &lt;?for-each-group:./LIST_G_DESCRIPTION/G_DESCRIPTION[LIST_G_PERIOD_NAME/G_PERIOD_NAME/LIST_G_DEPR1/G_DEPR1];DESCRIPTION?&gt;&lt;?variable@incontext:G2;current-group()?&gt;acc

    Upload the template here
    http://apps2fusion.com/forums/viewforum.php?f=60
    or
    Send me the template and xml to fusionDOTobjectATgmail.com

  • Total based on selected rows

    Hi,
    I have a column called record type and I would like to sub-total based on
    selected rows from the record type at the bottom. how do I do it ?
    for ex:
    rtype load
    s - 100
    b - 150
    r - 200
    z - 10
    total load1 b+r - 350
    total load2 b+z - 160
    ------------------------------------------

    You can use calculations in pivot tables to operate with distinct values of a column. You can create a new column (or row) as 'b' + 'r' record types. You can select wether to see original and total columns or only totals.
    See 'Examples of Calculations in Oracle BI Pivot Tables' section in "Oracle® Business Intelligence Answers, Delivers, and Interactive Dashboards User Guide" document.

  • Using same tablix column for 2 row groups

    Hi.  We run 2012 enterprise.  My tablix is grouped (for the most part) by hidden primary (values are 5,10,15,20) , secondary and tertiary sort columns.  And a couple of visible label items that are aligned left.
    Every row's data columns are completely %, $ or numerically formatted depending on a hidden helper field i've snuck into the tablix row group data fields after the tertiary sort.
    The primary sort column does equate to a label that I dont show right now.  In biz terms that label is actually the highest from a grouping standpoint but isnt being used right now for anything.  I left it for last.
    As I put the finishing touches on this report, I'd like to display that label ahead of the 4 sections it represents using the same column being occupied by the 1st (leftmost) label that is currently visible.  I'd like to center it in that column on
    its own row and apply some shading to the cells to its right.   And show nothing in those shadded cells.   All without changing my dataset if possible.
    To complicate things, I'd like to follow each of the 4 sections with a completely shaded row.  No data at all but grid lines can show thru shading.   Again without changing my dataset.  Is there a feature in ssrs that deals with this
    kind of visual nuance?

    Hi Jeewan,
    Try this formula, If I understood your question correctly it will work for you.

  • Row Grouping

    Hi All,
    I have an IR and I am trying to do 'Row Grouping'. I worked on 'Column Grouping' before installing a plug-in 'IR Column Groups'
    I am trying to get the same for rows.
    PASS
    COMPLETE
    FAIL
    NOT COMPLETE
    'COMPLETE','NOT COMPLETE' are the values of Column1.
    'PASS', 'FAIL' are the values of Column2.
    Is this possible? Please give me some inputs.
    I am using 10g DB, Apex 4.1
    Thank you all in Advance,
    Daniel
    Edited by: Daniel on Jun 5, 2012 12:10 PM

    Daniel,
    Maybe I am not quite understanding the post. If you want the rows grouped, and you are using an Interactive Report, you do not need any plugin.
    Just run your report. Click the Actions drop down and the select Format...Control Break. In the resulting dialog, select Column 1 and then Column 2. Your rows will be grouped.
    -Joe
    Edited by: Joe Upshaw on Jun 6, 2012 5:55 AM

  • WebDynpro Table Simple Row Group

    Hello.
    How to create a table Grid with simple Row Group with this structure ?
    COMPANY   |   CONTACTS
        Cp1          John
                     Jimmy
                     Michael
        Cp2   |      Louis
                     Taylor
                     Michel
        Cp3   |      Dave
                     Kelly
                     Harry
    Is not a Tree view in Table ...I need only grouped rows expanded in a table.
    Thanks in Advance.
    Taylor
    Edited by: Taylor on Jul 29, 2010 10:56 AM

    Hi Taylor,
    Try This:
    1.Create a Context node with Following Structure:
       TableNode
    __Attr1
    __Attr2
        |__Attr3
    You'll have the number of attributes based on your requirement
    Fill the elements in the node.
    Here we want to group the rows based on Attr1 value
    2.Create a table with DataSource = TableNode
    3.Add a TableColumnGroup in the table Say TableColumnGroup1.
    4.Add 3 ( 3 in this example otherwise based on your requirement) columns say Colum1,Column2,Column3 in this Grouped column with TableCellEditors' values bound to the attributes in the TableNode respectively.
    5.Select the Column1 (column used for Attr1) and bind its groupingValue propety to TableNode->Attr1
    When you deploy, it will display the rows Grouped by the Value in Attr1.
    Regards,
    Ajay

  • CR - giving total transaction count for few groups and 0 for few groups.

    For the column "No of First Call Resolution" I have to count no of interactions based on the Interaction Result, the formula is
    COUNT(Interaction_ID) WHERE INTERACTION_RESULT = 'FCR'
    For which, I wrote the below formula
    If {14CICustomerInteractions_query.Interaction Result} = "FCR" then Count ({14CICustomerInteractions_query.Interaction_ID})
    I have 33,232 interactions on the particular day I selected. When I try to group up and do the calculations it is giving total transaction count for few groups and 0 for few groups.
    Need Solution

    Hi,
    What field is the report grouped on?
    If you wish to find the no of interactions based on some condition and display it for every group, then here's what you need to do:
    1) Create this formula and place this on the details section:
    whileprintingrecords;
    numbervar c;
    If {14CICustomerInteractions_query.Interaction Result} = "FCR" then
    c := c + 1;
    2) Create another formula and place this one on the Group Footer:
    whileprintingrecords;
    numbervar c;
    3) Create this formula to reset the variable and place this on the Group Header:
    whileprintingrecords;
    numbervar c := 0;
    Let me know how this goes!
    -Abhilash

  • Matrix Report Row Group Totals

    dear experts,
    I want to create a matrix report for purchase bills in which each bill may have mutiple items with diffrent rate and vat
    i could create the matrix report but the grand total in each purchase master table having column billtotal, vattotal
    the report shows one purchase row and vat column are displayed as multiple colums correctly
    but grand total of billtotal, vattotal gets added as many times as the items are there in that each bill
    any suggestion.
    the data from various tables is attached as an xml and crude method i adopted to overcome the set repetation of masters
    <PurchaseRrgister>
    <y>
    <doc_gl>500</doc_gl>
    <doc_no>3</doc_no>
    <doc_dt>2012-04-29</doc_dt>
    <supplier_billno>1835</supplier_billno>
    <supplier_billdt>2012-03-31</supplier_billdt>
    <amt>28641.6000</amt>
    <z>
    <suppliername>G.R.CORPORATION</suppliername>
    <amount>28080.0000</amount>
    <bed_amt>0.0000</bed_amt>
    <ecess_amt>0.00</ecess_amt>
    <vattotal>0.0000</vattotal>
    <misc_charg>0.0000</misc_charg>
    <prevatcharges>0.0000</prevatcharges>
    <postvatcharges>0.00</postvatcharges>
    <packingAmt>0.00</packingAmt>
    <lstamt>345.60</lstamt>
    <w>
    <vatname>C.S.T. 2%</vatname>
    <syssrl>2</syssrl>
    <f>
    <glname>CLOTH</glname>
    </f>
    </w>
    </z>
    </y>
    <y>
    <doc_gl>500</doc_gl>
    <doc_no>5</doc_no>
    <doc_dt>2012-04-29</doc_dt>
    <supplier_billno>71</supplier_billno>
    <supplier_billdt>2012-04-17</supplier_billdt>
    <amt>30365.2700</amt>
    <z>
    <suppliername>GIRIRAJ TRADING COMPANY</suppliername>
    <amount>28919.3000</amount>
    <bed_amt>0.0000</bed_amt>
    <ecess_amt>0.00</ecess_amt>
    <vattotal>0.0000</vattotal>
    <misc_charg>0.0000</misc_charg>
    <prevatcharges>0.0000</prevatcharges>
    <postvatcharges>0.00</postvatcharges>
    <packingAmt>0.00</packingAmt>
    <lstamt>136.00</lstamt>
    <w>
    <vatname>MVAT 5%</vatname>
    <syssrl>2</syssrl>
    <f>
    <glname>RAW MATERIAL</glname>
    </f>
    </w>
    </z>
    <z>
    <suppliername>GIRIRAJ TRADING COMPANY</suppliername>
    <amount>28919.3000</amount>
    <bed_amt>0.0000</bed_amt>
    <ecess_amt>0.00</ecess_amt>
    <vattotal>0.0000</vattotal>
    <misc_charg>0.0000</misc_charg>
    <prevatcharges>0.0000</prevatcharges>
    <postvatcharges>0.00</postvatcharges>
    <packingAmt>0.00</packingAmt>
    <lstamt>750.00</lstamt>
    <w>
    <vatname>MVAT 5%</vatname>
    <syssrl>3</syssrl>
    <f>
    <glname>RAW MATERIAL</glname>
    </f>
    </w>
    </z>
    </y>
    <y>
    <doc_gl>500</doc_gl>
    <doc_no>8</doc_no>
    <doc_dt>2012-04-29</doc_dt>
    <supplier_billno>2764</supplier_billno>
    <supplier_billdt>2012-04-13</supplier_billdt>
    <amt>14771.4000</amt>
    <z>
    <suppliername>FAVOURITE BOOK CLOTH &amp; PAPER MART</suppliername>
    <amount>13968.0000</amount>
    <bed_amt>0.0000</bed_amt>
    <ecess_amt>0.00</ecess_amt>
    <vattotal>0.0000</vattotal>
    <misc_charg>0.0000</misc_charg>
    <prevatcharges>0.0000</prevatcharges>
    <postvatcharges>0.00</postvatcharges>
    <packingAmt>0.00</packingAmt>
    <lstamt>98.50</lstamt>
    <w>
    <vatname>MVAT 5%</vatname>
    <syssrl>2</syssrl>
    <f>
    <glname>CLOTH</glname>
    </f>
    </w>
    </z>
    </y>
    <y>
    <doc_gl>500</doc_gl>
    <doc_no>11</doc_no>
    <doc_dt>2012-04-29</doc_dt>
    <supplier_billno>176</supplier_billno>
    <supplier_billdt>2012-03-22</supplier_billdt>
    <amt>61248.0000</amt>
    <z>
    <suppliername>VIGNESHWAR HOISERY MFG.</suppliername>
    <amount>61248.0000</amount>
    <bed_amt>0.0000</bed_amt>
    <ecess_amt>0.00</ecess_amt>
    <vattotal>0.0000</vattotal>
    <misc_charg>0.0000</misc_charg>
    <prevatcharges>0.0000</prevatcharges>
    <postvatcharges>0.00</postvatcharges>
    <packingAmt>0.00</packingAmt>
    <lstamt>0.00</lstamt>
    <w>
    <vatname>TAX FREE PURCHASE</vatname>
    <syssrl>2</syssrl>
    <f>
    <glname>CLOTH</glname>
    </f>
    </w>
    </z>
    </y>
    <y>
    <doc_gl>500</doc_gl>
    <doc_no>13</doc_no>
    <doc_dt>2012-04-29</doc_dt>
    <supplier_billno>178</supplier_billno>
    <supplier_billdt>2012-03-24</supplier_billdt>
    <amt>56448.0000</amt>
    <z>
    <suppliername>VIGNESHWAR HOISERY MFG.</suppliername>
    <amount>56448.0000</amount>
    <bed_amt>0.0000</bed_amt>
    <ecess_amt>0.00</ecess_amt>
    <vattotal>0.0000</vattotal>
    <misc_charg>0.0000</misc_charg>
    <prevatcharges>0.0000</prevatcharges>
    <postvatcharges>0.00</postvatcharges>
    <packingAmt>0.00</packingAmt>
    <lstamt>0.00</lstamt>
    <w>
    <vatname>TAX FREE PURCHASE</vatname>
    <syssrl>2</syssrl>
    <f>
    <glname>CLOTH</glname>
    </f>
    </w>
    </z>
    </y>
    <y>
    <doc_gl>500</doc_gl>
    <doc_no>15</doc_no>
    <doc_dt>2012-04-29</doc_dt>
    <supplier_billno>170</supplier_billno>
    <supplier_billdt>2012-03-16</supplier_billdt>
    <amt>58779.0000</amt>
    <z>
    <suppliername>VIGNESHWAR HOISERY MFG.</suppliername>
    <amount>58779.0000</amount>
    <bed_amt>0.0000</bed_amt>
    <ecess_amt>0.00</ecess_amt>
    <vattotal>0.0000</vattotal>
    <misc_charg>0.0000</misc_charg>
    <prevatcharges>0.0000</prevatcharges>
    <postvatcharges>0.00</postvatcharges>
    <packingAmt>0.00</packingAmt>
    <lstamt>0.00</lstamt>
    <w>
    <vatname>TAX FREE PURCHASE</vatname>
    <syssrl>2</syssrl>
    <f>
    <glname>CLOTH</glname>
    </f>
    </w>
    <w>
    <vatname>TAX FREE PURCHASE</vatname>
    <syssrl>3</syssrl>
    <f>
    <glname>CLOTH</glname>
    </f>
    </w>
    </z>
    </y>
    <y>
    <doc_gl>500</doc_gl>
    <doc_no>21</doc_no>
    <doc_dt>2012-04-29</doc_dt>
    <supplier_billno>13</supplier_billno>
    <supplier_billdt>2012-04-05</supplier_billdt>
    <amt>35280.0000</amt>
    <z>
    <suppliername>ROYALTY MINERALS</suppliername>
    <amount>33600.0000</amount>
    <bed_amt>0.0000</bed_amt>
    <ecess_amt>0.00</ecess_amt>
    <vattotal>0.0000</vattotal>
    <misc_charg>0.0000</misc_charg>
    <prevatcharges>0.0000</prevatcharges>
    <postvatcharges>0.00</postvatcharges>
    <packingAmt>0.00</packingAmt>
    <lstamt>520.00</lstamt>
    <w>
    <vatname>MVAT 5%</vatname>
    <syssrl>2</syssrl>
    <f>
    <glname>RAW MATERIAL</glname>
    </f>
    </w>
    </z>
    <z>
    <suppliername>ROYALTY MINERALS</suppliername>
    <amount>33600.0000</amount>
    <bed_amt>0.0000</bed_amt>
    <ecess_amt>0.00</ecess_amt>
    <vattotal>0.0000</vattotal>
    <misc_charg>0.0000</misc_charg>
    <prevatcharges>0.0000</prevatcharges>
    <postvatcharges>0.00</postvatcharges>
    <packingAmt>0.00</packingAmt>
    <lstamt>375.00</lstamt>
    <w>
    <vatname>MVAT 5%</vatname>
    <syssrl>3</syssrl>
    <f>
    <glname>RAW MATERIAL</glname>
    </f>
    </w>
    </z>
    <z>
    <suppliername>ROYALTY MINERALS</suppliername>
    <amount>33600.0000</amount>
    <bed_amt>0.0000</bed_amt>
    <ecess_amt>0.00</ecess_amt>
    <vattotal>0.0000</vattotal>
    <misc_charg>0.0000</misc_charg>
    <prevatcharges>0.0000</prevatcharges>
    <postvatcharges>0.00</postvatcharges>
    <packingAmt>0.00</packingAmt>
    <lstamt>275.00</lstamt>
    <w>
    <vatname>MVAT 5%</vatname>
    <syssrl>4</syssrl>
    <f>
    <glname>RAW MATERIAL</glname>
    </f>
    </w>
    </z>
    </y>
    <y>
    <doc_gl>500</doc_gl>
    <doc_no>22</doc_no>
    <doc_dt>2012-04-29</doc_dt>
    <supplier_billno>14</supplier_billno>
    <supplier_billdt>2012-04-03</supplier_billdt>
    <amt>34102.5300</amt>
    <z>
    <suppliername>GIRIRAJ TRADING COMPANY</suppliername>
    <amount>32478.6000</amount>
    <bed_amt>0.0000</bed_amt>
    <ecess_amt>0.00</ecess_amt>
    <vattotal>0.0000</vattotal>
    <misc_charg>0.0000</misc_charg>
    <prevatcharges>0.0000</prevatcharges>
    <postvatcharges>0.00</postvatcharges>
    <packingAmt>0.00</packingAmt>
    <lstamt>1119.93</lstamt>
    <w>
    <vatname>MVAT 5%</vatname>
    <syssrl>2</syssrl>
    <f>
    <glname>RAW MATERIAL</glname>
    </f>
    </w>
    </z>
    <z>
    <suppliername>GIRIRAJ TRADING COMPANY</suppliername>
    <amount>32478.6000</amount>
    <bed_amt>0.0000</bed_amt>
    <ecess_amt>0.00</ecess_amt>
    <vattotal>0.0000</vattotal>
    <misc_charg>0.0000</misc_charg>
    <prevatcharges>0.0000</prevatcharges>
    <postvatcharges>0.00</postvatcharges>
    <packingAmt>0.00</packingAmt>
    <lstamt>204.00</lstamt>
    <w>
    <vatname>MVAT 5%</vatname>
    <syssrl>3</syssrl>
    <f>
    <glname>RAW MATERIAL</glname>
    </f>
    </w>
    </z>
    </y>
    <y>
    <doc_gl>500</doc_gl>
    <doc_no>29</doc_no>
    <doc_dt>2012-04-29</doc_dt>
    <supplier_billno>2695</supplier_billno>
    <supplier_billdt>2012-03-30</supplier_billdt>
    <amt>52349.2200</amt>
    <z>
    <suppliername>VISHVARAJ ENTERPRISES</suppliername>
    <amount>45200.8000</amount>
    <bed_amt>0.0000</bed_amt>
    <ecess_amt>0.00</ecess_amt>
    <vattotal>0.0000</vattotal>
    <misc_charg>0.0000</misc_charg>
    <prevatcharges>0.0000</prevatcharges>
    <postvatcharges>0.00</postvatcharges>
    <packingAmt>0.00</packingAmt>
    <lstamt>1682.10</lstamt>
    <w>
    <vatname>MVAT 5%</vatname>
    <syssrl>2</syssrl>
    <f>
    <glname>RAW MATERIAL</glname>
    </f>
    </w>
    </z>
    </y>
    <y>
    <doc_gl>500</doc_gl>
    <doc_no>30</doc_no>
    <doc_dt>2012-04-29</doc_dt>
    <supplier_billno>2694</supplier_billno>
    <supplier_billdt>2012-03-30</supplier_billdt>
    <amt>57675.4500</amt>
    <z>
    <suppliername>VISHVARAJ ENTERPRISES</suppliername>
    <amount>49799.6000</amount>
    <bed_amt>0.0000</bed_amt>
    <ecess_amt>0.00</ecess_amt>
    <vattotal>0.0000</vattotal>
    <misc_charg>0.0000</misc_charg>
    <prevatcharges>0.0000</prevatcharges>
    <postvatcharges>0.00</postvatcharges>
    <packingAmt>0.00</packingAmt>
    <lstamt>1544.20</lstamt>
    <w>
    <vatname>MVAT 5%</vatname>
    <syssrl>2</syssrl>
    <f>
    <glname>RAW MATERIAL</glname>
    </f>
    </w>
    </z>
    </y>
    <y>
    <doc_gl>500</doc_gl>
    <doc_no>43</doc_no>
    <doc_dt>2012-04-29</doc_dt>
    <supplier_billno>2696</supplier_billno>
    <supplier_billdt>2012-03-30</supplier_billdt>
    <amt>46738.6500</amt>
    <z>
    <suppliername>VISHVARAJ ENTERPRISES</suppliername>
    <amount>40300.3000</amount>
    <bed_amt>0.0000</bed_amt>
    <ecess_amt>0.00</ecess_amt>
    <vattotal>0.0000</vattotal>
    <misc_charg>0.0000</misc_charg>
    <prevatcharges>0.0000</prevatcharges>
    <postvatcharges>0.00</postvatcharges>
    <packingAmt>0.00</packingAmt>
    <lstamt>1009.26</lstamt>
    <w>
    <vatname>MVAT 5%</vatname>
    <syssrl>2</syssrl>
    <f>
    <glname>RAW MATERIAL</glname>
    </f>
    </w>
    </z>
    <z>
    <suppliername>VISHVARAJ ENTERPRISES</suppliername>
    <amount>40300.3000</amount>
    <bed_amt>0.0000</bed_amt>
    <ecess_amt>0.00</ecess_amt>
    <vattotal>0.0000</vattotal>
    <misc_charg>0.0000</misc_charg>
    <prevatcharges>0.0000</prevatcharges>
    <postvatcharges>0.00</postvatcharges>
    <packingAmt>0.00</packingAmt>
    <lstamt>168.54</lstamt>
    <w>
    <vatname>MVAT 5%</vatname>
    <syssrl>3</syssrl>
    <f>
    <glname>RAW MATERIAL</glname>
    </f>
    </w>
    </z>
    </y>
    <y>
    <doc_gl>500</doc_gl>
    <doc_no>58</doc_no>
    <doc_dt>2012-04-29</doc_dt>
    <supplier_billno>44</supplier_billno>
    <supplier_billdt>2012-04-11</supplier_billdt>
    <amt>1820.2400</amt>
    <z>
    <suppliername>SAI ENTERPRISES</suppliername>
    <amount>1440.0000</amount>
    <bed_amt>0.0000</bed_amt>
    <ecess_amt>0.00</ecess_amt>
    <vattotal>0.0000</vattotal>
    <misc_charg>0.0000</misc_charg>
    <prevatcharges>0.0000</prevatcharges>
    <postvatcharges>0.00</postvatcharges>
    <packingAmt>0.00</packingAmt>
    <lstamt>73.74</lstamt>
    <w>
    <vatname>MVAT 12.5%</vatname>
    <syssrl>2</syssrl>
    <f>
    <glname>REPAIRS &amp; MAINT - MACHINERY</glname>
    </f>
    </w>
    </z>
    </y>
    <y>
    <doc_gl>501</doc_gl>
    <doc_no>70</doc_no>
    <doc_dt>2012-04-29</doc_dt>
    <supplier_billno>19601</supplier_billno>
    <supplier_billdt>2012-04-23</supplier_billdt>
    <amt>18678.9400</amt>
    <z>
    <suppliername>KISMAT MACHINARY SALES</suppliername>
    <amount>16603.5000</amount>
    <bed_amt>0.0000</bed_amt>
    <ecess_amt>0.00</ecess_amt>
    <vattotal>0.0000</vattotal>
    <misc_charg>0.0000</misc_charg>
    <prevatcharges>0.0000</prevatcharges>
    <postvatcharges>0.00</postvatcharges>
    <packingAmt>0.00</packingAmt>
    <lstamt>1214.81</lstamt>
    <w>
    <vatname>MVAT 12.5%</vatname>
    <syssrl>2</syssrl>
    <f>
    <glname>REPAIRS &amp; MAINT - MACHINERY</glname>
    </f>
    </w>
    </z>
    </y>
    <y>
    <doc_gl>501</doc_gl>
    <doc_no>71</doc_no>
    <doc_dt>2012-04-29</doc_dt>
    <supplier_billno>92</supplier_billno>
    <supplier_billdt>2012-04-22</supplier_billdt>
    <amt>5400.0000</amt>
    <z>
    <suppliername>AMIT TOOLS CO.</suppliername>
    <amount>4800.0000</amount>
    <bed_amt>0.0000</bed_amt>
    <ecess_amt>0.00</ecess_amt>
    <vattotal>0.0000</vattotal>
    <misc_charg>0.0000</misc_charg>
    <prevatcharges>0.0000</prevatcharges>
    <postvatcharges>0.00</postvatcharges>
    <packingAmt>0.00</packingAmt>
    <lstamt>237.50</lstamt>
    <w>
    <vatname>MVAT 12.5%</vatname>
    <syssrl>2</syssrl>
    <f>
    <glname>LABORATORY EXPENSES</glname>
    </f>
    </w>
    </z>
    </y>
    <y>
    <doc_gl>501</doc_gl>
    <doc_no>75</doc_no>
    <doc_dt>2012-04-29</doc_dt>
    <supplier_billno>19832</supplier_billno>
    <supplier_billdt>2012-04-27</supplier_billdt>
    <amt>898.8000</amt>
    <z>
    <suppliername>STEEL TRADERS|</suppliername>
    <amount>856.0000</amount>
    <bed_amt>0.0000</bed_amt>
    <ecess_amt>0.00</ecess_amt>
    <vattotal>0.0000</vattotal>
    <misc_charg>0.0000</misc_charg>
    <prevatcharges>0.0000</prevatcharges>
    <postvatcharges>0.00</postvatcharges>
    <packingAmt>0.00</packingAmt>
    <lstamt>14.00</lstamt>
    <w>
    <vatname>MVAT 5%</vatname>
    <syssrl>2</syssrl>
    <f>
    <glname>CONSUMABLE STORES</glname>
    </f>
    </w>
    </z>
    </y>
    </PurchaseRrgister>

    Hi Sushil Agarwal,
    As per my understanding, you want to create a matrix and use xml as data source for purchase bills, each purchase bill has multiple items with different rate and vat. In order to improve the efficiency of troubleshooting, I need to ask several questions:
    Please provide corresponding column name for purchase, rate, billtotal and vattotal.
    “but grand total of billtotal, vattotal gets added as many times as the items are there in that each bill” What’s the meaning of this sentence?
    What function do you want to achieve? What’s the state of report now? please provide some more detailed information of your requirements. I would be appreciated it if you could provide screenshot of the report in design mode.
    This may be a lot of information to ask for at one time. However, by collecting this information now, it will help us move more quickly toward a solution.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

Maybe you are looking for

  • Is there a way to take an existing PDF and make it into a form that will aggregate the responses?

    Is there a way to take an existing PDF and make it into a form that will aggregate the responses? 

  • Error while starting Presentation services

    Hi, I tried adding the following tag in instanceconfig.xml file and restarted the Presentation services. <PivotView> <MaxCells> 4000000 </MaxCells> <MaxVisibleColumns> 5000 </MaxVisibleColumns> <MaxVisiblePages> 2500 </MaxVisiblePages> <MaxVisibleRow

  • How do I redirect formula links in a duplicated table?

    I am putting together an annual accounts spreadsheet in Numbers. I have several worksheets with a set of tables for the first month. The final worksheet contains a summary table which gathers data from across all the tables on the other sheets. No pr

  • Payment details of beneficiary

    Hi all, I'm wondering where you specify payment details of your beneficiary in contract if do you that at all. I mean let us assume you did a money market O/N deposit in EUR (as investment) and you are expected to transfer agreed nominal amount to th

  • REM Backflush

    HI GURUS, I have craeted production version (MOD1)and done product cost collecter ,also complete mfbf (rem -backflush). My new requirement is, i have changes bom item and in rate routing i have changes some opeartios and activity types which assigned