Running Total Grand Total of the columns of the report BEEP
HelloI was getting NaN on my totals using the set_variable/get_variable below:
<? xdoxslt:set_variable ($_XDOCTX, 'VAR1', sum (ssGroup))? >
<? xdoxslt:get_variable($_XDOCTX,_'VAR1')? >
I also need help on getting my corrected where grouping the following grouping:
ssOwnedBy
-ssImageType
It must be grouped by ssOwnedBy then ssImageType and Totaled by ssOwnedBy and a Grand Total at the bottom.
But the problem is that the ssImageType shows several lines, where it should appear only once shown below:
FULLTEST < ssOwnedBy >
-Claim 1 2 1
-ME 2 1 3 package
-2 1 3 passive patient
Total 5 4 7
DCA0970 < ssOwnedBy >
-ME 1 3 2 package
1 3 2-total
Grand Total 6 7 9
Can someone please?
Thank you
Can you send me the template RTF and xml to [email protected]? I can take a look and try to help.
Thank you
BIPuser
Tags: Business Intelligence
Similar Questions
-
How to submit the report BEEP using the CONCSUB utility
Hi all
I presented the report BEEP using the Concsub utility. But I got the xml instead of PDF output.
I found that the page layout is not attached with this concurrent program.
Please guide me how to add the layout with this simultaneous program when sending through CONCSUB.
Kind regards
Karim
Published by: karim on November 5, 2012 13:32Ok
I tried and I can't say how it works, but there work ;)
step by step for r12
-create a XXAND17 cp
-create data XXAND17 definition
-create the XXAND17 model[oracle@oebs out]$ CONCSUB APPS/APPS FND 'Application Developer' SYSADMIN WAIT=N CONCURRENT FND XXAND17 Submitted request 9915625 for CONCURRENT FND XXAND17
cd $APPLCSF/$APPLOUT
and see the o9915625.out to open it and it's xml data. then ok
[oracle@oebs out]$ CONCSUB apps/apps FND 'Application Developer' SYSADMIN WAIT=N CONCURRENT XDO XDOREPPB Y 9915625 0 XXAND17 en N RTF RTF Submitted request 9915626 for CONCURRENT XDO XDOREPPB Y 9915625 0 XXAND17 en N RTF RTF
See o9915626.out open it and it isn't xml
It looks like word doc{\rtf1\ansi\deff0 {\fonttbl {\f0 Arial;} {\f1 Times;} {\f2 Courier New;} {\f3 Calibri;} } ...
copy on the local computer and rename it to o9915626.rtf
opened by the word and she is out as well reportso conclusion:
XDOREPPB works fine but not rename output way output format (rtf in my case)If this is a bug or a profile must be defined
-Add
SQL> select LOGFILE_NAME, OUTFILE_NAME from fnd_concurrent_requests r 2 where request_id in (9915625, 9915626) 3 / LOGFILE_NAME OUTFILE_NAME -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- /oracle/VIS/inst/apps/VIS_oebs/logs/appl/conc/log/l9915625.req /oracle/VIS/inst/apps/VIS_oebs/logs/appl/conc/out/o9915625.out /oracle/VIS/inst/apps/VIS_oebs/logs/appl/conc/log/l9915626.req /oracle/VIS/inst/apps/VIS_oebs/logs/appl/conc/out/o9915626.out SQL> select * from fnd_conc_req_outputs where concurrent_request_id in (9915625, 9915626) 2 / CONCURRENT_REQUEST_ID OUTPUT_ID FILE_TYPE FILE_NAME FILE_NODE_NAME FILE_SIZE ACTION_TYPE FILE_CREATION_DATE --------------------- ---------- ------------------------------ -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- ---------- ----------- ------------------ SQL>
=/
Published by: Alexandr on 8 November 2012 06:28
-
Hello
I have a report that I use sum for one of the columns in the report.
By checking the sum of a column in the report, I had the amount for this column and the full name of this line as "total report. I want to change the name to something.
Where can I do this?
Please notify.
Thank you.Enter the total title in the property "Display this text when you print the report sums" in the section Break formatting attributes report. (It works if the report has breaks or not).
-
run a process can generate the report
Hello
IAM view a report about a skillbuilder popup when you click on the button which is working properly, but now I need help on how to run a process first (even with the application process) and then only when the process terminates the report should be rendering/display. Can someone please help with that? I tried a few jquery, but it never came close.
Apex 4.1/2.
Thank you.
Well he took years but finally resolved with ondemand spinning process. .. concerning
-
Position of the parameter in the report BEEP
Hello
I created a few settings. Those are automatically shown on the display of default report page in some postions. What I need is to adjust the settings on the screen to my postions convinient.
Can anyone help?
Thank you and best regards,
AjayThat's exactly my case. There are NO options to customize the control area of the State of BEEP (where are the filters). There is NO way to change the look-and-feel of reports online Viewer!
In my case we moved to dashboards (user defined report via the quick dashboard settings), but that is another issue...
OBIEE - integration of the Editor (selection multiple value via the presentation to)It's really incomprehensible why OBI is so expensive and so bad!
Published by: beloblotskiy on March 4, 2011 02:37
-
Totals on calculated columns does not work properly
Hi all
IM creating column calculation in MDB something like this, {CASE WHEN SUBSTRING (DEPT of 2 for 1) = 'Y' THEN END of ANOTHER SALARY 0}. And in response using the same column to display in the report, it does correctly. When I tried to put in the Grand Total I don't see the correct totals on the report.
Can someone help me on this please.
Thank youHi user7417334,
How did you define this measure? Did you do in the general tab (' logical use existing columns as source ")? If so, try to specify it instead on the Data Type tab.
(1) uncheck "use logic existing columns...". »
2) click the Data Type tab
3) double-click your physical source
(4) in the new box, make sure "Display unmapped columns" is checked
5) click on the button next to your new column name
(6) specify your formula here
7) click OK until you return to the window of Data Type
8) click the aggregation
(9) set the SUM aggregation
(10) save RPD and recheck your report.Best regards
-Joe
-
Running total - analytic function
I wanted to get the running total for yr_total column based on acc_num, month, year, month_total ACC_NUM MONTH YEAR MONTH_TOTAL YEAR_TOTAL ---------- ---------- ---------- ----------- ---------- 1 1 2008 10 10 1 2 2008 12 22 1 3 2008 0 22 1 4 2008 11 33 2 1 2008 20 20 2 2 2008 10 30 2 3 2008 10 40 2 4 2008 0 40 2 5 2008 0 40 3 1 2008 20 20 3 2 2008 10 30 3 3 2008 10 40 3 4 2008 0 40 3 5 2008 20 60
Look at the second post Rob, you need a dummy WHEN NOT APPARIES:
when not matched then insert (acc_num) values (null)
Add at the end of the merger.
-
Hi experts,
Need your expert helping hand for one of the reports that I am currently working.
This report runs every hours 12:00, 13:00... so now and the requirement is to produce hourly running Total of Stock_Shortages.
From now on, I had an obligation to produce just the hourly figures for which I used the following query
SELECT
TO_CHAR (SALES_ORDER_HEADER. SOH_DATE_RELEASED, ' dd/mm/yyyy') as RELEASED_DATE,
substr (to_char (SALES_ORDER_HEADER. (SOH_TIME_RELEASED, "HH24:MI:SS"), 1, 2) as RELEASED_TIME,
SOH_CLASS as a CLASS,
County (SALES_ORDER_HEADER. SOH_ORDER_NO) as Stock_Shortage
Of
COM SALES_ORDER_HEADER SALES_ORDER_HEADER
WHERE
SOH_STATUS = ' 05 "
AND SOH_DATE_RELEASED = TRUNC (SYSDATE)
AND substr (to_char (SALES_ORDER_HEADER. (SOH_TIME_RELEASED, "HH24:MI:SS"), 1, 2) < substr (to_char(sysdate,'HH24:MI:SS'), 1, 2)
GROUP BY
TO_CHAR (SALES_ORDER_HEADER. SOH_DATE_RELEASED, ' dd/mm/yyyy'),
substr (to_char (SALES_ORDER_HEADER. (SOH_TIME_RELEASED, "HH24:MI:SS"), 1, 2).
How can I change this query to display a running total of the Stock_Shortage at the end of each hour?
Plssss help...post some sample data (INSERT INTO...)
with CREATE TABLE...
It must be addressed using the analytical functions, something like
SUM(stock_shortage) over (order by trunc (datecol, 'hh'))
-
I have a procedure that uses utl_file.put_line to write data to a text file.
My loop looks like:
For R in
(Select...)
Of...
Where...)
Loop
UTL_FILE.put_line...
UTL_FILE.put_line...
End loop;
I need to get a total in the amount charged in the loop. I declare a variable that keeps a running total of the individual invoiced amounts and call it in my utl_file.putline?
Please help thanks in advanceI suggest that you declare a variable
var_x number: = 0;
Loop
UTL_FILE.put_line...
UTL_FILE.put_line...
var_x: = (var_x + rec.field); -your select query
End loop; -
Deleting lines that do not meet the IF condition in the report of BEEP
Hello
We must be able to remove lines of our CRI BEEP that does not meet the conditions IF that causes the report BEEP to have hundreds of blank pages.
I tried the code @INLINES on the foreach and IF statements, without result.
Can someone help us please with it?
Thank youCheck your Inbox that I sent that you updated model as long as you need.
-
Total of a column when the check box is selected in table form
Hi all
Total of a column when the checkbox is enabled in the form of tables, but is not work, help
Tabular form - count Qty Checked
My credentials for my worksapce:
https://Apex.Oracle.com/pls/apex/
Workspace: GB
USERNAE: [email protected]
PASSWORD; GB
Thank you.
Kind regards
GB
Hi user13028844,
user13028844 wrote:
Please change your login username of "user13028844" to something meaningful. Reference: Video tutorial how to change username available
The second button is a javascript function call, which is not a summary. the javascript function has a problem
This function has the problem help me correct, whereas we can summarize the amount of lines checked
I have made changes to your page. Check the "Display of Javascript" button, now it shows the correct amount for active items.
Made the following changes:
- The following are removed from the section "run when Page Loads:
Declare p_qty number; p_total_qty number := 0 ; Begin for i in 1..APEX_APPLICATION.G_F01.COUNT LOOP select nvl(qty,0) qty into p_qty from DURATION where id = to_number(APEX_APPLICATION.G_F01(i)); p_total_qty := p_total_qty + p_qty; end loop; --htp.prn(p_total_qty); htp.prn(''); apex_application.g_print_success_message := 'Checked total qty:'||p_total_qty ; End;
NOTE: The section "run when Page Loads" is intended for JavaScript code to perform the loading of the Page and NOT PL/SQL code.
- The following code removed from the section "Header HTML":
This code was going nowhere, so removed and replaced with code below.
- Added the following code in the section "function and Global Variable declaration:
function enableButton() { // code goes here } function total_checked() { var total = 0; var qty = 0; $( 'input[name="f01"]' ).each(function() { if ( $(this).is(':checked') ){ qty = $(this).closest('tr').find('td[headers="quantity"]').text(); total += parseFloat(qty); } }); alert("Checked Total Quantity : " + total); }
Your APEX_ITEM. BOX calls a JS "enableButton" function, but it has no definition, dummy definition so added.
Kind regards
Kiran
-
Total of the values of the columns in the adf
Hello
I use JDev 11.1.2.4.
I put in place a total of a column (order amount) in my OrderDetailVO this link posted by ADFInsiderEssentials (to implement a total using Oracle ADF - ADF Essentials Insider)
http://www.YouTube.com/watch?v=HnxtkInjv6c
by creating a temporary variable, value TotalAmount defining the expression groovy as OrderDetail1.sum("OrderDetailAmount==null?0:OrderDetailAmount")
But my requirement is a little different. In fact, I want to save this value in the Order_Header database table.
I tried to overried Commit method as follows
ADFUtils.setBoundAttributeValue ("Amount", OrderDetailAmount.getValue ()); BindingContainer links = getBindings(); OperationBinding operationBinding = bindings.getOperationBinding ("Commit"); Object result = operationBinding.execute (); but I am getting following error when I save the recording a couple of times.
oracle.jbo.RowInconsistentException: Houston-25014: another user has modified the line containing oracle.jbo.Key [1 primary key].
any ideas?
Thank you
HI Emmar
so you can go back on the same line, after validation and run
and Yes also think that suggests, Timo Hahn
Thank you
-
How to query the total number of columns and lines filled with data?
How to get the number of rows and columns in Exel file data using Excel report?
Since you have posted this question in the forum of LabWindows/CVI, I guess you want to know how to do with CVI.
You need to know how to open and activate the Excel data file.
Depending on the function returns the total number of columns and lines col_count row_count, respectively.
-----------------------------------------------------------------------------------------------------------------------------------------
int CountColumnsAndRows (void)
{
Error HRESULT = 0;
CAObjHandle rangeCurrentRegionHandle = 0;
CAObjHandle rangeColumnsHandle = 0;
CAObjHandle rangeRowsHandle = 0;
unsigned long col_count = 0, row_count = 0;
Must use the 'A1' property and CruuentRegion count the total of columns and lines, including the drafts!
error = CA_VariantSetCString (& MyCellRangeV, 'A1');
error = Excel_WorksheetRange (ExcelWorksheetHandle, NULL, MyCellRangeV, CA_DEFAULT_VAL, & ExcelRangeHandle);
If (error<0) goto="">0)>
error = Excel_GetProperty (ExcelRangeHandle, & ErrorInfo, Excel_RangeCurrentRegion, CAVT_OBJHANDLE, & rangeCurrentRegionHandle);
If (error<0) goto="" error="">0) >
error = Excel_GetProperty (rangeCurrentRegionHandle, & ErrorInfo, Excel_RangeColumns, CAVT_OBJHANDLE, & rangeColumnsHandle);
If (error<0) goto="" error="">0) >
error = Excel_GetProperty (rangeColumnsHandle, & ErrorInfo, Excel_RangeCount, CAVT_LONG, & col_count);
If (error<0) goto="">0)>
error = Excel_GetProperty (rangeCurrentRegionHandle, & ErrorInfo, Excel_RangeRows, CAVT_OBJHANDLE, & rangeRowsHandle);
If (error<0) goto="" error="">0) >
error = Excel_GetProperty (rangeRowsHandle, & ErrorInfo, Excel_RangeCount, CAVT_LONG, & row_count);
If (error<0) goto="">0)>Error:
CA_VariantClear (& MyCellRangeV);
CA_VariantClear (& MyVariant);
ClearObjHandle (& ExcelRangeHandle);
ClearObjHandle (& rangeCurrentRegionHandle);
ClearObjHandle (& rangeColumnsHandle);
ClearObjHandle (& rangeRowsHandle);
If (error<>
ReportAppAutomationError (error);
error return;
} -
Add Total running to the report of the Group
Hello
I have the following sql for a report (date_booked is of type varchar)
SELECT TO_CHAR (TO_DATE(date_booked,'dd.mm.yyyy'), 'MM') month_booked, sum (costs)
Of ang_project_costs
TO_CHAR Group (TO_DATE (date_booked, 'dd.mm.yyyy'), 'MM')
order by to_number (TO_CHAR (TO_DATE (date_booked, 'dd.mm.yyyy'), 'MM'))
I want to display a running total for each month
Can you please indicate
Concerning
Gus
Hello
Did you mean something like below.
SELECT month_booked, total, SUM (total) OVER (ORDER BY ROWNUM ASC) Running_Total FROM (WITH ang_project_costs AS (SELECT SYSDATE AS date_booked, 10 AS costs FROM DUAL UNION ALL SELECT SYSDATE - 30 AS date_booked, 20 AS costs FROM DUAL UNION ALL SELECT SYSDATE - 60 AS date_booked, 40 AS costs FROM DUAL) SELECT TO_CHAR (TO_DATE (date_booked, 'dd.mm.yyyy'), 'MM') month_booked, SUM (costs) total FROM ang_project_costs GROUP BY TO_CHAR (TO_DATE (date_booked, 'dd.mm.yyyy'), 'MM') ORDER BY TO_NUMBER ( TO_CHAR (TO_DATE (date_booked, 'dd.mm.yyyy'), 'MM')))
Kind regards
Cool
-
How to get the total of a column in php
I have a php MySQL database that stores the bills paid, I need to show all of the column that stores the individual payments
what I have so far
$colname_rsProperty = "-1";
If (isset($_GET['recordID'])) {}
$colname_rsProperty = $_GET ["recordID"];
}
@mysql_select_db ($database_hostprop, $hostprop);
$query_rsProperty = sprintf ("" SELECT * FROM host_editprop, host_editpropUtil, host_editpropUtilComp WHERE host_editprop.prop_id = AND host_editpropUtil.prop_id = host_editprop.prop_id AND host_editpropUtilComp.utilID = host_editpropUtil.UtilPropNameID %s ", GetSQLValueString ($colname_rsProperty,"text")");
$query_limit_rsProperty = sprintf ("%s LIMIT %d, %d", $query_rsProperty, $startRow_rsProperty, $maxRows_rsProperty);
$rsProperty = mysql_query ($query_limit_rsProperty, $hostprop) or die (mysql_error ());
$total = 0;
$total += $row_rsProperty ["utilityAmount"];
the host_editpropUtil column is called utilityAmount
and the individual amounts are the echoes of
<? PHP echo DoFormatCurrency ($row_rsProperty ['utilityAmount'], 2, ','.', ' £');? >
and I want to put the total at the end of these
and just an echo of the total need
<? PHP echo $total? >
This is just to show the first value in the table
Thanks in advance
got it to work
$colname_rsProperty = "-1";
If (isset($_GET['recordID'])) {}
$colname_rsProperty = $_GET ["recordID"];
}
@mysql_select_db ($database_hostprop, $hostprop);
$query_rsProperty = sprintf ("" SELECT * FROM host_editprop, host_editpropUtil, host_editpropUtilComp WHERE host_editprop.prop_id = AND host_editpropUtil.prop_id = host_editprop.prop_id AND host_editpropUtilComp.utilID = host_editpropUtil.UtilPropNameID %s ", GetSQLValueString ($colname_rsProperty,"text")");
$rsProperty = mysql_query ($query_rsProperty, $hostprop) or die (mysql_error ());
$row_rsProperty = mysql_fetch_assoc ($rsProperty);
$totalRows_rsProperty = mysql_num_rows ($rsProperty);
@mysql_select_db ($database_hostprop, $hostprop);
$query_rsSum = sprintf ("SELECT host_editpropUtil.utilityAmount, host_editprop.prop_id, host_editprop, host_editpropUtil.prop_id FROM host_editpropUtil WHERE host_editpropUtil.prop_id = host_editprop.prop_id AND host_editprop.prop_id = %s", GetSQLValueString ($colname_rsProperty, "text") ");
$rsSum = mysql_query ($query_rsSum, $hostprop) or die (mysql_error ());
$totalRows_rsSum = mysql_num_rows ($rsSum);
$grandTotal = 0;
Use a loop here
{If ($row_rsSum = mysql_fetch_assoc ($rsSum))
$grandTotal += $row_rsSum ["utilityAmount"];
$row ['utilityAmount'] ;// and view the contents of the line
$row ['SUM (utilityAmount)'; / / and display the contents of the line
}
Maybe you are looking for
-
Do you really need to uninstall ATI Catallyst to upgrade to win 7 of win Vista on a dv4-1220us not
-
Satellite 2140cds MEMORY UPGRADE PROBLEMS
I currently own a 2140CDS satellite with 32 MB of ram standard. I bought a module of memory of 128 MB (128 MB 144pin SODIMM PC100 3.3V CL = 2) of technology crucial to take my ram up to the maximum of 160 MB. When I install the RAM, the computer does
-
Satellite Pro L300 - can I use the E partition space for other files
the partition E drive HARD drive on my laptop is only 20% used.Can I use free space for storage of things like photos?
-
How can I activate java on BDV-N990W?
I can't watch video clips from youtube on my java cause system are not enabled. How can I do? Thank you
-
What is the problem with Windows Media Player. ??.
On all the different media players that are coming, why is not what windows seem satisfied to improve and or upgrade (A), it is the User Interface, the plug-in and tools table. (B) Pourquoi not give it the codecs for FLV files? More... He struggles w