Break formatting and number format of SUM value
Where can I put number formatting functio, which will format breaking sum values...like:
to_char(#SUM_VALUE#,'fmt 999G999G999G990')....maybe this thread is somewhere posted, but I cannot find it.
Next, how to exclude showing reports total at the end of report?
Is there any working demo to see some hints...
THX!
Message was edited by:
Funky
Hello Damir,
"Maybe a hint for feature releases to have an option to disable total report sum on column …"There is a relative simple workaround, which will allow you exclude or highlight (style) this total report sum line, as you can see in here - http://htmldb.oracle.com/pls/otn/f?p=22710:10
In the Report Attribute page, I'm using the Break Formatting section first field "Display this text when printing report sums" - http://i10.tinypic.com/4ie8ck5.png .
If you want to exclude this line, you should use the same color as your cell background. For the example page, the code is looking like this:
<div id="FinalSum"><script type="text/javascript">var lastRow=html_CascadeUpTill('FinalSum','TR'); lastRow.style.color='#f7f7e7';</script></div>If, on the other hand, you want to highlight the line, or use any other CSS attribute style available, the code would look something like this:
<div id="FinalSum1"><script type="text/javascript">var lastRow=html_CascadeUpTill('FinalSum1','TR'); lastRow.style.backgroundColor='#CCCC99';</script>Total Report Sum</div> Regards,
Arie.
Similar Messages
-
Date format and number format- need help
Hi everyone,
I'm working with JDeveloper10.1.2, struts and uix pages.
I have 2 problems:
1 - I have a field of type date in my uix page and the format is like this='24-Jun-2006', but I need to change this format to be '2006/06/24'.
2 - I have an attribute of type number(salary) and when I drag and drop this attribute from the DataControl Pallete and run the project, in the uix page I see a number, for example: salary = '123456', but I should see salary = '123.456,00'.
And when I write, for example '123.456,00', when I commit this value, I should see in my DataBase something like this '123456,00'.
I alredy tried to change the attribute properties in the Entity Object but without success. :(
Can anyone help me with this problems?
Thanks,
Atena
Message was edited by:
Atenand when I write, for example '123.456,00', when I
commit this value, I should see in my DataBase
something like this '123456,00'.Sorry I replied before thinking about the problem. You will not see the value in the db as such, the db will show the values differently depending on the session settings.
The values will only show up as such in the form. To see them such in the db do:
alter session set nls_date_format='yyyy.mm.dd'
for the date and
alter session set nld_number_format='0.00'
for the number -
Hello,
Is there any possibility to change the date or number in HANA? Is it possible for a user to see amounts in the data preview as e.g. 12.000,50 vs. 12,000.50 ?
What about a similar question concerning the date format?
Thanks,
IngoHi Ingo
the date/number format completely depends on the client you are using to display the data.
In SAP HANA studio, you can switch on/off output formatting :
However, this will use the local locale formatting preferences.
For more control on the formatting a proper reporting tool is required.
- Lars -
A question about date and number formats
Hi,
I have to change date and number formats from USA to UK format. Is the only place I must do that in user settings (SU01) ? I mean, is this enough or are there any other customizing settings, in FI for example ?
Thanks in advance,
PauloI tested very much and the only place we should set it is on user settings
-
Hi Guys
Is anybody aware of an equivalent of ISO 8601 that deals with Currency and Number formats?
ThanksThanks John
My original question was a little ambiguous. What I'm really asking is whether, as with 8601, there is an agreed standard way of expressing numbers, (including currency). For instance, is there an 'approved' sign for indicating the start of the decimal portion, ('.' or ',')?
The application already makes use of the various formatting utilities and ResourceBundles but I've been asked to investigate if there is an ISO specification that we should default to, (rather than just UK English). As I'm sure anybody who has used their site will appreciate, it is not overly simple to establish the existence and contents of a standard ;->
Thanks in advance
J -
Difference between deploying oracle report in RDF format and REP format
Hi All,
Good Day!!!
We are frequently encountering report failures in our production environment with the error message "REP-1247: There exist uncompiled program unit(s)"
But the report executes successfully in the next try and the issue is intermittant. In production the reports are deployed in RDF format.
So in our test environment we tried of deploying the reports in REP foramat and we cant find any errors.
Is there Difference in deploying oracle report in RDF format and REP format?
Is there any diffence in execution?
Your inputs will be much appreciated!!!
Thanks in Advance,
JKHi,
REP is to RDF what FMX is to FMB, MMX is to MMB, etc.
Only difference here is that if you deploy RDF, not REP, then the RDF is compiled at runtime by Reports Engine and then executed. In other words, if REP is deployed then it is straightway execute.
That should explain all your observations.
Cheers.
PS: Please post Oracle Report queries on {forum:id=84} forum.
Edited by: Prabodh on Jul 20, 2012 4:54 PM -
Paragraph format and character format in script
hi expects,
what is the difference between paragraph format and character format in script?Hi Rohit,
Paragraph formats control the formatting of paragraphs in SAPscript whereas Character formats are used for text formatting within paragraphs.
Character formats will have Standard attributes like Bold, Italic, Underline, Font family, Font size etc.
Paragraph formats will standard attributes of Character formats and in addition to this, they will margins, Indents, tabs, Alignments, Line spacing and delimeters.
Check this link for Paragraph formats
http://help.sap.com/saphelp_47x200/helpdata/en/d1/802e02454211d189710000e8322d00/content.htm
Check this link for Character formats
http://help.sap.com/saphelp_47x200/helpdata/en/d1/802e43454211d189710000e8322d00/content.htm
Thanks,
Vinay -
List all of the existing column and there column format and data format?
Hello Gurus,
I am new to OBIEE and i have a requirement to verify the column format and data format for all of the existing column while generating a analysis report. Is there any way i can list down all of the columns which are exposed and list there column format and data format?
For checking the individual column properties i know there is an option called 'Column Properties' but want to know all in once go.
Kindly help me and thanks in advance.
ThanksI don't think you have anything in answers to get that, Go to Repository and Utilities -> Generate Metadata Dictionary that will give columns and datatype.
Award points if it helps
~Srix -
Applying date and number format mask
I have specified a date format for an attribute and a number format for another attribute of an entity object using Entity Object Editor - Control hints for the attributes.
The date format is:
Format type: Simple Date
Format: dd.MM.yyyy
The number format is:
Format type: Currency
Format: 0,000.00 km
When using <c:out value="${bindings.MyDate}"></c:out> the format mask for the date is applied and it looks good, but when using
<c:forEach var="Row" items="...">
<c:out value="${Row.MyDate}"></c:out>
</c:forEach>
the format mask is not applied.
When it comes to the number format it is not applied no matter what I use.
I have tried setting the format for the view object attributes as well but the result is the same. How do I make this work?Can it have something to do with <html:form> ? Since it works using <c:out value="${bindings.MyDate}"></c:out> inside a html:form.
-
List of Number format and Date format according to the Locales
Hallo everyone.
I am searching for a list or document which includes the number and date formats according to the country locales. Where can I find sort of document?
Another question: Where can I find the all parameters of swing.properties file?"Date - allows the user to enter a date as a parameter. Note that the data type must also be "Date" and the format must be Java date format."
Page 4-9, Adding Parameters and Lists of Values
Oracle® Business Intelligence Publisher
Report Designer's Guide
Release 10.1.3.4
Part No. E12187-01 -
Hi All
I am getting data from RFC and able to bind it into table. Now I want to format date and numbers into user logged in format. i.e. If user enters country as Germany while registration,date format should be European in table displayed otherwise it should be US format.
Can any one suggest me how to do it?Thanks for your your Help Abhilash. I slightly changed code and now its working. I think this is almost same thing that you discussed.You can see code below.
Can you help in working with Number format also? I am getting number format exception. String returned when RFC executed is in 10,000,00. I need to change according to user locale format. I tried doing it in java also. When I remove commas in above string its working fine.
public java.lang.String DisplayingDateFormat( java.lang.String date )
//@@begin DisplayingDateFormat()
// Current date Format in BW
SimpleDateFormat sdf = new SimpleDateFormat("MM.dd.yyyy");
String ChangedDateFormat=null;
try{
// sdf.setLenient(false);
//Parsing String to Date
Date sqlDate =sdf.parse(date);
// wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess(" Source date"+ ele.getSched_Date());
// wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess(" Date converted "+sqlDate);
// Getting User Locale
//Getting Locale Information form Current Session
Locale userLocale= WDResourceHandler.getCurrentSessionLocale();
//wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess(" User Current Locale "+userLocale );
//Setting date format ie Short,default etc
DateFormat dateFormat = DateFormat.getDateInstance(DateFormat.SHORT, userLocale);
//wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess(" Formatting to user locale ");
//Converting Date to String
String newDateString = dateFormat.format(sqlDate);
//wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess(" Changed Date Format "+newDateString);
//binding to Table UI element
ChangedDateFormat=newDateString;
catch(Exception e)
wdThis.wdGetAPI().getComponent().getMessageManager()
.reportException(
e.toString(),
false); -
Delimiteddata and number format mask
Hi,
I need to export data from my report to a csv format in reports 6i.
I installed patch 12 so I can use the delimiteddata format.
This works but I do have problems with the number format.
I formatted all of the number fields so they appear as desired in the report when running in C/S mode.
I learned that you can use the number format, date format and cell wrapper variables for delimited and delimiteddata formats.
These parameters do work with delimited output but they don't when generating delimiteddata.
Only when I start the reports builder with numberformatmask=something on the command line then the number format given on the command line will be used. but then you cannot change it (even not in the dialog when generating a delimited format) anymore once reports builder is open.
Is there a solution for this problem or is it fixed in a later patch (I haven't seen anything new in then patch 13 notes).
PietHi Pieter,
This does looks like a Bug. Please contact Oracle Support to assist you in getting the right patch or otherwise.
Regards
Oracle Reports Team. -
TextField (for Input) which supports alignment and number format - AJAX?
Dear forum members,
I have a tabular form containing a lot of number fileds shown as TextFileds, where Users may input large numbers.
Is there any way to let the numbers inside the TextFileds be shown right aligned.
And maybe using a number format, which the user isn't bound to follow (just for display)?
Thank you
JohannHello Johann,
In the Column Attributes set the Element Attribute (in the Tabular Form Element) to style="text-align:right" for right alignment.
You can use the Number / Date Format (in the Column Formatting) to 999G999D99 (or whatever you like) to get a number format.
Greetings,
Roel
http://roelhartman.blogspot.com/
http://www.bloggingaboutoracle.org/
http://www.logica.com/
You can award this reply to your question by marking it as either Helpful or Correct ;-) -
Date and number format with JDEV 10 g
Are there some known bugs in JDEV 10g regarding dates and currency format? I am using bc4j, struts and jsp. I have tried setting the format on the entity and view objects but it works sometimes and sometimes not.
More info please.
-
Date Formatting and SSN Formatting from BIP Report
Hello,
I found out how to format phone numbers.
I just need help in formatting 2 fields from our report.
1. The Call Date (MM/DD/YYYY HH:MM:SS AM/PM)
2. SSN (123-45-6789)
First, I am using the command below to convert the date into canonical format after the namespace:psfn.
<?psfn:totext(ssWarrantyUpdatedDt, 'YYYY-MM-DDTHH:MI:SS')?>
I then tried formatting the date using the Microsoft Format Mask definitions but it didn't work.
On the SSN, I didn't see anything from the bookshelf that shows me how to do this formatting.
Can anyone please help me?
Thank youHi,
If you XML data is coming from Oracle Report (RDF), why dont you do date and SSN formatting in SQL itself. So that you will get directly the required format in XML. That is how I am doing in my report. Most of the time it is easy to make changes in Oracle Report SQL rather than in template bcoz BI publisher dont support so many MS Word properties.
Thanks,
Omkar
Maybe you are looking for
-
Java.lang.NoSuchMethodError using BasicHttpContext
Hello I want to write a simple ChatClient. package com.inz.chat.client; import java.io.IOException; import java.io.InputStream; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.client.ClientProtocolExcept
-
I can't open mail, all I get is a white page with the 5 icons at the top right, the flag, folder etc. then the white pages disappears. I have rebooted, reset my iPad, still can't get mail to open. HELP anyone....tnx
-
Why do Multi touchscreen not working on photoshop CC?
I brought acer t232hl bmidz for photoshop CC, so I can use my finger on canvas.. Find out that I cannot paint on canvas at all... Weird that adobe indesign and illustrate working fine with multi touchscreen.. I am use window 8. Is there any plug in o
-
Playback so jerky on Premier Elements 11 I can't edit. Urgent help required.
My clips are from a Panasonic HC V700 camera filmed at 1080p 50fps Project settings are PAL 1080p 50fps There is no orange line above the timeline - only a small green section where I added a transition and rendered - so I assume the project setting
-
ClassNotFound Message when trying to deserialize data from an applet
Hi, I have an applet that reads data from a web-server. The data was created by serializing a custom class (Test.java). The serialization format is not the standard one, but XML. This is reached by using the JSX-library (http://www.jsx2.com). My HTML