Cross tab report-dyanamic columns for months and quarterly sum

Hi all,
I work on report creation in BI Publisher.I need to display values in a cross tab report in a way that it shows data for 3 months and then a column for its quarterly sum.
For ex:-
Market --Jan       Feb    Mar    Q1_sum Apr May Jun Q2_sum ---------------like wise for n months
Market1 100 --80 --30 -- 210 --10 -- 80 --90 --210
Market2 120 --90 --40 --250 --100 --70 --30 --200
Market3 130 --70 --60 --260 --140 -- 0 --40 --180 ('--' just to maintain indentation)
The values of number of months( date range) and the names of market are derived dyanamically .
The code from my sql query presently shows months-range (Jan ,feb,mar..), Quarterly sum to be displayed, Market names etc as child elements in multiple occurences main Query set.
<Main Query>
<Market>abc</Market>
<Region>abc</Region>
<Months-Range>abc</Months-Range>
<Quarterly_sum>abc</Quarterly_sum>
<Main Query>
<Main Query>
</Main Query>
Please guide me on code in rtf template for the same.
Thanks
Edited by: user9061488 on Jul 13, 2010 1:32 AM
Edited by: user9061488 on Jul 13, 2010 3:48 AM

Hi,
Do u have time dim in your metadata??
If not,
Create a time dimension year,quater,month,day
http://lh4.ggpht.com/_rhCtHYLiamQ/S7PQvxYBbzI/AAAAAAABZXI/ef_Ur9AmyUo/s800/04_year_quarter_bmm.jpg
After that in fact table by using the (ago/todate) function ....pull the respective columns to pivot table columns section(date column) and measures col in measures section and enable the grand total in columns section so that it will show grand total for every quarter
thanks,
saichand.v

Similar Messages

  • Monthly FX conversion for months and quarters

    Hi,
    I have a scenario whereby my entities enter (YTD) data monthly. The FX conversion is defined with the "apply periodic" option, so it should work out the periodic change and apply the FX rate to that change. This works absolutely fine.
    I now need to add entities that only enter data on a quarterly level. If I simply let them enter data in periods MAR, JUN, SEP and DEC the FX converison won't work, since it will work out the monthly change rather than the quarterly.
    I though about in my time dimension having months (JAN to DEC) and quarters (Q1 to Q4) as base level elements all adding into the year. I would give JAN and Q1 a value of 1 for IS_BEGINNING.
    Should this work and calculate the correct FX conversion for my quarterly data?
    Thanks,
    Arnold

    Yes, it did work the way I thought

  • Crystal Report Cross Tab Report

    In crystal report 2008, i created a cross tab report. Column shows sales order number and rows show item number.
    For columns that shows sales order #, I also wanted to show sales person name field right beside it. In cross tab expert, I added the field salesperson name.
    However, crystal cross tab shows the sales person at a separate column with duplicate information. I only want to show sales order no. with sales person name under one column. Is there a way to achieve this? Thanks.

    This would be a hard job.
    Have you tried Pivot Table function in Excel? You can play with it and get some ideas.
    Thanks,
    Gordon

  • Suppressing a prior Year Month Column on Cross Tab Report

    I have two cross tab report in the footer that compares orders booked against what was shipped by month.  I need to suppress the columns (Month) for the prior year but keep the Totals.
    I have a pdf of the report

    Try to add a formula as a column in the crosstab instead of a field. Create a formula like this
    if year()=year(currentdate)-1 then
    year()
    else
    month()
    This works only for two years of data, means you need to have the record selection formula like this
    year()>=year(currentdate)-1 and year()=year(currentdate)
    Regards,
    Raghavendra

  • Unable to get cells for the columns which have no data in cross-tab report

    Hi friends,
    I am developing a cross-tab report.
    Let's take an example to explain the problem.
    Here is the XML file i am using
      <?xml version="1.0" ?>
    - <!--  Generated by Oracle Reports version 6.0.8.11.3
      -->
    - <MODULE1>
    - <LIST_G_SCHEMECODE>
    - <G_SCHEMECODE>
      <SCHEMECODE>171091</SCHEMECODE>
      <AMOUNT>0</AMOUNT>
      <ASSET_TYPE>Govt Guarantee</ASSET_TYPE>
      <MARGIN>0</MARGIN>
      <AMOUNT_SECURED>0</AMOUNT_SECURED>
      <VALUE_OF_SECURITY>0</VALUE_OF_SECURITY>
      </G_SCHEMECODE>
    - <G_SCHEMECODE>
      <SCHEMECODE>171091</SCHEMECODE>
      <AMOUNT>0</AMOUNT>
      <ASSET_TYPE>Loans To Govt</ASSET_TYPE>
      <MARGIN>0</MARGIN>
      <AMOUNT_SECURED>0</AMOUNT_SECURED>
      <VALUE_OF_SECURITY>0</VALUE_OF_SECURITY>
      </G_SCHEMECODE>
    - <G_SCHEMECODE>
      <SCHEMECODE>171093</SCHEMECODE>
      <AMOUNT>0</AMOUNT>
      <ASSET_TYPE>Govt Guarantee</ASSET_TYPE>
      <MARGIN>120</MARGIN>
      <AMOUNT_SECURED>0</AMOUNT_SECURED>
      <VALUE_OF_SECURITY>0</VALUE_OF_SECURITY>
      </G_SCHEMECODE>
    - <G_SCHEMECODE>
      <SCHEMECODE>171093</SCHEMECODE>
      <AMOUNT>0</AMOUNT>
      <ASSET_TYPE>Loans To Govt</ASSET_TYPE>
      <MARGIN>0</MARGIN>
      <AMOUNT_SECURED>0</AMOUNT_SECURED>
      <VALUE_OF_SECURITY>0</VALUE_OF_SECURITY>
      </G_SCHEMECODE>
    - <G_SCHEMECODE>
      <SCHEMECODE>*171095*</SCHEMECODE>
      <AMOUNT>0</AMOUNT>
      <ASSET_TYPE>Govt Guarantee</ASSET_TYPE>
      <MARGIN>100</MARGIN>
      <AMOUNT_SECURED>0</AMOUNT_SECURED>
      <VALUE_OF_SECURITY>0</VALUE_OF_SECURITY>
      </G_SCHEMECODE>
      </LIST_G_SCHEMECODE>
      </MODULE1>Now I want SCHEMECODE in rows and ASSET_TYPE in columns.
    And the each ASSET_TYPE column is to be divided into 2 sub-columns (MARGIN,AMOUNT_SECURED).
    I am able to achevie this.
    The problem is that ,for the schemecode 171095, since there is no data for ASSET_TYPE "Loans To Govt",no cells are generated for this SCHEMECODE and ASSET TYPE.
    But the requirement is to generate blank cells.
    If needed i will send the template at xml files also.

    try this, there must be simpler one i guess...
    1. take a form field, and make its type as number. Paste the below one <?xdoxslt:set_variable($_XDOCTX,'v1',2)?>
    2. now take a table with as below,
    A l B |
    C l D1 l D2 l E1 l E2 l
    observe that i. A, C are in one column
    ii. cell B is on top of D1, D2
    iii. we have no cell on top of E1 and E2 cells
    iv. 'l' represents the wall of the cell :)
    A: <?horizontal-break-table:1?> SCHEMECODE
    B: <?for-each-group@column:G_SCHEMECODE;ASSET_TYPE?> <?ASSET_TYPE?> <?end for-each?>
    C: <?for-each-group:G_SCHEMECODE;SCHEMECODE?> <?xdoxslt:set_variable($_XDOCTX,'v1',2)?> <?SCHEMECODE?>
    D1: <?for-each-group@cell:current-group();ASSET_TYPE?> <?MARGIN?> <?xdoxslt:set_variable($_XDOCTX,'v1',xdoxslt:get_variable($_XDOCTX,'v1')-1)?>
    D2: <?AMOUNT_SECURED?> <?end for-each?> <?end for-each?>
    E1: <?for-each@column:xdoxslt:foreach_number($_XDOCTX,1,xdoxslt:get_variable($_XDOCTX,'v1'),1)?>
    E2: <?END FOR-EACH?>
    3. If you are confused gimme your email id, i will pass the template. But you should add credits to me.. :)

  • How to count number of columns in cross-tab report

    I have created a cross-tab report and have managed to get the data out as below:
                 Jan     Feb     Mar....(display of months will auto expand) Avg/Mo  Total
    UserA     4          3        4                                                                         11
    UserB     6          1        1                                                                          8
    UserC     5          5        5                                                                         15
    Total       15        9        10                                                                        33 
    I want to insert a calculated column (Avg/Mo) into the cross-tab report based on the formula: Total/Number of Months. I used this calculation formula  for Avg.Mo column:
    (GridValueAt(CurrentRowIndex, CurrentColumnIndex+1, CurrentSummaryIndex)/GetNumColumns)
    However, I get the wrong average since GetNumColumns count the total number of columns including the column of Avg/Mo and Total.
    How do i get the number of columns, excluding the Avg/Mo calculated column and Total column?
    PS: I can't use hardcode since the number of months/columns will auto expand the months progress...
    Edited by: jutamind on May 26, 2010 9:27 AM

    ok managed to solve this by slightly changing the formula:
    GridValueAt(CurrentRowIndex, CurrentColumnIndex+1, CurrentSummaryIndex)/(GetNumColumns-2)

  • How to Add new column in cross tab reports

    I am using crystal reports 10
    I created cross tab report for monthly sales. I need to add one more column in that report
    ex:
    Month   Customer    Part1  Part2    Part3      
    Jan         A               10       12         15        
    Jan         B                20      0           10        
    Jan         C               0         3           5          
    Feb        A               5         10          8          
    Feb        D               55        23        33        
    In above data Parts are no limit, thatswhy i am taking cross tab report.
    I am taking Month and Customer name as Rows,
    Part Codes as Colums,
    Quantiry as Total fields in cross tab Report.
    Here month field is storing as Transaction date in database, I am calculating by month
    I am getting upto this.
    User needs add one more field is Invoice no
    Month   Customer    Part1  Part2    Part3        Invoice no
    Jan         A               10       12         15          B1,B2,B3,B4
    Jan         B                20      0           10         B12,B30
    Jan         C               0         3           5           B6
    Feb        A               5         10          8           B35,B40
    Feb        D               55        23        33          B25,B56
    How to add invoice nos by group wise(By customer and  By month)
    Thank you.
    Raja shekar Reddy K.
    Edited by: Raja shekhar Reddy on Apr 16, 2009 5:10 PM

    Dear Amogh,
    Thanks for u'r  Replay.
    If i use new crosstab for Invoice no each invoice number can display like seperate columns.
    But I need Invoice  no in single column with seperate with "," or "/".
    Thanks & regards,
    Raja Shekar Reddy K.

  • Help with formatting for Cross Tab Report Crystal 2008

    This is probably a simple question.  I have a cross tab report that displays sales by month for a period of 6 months.  These sales columns are formatted to be numbers with no decimals.  In addition to these columns, I have inserted columns that display the percentage up/down in sales over the previous month.  If I try to format the percentage columns, it changes every column to then display "##,##.##%" when I need to keep the sales columns at "##,###" with no decimal or percentage sign.
    1.  Is there a way to change the formatting of some of the columns but not all in a cross tab report?
    2.  If not, can I add a function that would change these in the calculation formula of the calculated member? 
    I tried to add "%" but it wants it to return a number.
    Here is the current code:
    //The calculation formula is used in place of the summaries in Calculated Members.
    // This calculation formula must return a/an Number value.
    If GridValueAt (CurrentRowIndex,CurrentColumnIndex-3,CurrentSummaryIndex) = 0 then 0 else
    ((GridValueAt (CurrentRowIndex,CurrentColumnIndex-1,CurrentSummaryIndex) -
    GridValueAt (CurrentRowIndex,CurrentColumnIndex-3,CurrentSummaryIndex)) /
    GridValueAt (CurrentRowIndex,CurrentColumnIndex-3,CurrentSummaryIndex)) * 100
    Any help is appreciated. 
    Thank you,
    Tobi

    Carl,
    Thank you for your help.  I did try your method but still couldn't get it to ignore the fact that it wanted a number.  I changed my approach a litte and managed to solve the problem.  Here is the method that I chose which managed to solve the problem.  If this is a poor way to solve it, please let me know as I am always open for new ways.
    Format Field > Number Tab > Customize > Currency  Symbol Tab
    Checked Enable Currency Symbol Fixed, changed  currency symbol to %.  This is the same thing that I did before which changes it for all columns. 
    Beside Enable Currency checkbox, I added this formula:
    // This conditional formatting formula must return one of the following Currency Symbol Constants:
    // crNoCurrencySymbol
    // crFixedCurrencySymbol
    // crFloatingCurrencySymbol
    If GridRowColumnValue("InvoiceLine.TxnDate") = Date(0,0,0) then
        crFixedCurrencySymbol  
    else
        crNoCurrencySymbol
    My added columns have a null date field so they take the currency format.  My other columns do not so they do not take the formatting.
    Thanks again for the help.
    Tobi
    Edited by: Tobi@TABeverage on Dec 2, 2009 3:58 PM

  • Dynamically color to each column in Cross-tab report

    Hello All,
    I am a newbie in Crystal report,from last few weeks, i am working on cross tab crystal report.i have a requirement to show color dynamically for each column.i am adding an attachment how i want it. i tried dynamic coloring using object field formula but it is showing red color to all data.i want red color data when in 2nd  cross tab report data is beyond upper or lower limit in first cross tab table. it will be very helpful if somebody will give me any clue on this.... i read so many articles now it seem like impossible for me..:(
    i am using visual studio 2010 and sap crystal report version 13.0.0.99 for visual studio 2010.

    Hello Manish,
    I have attached a sample report that does this. You will need to remove the .txt extension from the attached file to open it as an .rpt file.
    Please right click on one of the value fields of the first cross tab in the report > Format Field > Common > Suppress if Duplicated conditional formula.
    The nested formula is as follows;
    numbervar array l;
    numbervar array u;
    numbervar x:=CurrentColumnIndex;
    if GridRowColumnValue ('@limit') = 'lower limit' then
    (redim preserve l[x];
    l[x]:= tonumber(CurrentFieldValue))
    else if GridRowColumnValue ('@limit') = 'upper limit' then
    (redim preserve u[x];
    u[x]:= tonumber(CurrentFieldValue));
    false
    So it assigns each lower and upper limit value for each client (in the sample it is country) to an array using the cross tabs column index to index the array and it ends in False as we don't actually want it to suppress if duplicated. This nested formula is just used to generate the arrays of upper and lower values.
    In the second cross tab if you again right click on one of the value fields > Format Field > Font > Color you will see the following conditional formula;
    numbervar array l;
    numbervar array u;
    numbervar x;
    if not(tonumber(CurrentFieldValue) in l[CurrentColumnIndex] to u[CurrentColumnIndex]) then
    crred
    else
    crblack
    So this compaes the current field value to range generated by the 2 arrays and assigns a color based on whether or not it is in the range.
    Regards,
    Graham

  • Unable to convert the RDF layout to RTF Layout for cross tab report

    Hello All,
    I have a RDF, which has cross tab layout. For this I need to create RTF template.
    I have the XML file. I'm not able to get the cross tab report in RTF as RDF.
    Below is the part of XML data.
    Pleaes let me know how do i achive this.
    <?xml version="1.0" ?>
    - <!-- Generated by Oracle Reports version 6.0.8.27.0
    -->
    - <XXAQS_EXPENSE_COST_DIV>
    - <LIST_G_CS_1>
    - <G_CS_1>
    - <LIST_G_2>
    - <G_2>
    <DEPT>11100</DEPT>
    - <LIST_G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>501010000</ACCOUNT>
    <DESCRIPTION>Salaries</DESCRIPTION>
    - <LIST_G_AMOUNT>
    - <G_AMOUNT>
    <AMOUNT>100126</AMOUNT>
    </G_AMOUNT>
    </LIST_G_AMOUNT>
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>501020000</ACCOUNT>
    <DESCRIPTION>Overtime</DESCRIPTION>
    - <LIST_G_AMOUNT>
    - <G_AMOUNT>
    <AMOUNT>14811</AMOUNT>
    </G_AMOUNT>
    </LIST_G_AMOUNT>
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>501030000</ACCOUNT>
    <DESCRIPTION>Bonus</DESCRIPTION>
    - <LIST_G_AMOUNT>
    - <G_AMOUNT>
    <AMOUNT>28968</AMOUNT>
    </G_AMOUNT>
    </LIST_G_AMOUNT>
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>502000000</ACCOUNT>
    <DESCRIPTION>Allowance</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>502010000</ACCOUNT>
    <DESCRIPTION>Food Allowance</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>502020000</ACCOUNT>
    <DESCRIPTION>Housing Allowance</DESCRIPTION>
    - <LIST_G_AMOUNT>
    - <G_AMOUNT>
    <AMOUNT>15612</AMOUNT>
    </G_AMOUNT>
    </LIST_G_AMOUNT>
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>502030000</ACCOUNT>
    <DESCRIPTION>School Fees Allowance</DESCRIPTION>
    - <LIST_G_AMOUNT>
    - <G_AMOUNT>
    <AMOUNT>1249</AMOUNT>
    </G_AMOUNT>
    </LIST_G_AMOUNT>
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>502040000</ACCOUNT>
    <DESCRIPTION>Other Allowance</DESCRIPTION>
    - <LIST_G_AMOUNT>
    - <G_AMOUNT>
    <AMOUNT>1873</AMOUNT>
    </G_AMOUNT>
    </LIST_G_AMOUNT>
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>503000000</ACCOUNT>
    <DESCRIPTION>Sales Incentive and Commissions</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>503010000</ACCOUNT>
    <DESCRIPTION>Sales Incentive</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>503020000</ACCOUNT>
    <DESCRIPTION>Sales Commissions</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>504000000</ACCOUNT>
    <DESCRIPTION>Employee Expenses</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>504010000</ACCOUNT>
    <DESCRIPTION>Vacation Pay</DESCRIPTION>
    - <LIST_G_AMOUNT>
    - <G_AMOUNT>
    <AMOUNT>8636</AMOUNT>
    </G_AMOUNT>
    </LIST_G_AMOUNT>
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>504020000</ACCOUNT>
    <DESCRIPTION>Air Tickets</DESCRIPTION>
    - <LIST_G_AMOUNT>
    - <G_AMOUNT>
    <AMOUNT>5265</AMOUNT>
    </G_AMOUNT>
    </LIST_G_AMOUNT>
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>504030000</ACCOUNT>
    <DESCRIPTION>End of Service</DESCRIPTION>
    - <LIST_G_AMOUNT>
    - <G_AMOUNT>
    <AMOUNT>26367</AMOUNT>
    </G_AMOUNT>
    </LIST_G_AMOUNT>
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>504040000</ACCOUNT>
    <DESCRIPTION>Medical Expenses</DESCRIPTION>
    - <LIST_G_AMOUNT>
    - <G_AMOUNT>
    <AMOUNT>15441</AMOUNT>
    </G_AMOUNT>
    </LIST_G_AMOUNT>
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>504050000</ACCOUNT>
    <DESCRIPTION>Contract Labour</DESCRIPTION>
    - <LIST_G_AMOUNT>
    - <G_AMOUNT>
    <AMOUNT>2500</AMOUNT>
    </G_AMOUNT>
    </LIST_G_AMOUNT>
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>504060000</ACCOUNT>
    <DESCRIPTION>Recruitment Expenses</DESCRIPTION>
    - <LIST_G_AMOUNT>
    - <G_AMOUNT>
    <AMOUNT>0</AMOUNT>
    </G_AMOUNT>
    </LIST_G_AMOUNT>
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>504070000</ACCOUNT>
    <DESCRIPTION>Visas Expenses</DESCRIPTION>
    - <LIST_G_AMOUNT>
    - <G_AMOUNT>
    <AMOUNT>1625</AMOUNT>
    </G_AMOUNT>
    </LIST_G_AMOUNT>
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>504080000</ACCOUNT>
    <DESCRIPTION>Drivers Liscencs</DESCRIPTION>
    - <LIST_G_AMOUNT>
    - <G_AMOUNT>
    <AMOUNT>0</AMOUNT>
    </G_AMOUNT>
    </LIST_G_AMOUNT>
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>504090000</ACCOUNT>
    <DESCRIPTION>Traveling Expenses</DESCRIPTION>
    - <LIST_G_AMOUNT>
    - <G_AMOUNT>
    <AMOUNT>2601</AMOUNT>
    </G_AMOUNT>
    </LIST_G_AMOUNT>
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>504090100</ACCOUNT>
    <DESCRIPTION>Traveling Food</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>504090200</ACCOUNT>
    <DESCRIPTION>Traveling Car Rent</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>504090300</ACCOUNT>
    <DESCRIPTION>Traveling Hotel</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>504090400</ACCOUNT>
    <DESCRIPTION>Traveling Taxi</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>504090500</ACCOUNT>
    <DESCRIPTION>Traveling Telephones</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>504100000</ACCOUNT>
    <DESCRIPTION>Gratuity Pay</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>505000000</ACCOUNT>
    <DESCRIPTION>Permits and Liscenses</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>505010000</ACCOUNT>
    <DESCRIPTION>Permits and Liscenses - Iqama Expense</DESCRIPTION>
    - <LIST_G_AMOUNT>
    - <G_AMOUNT>
    <AMOUNT>0</AMOUNT>
    </G_AMOUNT>
    </LIST_G_AMOUNT>
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>505020000</ACCOUNT>
    <DESCRIPTION>Permits and Liscenses - Car Registration Renewal</DESCRIPTION>
    - <LIST_G_AMOUNT>
    - <G_AMOUNT>
    <AMOUNT>0</AMOUNT>
    </G_AMOUNT>
    </LIST_G_AMOUNT>
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>505030000</ACCOUNT>
    <DESCRIPTION>Permits and Liscenses - MVPI</DESCRIPTION>
    - <LIST_G_AMOUNT>
    - <G_AMOUNT>
    <AMOUNT>0</AMOUNT>
    </G_AMOUNT>
    </LIST_G_AMOUNT>
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>505040000</ACCOUNT>
    <DESCRIPTION>Company License</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>505045000</ACCOUNT>
    <DESCRIPTION>Permits and License Drivers License</DESCRIPTION>
    - <LIST_G_AMOUNT>
    - <G_AMOUNT>
    <AMOUNT>0</AMOUNT>
    </G_AMOUNT>
    </LIST_G_AMOUNT>
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>505050000</ACCOUNT>
    <DESCRIPTION>Permits and licenses-Others</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>506000000</ACCOUNT>
    <DESCRIPTION>Director's Remunerations</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>507000000</ACCOUNT>
    <DESCRIPTION>Audit Fees</DESCRIPTION>
    - <LIST_G_AMOUNT>
    - <G_AMOUNT>
    <AMOUNT>10866</AMOUNT>
    </G_AMOUNT>
    </LIST_G_AMOUNT>
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>508000000</ACCOUNT>
    <DESCRIPTION>Legal Fees</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>509000000</ACCOUNT>
    <DESCRIPTION>Professional Fees</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>510000000</ACCOUNT>
    <DESCRIPTION>Communication Expenses</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>510010000</ACCOUNT>
    <DESCRIPTION>Communication Expenses - Telephone</DESCRIPTION>
    - <LIST_G_AMOUNT>
    - <G_AMOUNT>
    <AMOUNT>748</AMOUNT>
    </G_AMOUNT>
    </LIST_G_AMOUNT>
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>510020000</ACCOUNT>
    <DESCRIPTION>Communication Expenses - Telefax</DESCRIPTION>
    - <LIST_G_AMOUNT>
    - <G_AMOUNT>
    <AMOUNT>51</AMOUNT>
    </G_AMOUNT>
    </LIST_G_AMOUNT>
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>510030000</ACCOUNT>
    <DESCRIPTION>Communication Expenses - Postage</DESCRIPTION>
    - <LIST_G_AMOUNT>
    - <G_AMOUNT>
    <AMOUNT>0</AMOUNT>
    </G_AMOUNT>
    </LIST_G_AMOUNT>
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>510040000</ACCOUNT>
    <DESCRIPTION>Communication Expenses - Mobile</DESCRIPTION>
    - <LIST_G_AMOUNT>
    - <G_AMOUNT>
    <AMOUNT>175</AMOUNT>
    </G_AMOUNT>
    </LIST_G_AMOUNT>
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>510050000</ACCOUNT>
    <DESCRIPTION>Communication expense – Satellite Connectivity</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>511000000</ACCOUNT>
    <DESCRIPTION>Stationery</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>511010000</ACCOUNT>
    <DESCRIPTION>Printing and Stationary</DESCRIPTION>
    - <LIST_G_AMOUNT>
    - <G_AMOUNT>
    <AMOUNT>0</AMOUNT>
    </G_AMOUNT>
    </LIST_G_AMOUNT>
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>511011000</ACCOUNT>
    <DESCRIPTION>IT Expense</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>512000000</ACCOUNT>
    <DESCRIPTION>Supplies</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>512010000</ACCOUNT>
    <DESCRIPTION>Operating Supplies</DESCRIPTION>
    - <LIST_G_AMOUNT>
    - <G_AMOUNT>
    <AMOUNT>3385.796</AMOUNT>
    </G_AMOUNT>
    </LIST_G_AMOUNT>
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>512020000</ACCOUNT>
    <DESCRIPTION>Lubricants Supplies</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>513000000</ACCOUNT>
    <DESCRIPTION>Rental Expenses</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>513010000</ACCOUNT>
    <DESCRIPTION>Rental Expenses - Housing</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>513020000</ACCOUNT>
    <DESCRIPTION>Rental Expenses - Warehouses</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>513030000</ACCOUNT>
    <DESCRIPTION>Business Promotion - Rental Signage</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>513040000</ACCOUNT>
    <DESCRIPTION>Rental Expenses - Vending Machines</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>513050000</ACCOUNT>
    <DESCRIPTION>Rental Expenses - Municipality</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>513051000</ACCOUNT>
    <DESCRIPTION>Rental Expenses - Signage</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>513060000</ACCOUNT>
    <DESCRIPTION>Rental Expenses - Other</DESCRIPTION>
    - <LIST_G_AMOUNT>
    - <G_AMOUNT>
    <AMOUNT>0</AMOUNT>
    </G_AMOUNT>
    </LIST_G_AMOUNT>
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>514000000</ACCOUNT>
    <DESCRIPTION>Motor Vehicle Expenses</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>514010000</ACCOUNT>
    <DESCRIPTION>Motor Vehicle Expenses - Repairs and Maintenance</DESCRIPTION>
    - <LIST_G_AMOUNT>
    - <G_AMOUNT>
    <AMOUNT>883.381</AMOUNT>
    </G_AMOUNT>
    </LIST_G_AMOUNT>
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>514020000</ACCOUNT>
    <DESCRIPTION>Motor Vehicle Expenses - Fuel and Oil</DESCRIPTION>
    - <LIST_G_AMOUNT>
    - <G_AMOUNT>
    <AMOUNT>50</AMOUNT>
    </G_AMOUNT>
    </LIST_G_AMOUNT>
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>514030000</ACCOUNT>
    <DESCRIPTION>Motor Vehicle Expenses - Rep and Maint - Outside Job Orders</DESCRIPTION>
    - <LIST_G_AMOUNT>
    - <G_AMOUNT>
    <AMOUNT>150</AMOUNT>
    </G_AMOUNT>
    </LIST_G_AMOUNT>
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>514040000</ACCOUNT>
    <DESCRIPTION>Motor Vehicle Expenses - Others</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>515000000</ACCOUNT>
    <DESCRIPTION>Insurance</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>515010000</ACCOUNT>
    <DESCRIPTION>Insurance - Fire Insurance</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>515020000</ACCOUNT>
    <DESCRIPTION>Insurance - Workmen Compensation</DESCRIPTION>
    <LIST_G_AMOUNT />
    </G_ACCOUNT>
    - <G_ACCOUNT>
    <ACCOUNT>515030000</ACCOUNT>
    <DESCRIPTION>Insurance - Fidility Insurance</DESCRIPTION>
    - <LIST_G_AMOUNT>
    - <G_AMOUNT>
    <AMOUNT>900.61</AMOUNT>
    </G_AMOUNT>
    ---------------------------------------------------------------------------------

    try this, there must be simpler one i guess...
    1. take a form field, and make its type as number. Paste the below one <?xdoxslt:set_variable($_XDOCTX,'v1',2)?>
    2. now take a table with as below,
    A l B |
    C l D1 l D2 l E1 l E2 l
    observe that i. A, C are in one column
    ii. cell B is on top of D1, D2
    iii. we have no cell on top of E1 and E2 cells
    iv. 'l' represents the wall of the cell :)
    A: <?horizontal-break-table:1?> SCHEMECODE
    B: <?for-each-group@column:G_SCHEMECODE;ASSET_TYPE?> <?ASSET_TYPE?> <?end for-each?>
    C: <?for-each-group:G_SCHEMECODE;SCHEMECODE?> <?xdoxslt:set_variable($_XDOCTX,'v1',2)?> <?SCHEMECODE?>
    D1: <?for-each-group@cell:current-group();ASSET_TYPE?> <?MARGIN?> <?xdoxslt:set_variable($_XDOCTX,'v1',xdoxslt:get_variable($_XDOCTX,'v1')-1)?>
    D2: <?AMOUNT_SECURED?> <?end for-each?> <?end for-each?>
    E1: <?for-each@column:xdoxslt:foreach_number($_XDOCTX,1,xdoxslt:get_variable($_XDOCTX,'v1'),1)?>
    E2: <?END FOR-EACH?>
    3. If you are confused gimme your email id, i will pass the template. But you should add credits to me.. :)

  • How to make cross Tab report for SAP B1

    Hello and Hi
    i trying to make cross tab report for SAP B1 but test column not appera in
    File >>New >>Cross Tab Report  start cross tab report creation wizard select database name and table
    but only numeric columns appear in available column fields , how will appearall fields including test fields..

    i got solution
    thanks google
    memo type field will not apper in list .use bellow  statment to convert in interger or char type
    convert(int,U_Dist_Sr_No) AS Dist_Sr,            CAST(U_Dist_Name AS varchar(250)) AS Dist_Name,

  • More than one summary column in cross tab reports

    Hi,
    I have a cross tab report.  The summary column is SUM. I want to add another summary column next to SUM which will be AVG(Average) column.
    Any ideas?
    Please see the attached image.
    Thanks,

    hi Anurag,
    my fault...i should have looked closer at your data.
    here's the easy way of showing two sets of summaries at the end of a crosstab, without having duplicate columns.
    1) copy your existing cross-tab and paste it to the right of your current cross-tab.
    2) now go to the cross-tab expert of the new cross-tab and remove the fields from the Column dialogue
    3) change the summary to an Average
    4) exit the cross-tab expert and go to the Section Expert for the section where both cross-tabs are...ensure that you check Relative Positions
    preview the report. now you'll have to move the 2nd cross-tab a bit so that it aligns properly with the first one.
    as a sample, see the attached report. extract the contents and change the .txt extension to .rpt.
    -jamie

  • Sorting by date in columns cross tab report.

    Hi all,
    I am working on a cross tab report in BI Publisher in which columns are generated dynamically in a pivot table depicting months as Jan 09 , Feb 09.... but data type is char.When displayed in pdf, columns are generated sorted alphabetically.
    How can I have them sorted by date in final pdf?
    or
    How can I stop the columns being sorted in pivot table at template level?
    Thanks.
    Edited by: user9061488 on Jul 21, 2010 1:13 AM

    You need to get a extra column in the query just for sorting purpose, which will have month number in it or YYYYMMDD. format, so that , it can be used in only for sorting.
    with JAN 09, FEB 09 , we can do it, but it will be little complex

  • SORTING FOR THE CALCULATION FIELD IN CROSS TAB REPORT

    LIST_G_AUCTION_TITLE>
    <G_AUCTION_TITLE>
    <BID_NUMBER>5002</BID_NUMBER>
    <AUCTION_TITLE>E2E-01 Construction RFQ</AUCTION_TITLE>
    <ITEM_NUMBER>C2631</ITEM_NUMBER>
    <ITEM_DESCRIPTION>4G000,000,0STRUC,X,SPECIAL STRUCTURE</ITEM_DESCRIPTION>
    <ESTIMATED_QTY>1</ESTIMATED_QTY>
    <UNIT>LS</UNIT>
    <QUOTE_PRICE>400</QUOTE_PRICE>
    <ESTIMATED_QUOTE_PRICE>400</ESTIMATED_QUOTE_PRICE>
    <SUPPLIER>X - L CONTRACTING</SUPPLIER>
    my xml data is in this format, i created a cross tab report for ITEM_DESCRIPTION as row and SUPPLIER as column and calculated a sum(ESTIMATED_QUOTE_PRICE)
    for all the ITEM_DESCRIPTION for every SUPPLIER in templete . now i need to sort the data by sum(ESTIMATED_QUOTE_PRICE) from lowest to higest from left to right , that is supplier with lowest sum(ESTIMATED_QUOTE_PRICE) should display first from left to right.
    can any one help thanks in advance.

    thank you tim , for asking i got the solution. it is actually in template builder i was asking about. xml template builder

  • Adding a column to a cross tab report?

    Hi,
    I have a cross tab Report having measures and i want to add a one xtra column to it to display the "total values'.
    i found the option to insert a row. but i didn't find it for a column.
    can u please help me on this?

    Add a Summary

Maybe you are looking for

  • Hp laserjet 1005 series printer drivers

    hp laserjet 1005 series printer drivers

  • Select query to select a column named NUMBER

    Hi all, I have a table which is having a COLUMN NAME as NUMBER whose DATA TYPE is VARCHAR2(90 BYTE). How should I select the column named NUMBER. I am trying the sql query through SQL Developer. I tried with following options. 1) select NUMBER from t

  • Send OLE2_OBJECT to spool

    Hi, I'm generating a Word document with an OLE2_OBJECT, but I want to print it to the spool instead of download it and then manage the spool order. How can I do this? Thanks in advance, Jordi

  • IPhone 4 sync problems - adds 60,000 blank contacts and calendar hangs

    Since the beginning of this week my iPhone 4 has stopped syncing properly. It adds 60,000 blank contacts to my computer (which take hours to delete) and then completely hangs when it gets to the calendar sync. I left it syncing overnight and it was s

  • CS4 Rectangular Marqee & Guides Bugs Identified

    One of the first things I noticed upoin upgrading was that any rectangular marquee selection appears 1 pixel to the right of the pixel snap point. Interestingly, guides brought in with snap-to-pixel appear just to the left (x-plane) or above (y-plane