Problem with the display of the percentage value
Hi allI have a report that calculates a percentage based on 2 digits. For example, Actual_count = 15000 and forecast_count = 14900. To calculate the percentage that I use the following SQL statement
select ROUND(((ACTUAL_COUNT-FORECAST_COUNT)/FORECAST_COUNT)*100,1) as "PERCENTAGE" from table
This gives me the result of "-.» 7. " It's the right answer, but what I would like is the answer display "-0.7".Of course, I only want this when the percentage is less, when more is not a problem.
The reason I want it is because it is easier to read, my manager has been confusing figures think that negative numbers are numbers more (seemingly his eyesight is not what it was 8-P).
Would this be possible?
Thanks in advance,
-N.S.N.O.
Hello
Go to the attributes of the report, click on the link Edit next to your percentage column, then enter a format of 999G999G999G999G990D0 mask
This should do the trick.
See you soon
Ben
Tags: Database
Similar Questions
-
Hi Experts,
need help...
I have a dashboard migrated to 10g and 11g.
11 g, I have 4 guests, 2 guest with limited values of 1 invites, rd guest 3 having limited values of the 2nd invites on...
When I select 2nd guest the 3rd guest showing null values. but in the dash 10g invite him 3rd display of values based on the 2nd quick selection...
I am facing the problem with prompt 11 g.
can you guide me how to solve this problem... is there something that I missed after the upgrade? or pls tell me to solve this problemHi try once like that select two guests of dashboard for example the year, half of the year.
In the half-year prompt, click on the 'Options' tab and check "limit values per Option.
In this option, you can select column 'year '. Then, you can get data from half of year year corresponding column.
Thank you
Please indicate if this helps you...Published by: 979493 on February 25, 2013 03:16
Published by: 979493 on February 25, 2013 03:17
Published by: 979493 on February 25, 2013 03:17
-
Problem with the default value for OAMessageTextInputBean to the controller layout
Hello
I encountered this problem when I expand a controller for the page create a work request (/ oracle/apps/eam/workrequest/webui/EAM_WR_WORK_REQUEST_DETAIL_PL). My goal is to re - fill OAMessageTextInputBean 'Additional Description' after the user clicks "Save" or "apply". When I try to change the value of another field, it works correctly, the problem persists for 'Description Addidional' more precisely. I don't know that I have the correct id (I took it from xml received by jdr_utils.printdocument). The journal does not all controllers running after the attempt to set the value.
Compare these logs:
[21]:PROCEDURE:[xxfideltronik.oracle.apps.eam.workrequest.webui.xxPageRegionCO]:Goosfraba, pre-added! [21]:EVENT:[fnd.framework.webui.OAMessageTextInputHelper]:OAF LOG: Event : Get Attribute Value, in: oracle.apps.fnd.framework.webui.OAMessageTextInputHelper: View:null ,Attribute:EAM_WR_WORK_REQUEST_DETAIL_PL426_EamWrRqlog , Return Value without datatype conversion :4321 [21]:PROCEDURE:[xxfideltronik.oracle.apps.eam.workrequest.webui.xxPageRegionCO]:Goosfraba, added!
[Descriptive information, does not work]
and:
[64]:PROCEDURE:[xxfideltronik.oracle.apps.eam.workrequest.webui.xxPageRegionCO]:Goosfraba, pre-added! [64]:EVENT:[fnd.framework.webui.OAMessageTextInputHelper]:OAF LOG: Event : Get Attribute Value, in: oracle.apps.fnd.framework.webui.OAMessageTextInputHelper: View:RequestDetailsVO ,Attribute:PhoneNumber , Return Value without datatype conversion :null [64]:EVENT:[fnd.framework.webui.OAMessageTextInputHelper]:OAF LOG: Event : Set Attribute Value, in: oracle.apps.fnd.framework.webui.OAMessageTextInputHelper: OldValue:null ,New Value:4312 [64]:PROCEDURE:[xxfideltronik.oracle.apps.eam.workrequest.webui.xxPageRegionCO]:Goosfraba, added!
[Phone number, works fine]
Here is my code for the method of the processFormRequest controller:
public void processFormRequest(OAPageContext pgCtx, OAWebBean wBean){ super.processFormRequest(pgCtx, wBean); String description = pgCtx.getParameter("EamWrRqlog"); log("Goosfraba: " + description, pgCtx); if(description != null){ OAMessageTextInputBean additionalDescription = (OAMessageTextInputBean) wBean.findChildRecursive("EamWrRqlog"); if(additionalDescription != null){ log("Goosfraba, pre-added!", pgCtx); additionalDescription.setValue(pgCtx, description); log("Goosfraba, added!", pgCtx); } } }
A solution would be: -.
1. create a transitional VO with an attribute, LongDescription.
2 associate this attribute with the EamWrRqlog field.
3. in the processFormRequest, set the TransientVO attribute value
-
Problem with the percentage data type
Hello
I understand that if a member account data type is percentage, then the corresponding value in the form of data is displayed as a percentage. For example, if I need to get 50% against the particular account member, then I can type either 0.5 or 50%. But is there the parameters by which if I hit 50, system will consider as 50%, not 5 000%.
Thank you.You can type either 0.5 or 50%
See you soon
John
http://John-Goodwin.blogspot.com/ -
problem with the default value of the parameter in function
Hi all
problem: there is null, the function ignore the form_type_in default value 0.create or replace FUNCTION date_post_message ( user_lock_in IN users.user_lock%TYPE, form_type_in IN users.form_type%TYPE DEFAULT 0 , date_in IN DATE) RETURN BOOLEAN IS v_num number(1); BEGIN IF user_lock_in = 1 THEN RETURN FALSE; END IF; IF form_type_in NOT IN (1,2) THEN RETURN FALSE; END IF; SELECT 1 INTO v_num FROM changes WHERE date_post_msg <= date_in ; RETURN TRUE; exception WHEN NO_DATA_FOUND THEN RETURN FALSE; END date_to_post_msg;
Why? the default value is valid only in the parameter of the procedure?
Thanks to Advnaced
NaamaNaama wrote:
If a value is null to convert it to 0? I mean in the part of the statement of the parameterNo, can't do this in the signature. You will need to manage this by validating the parameters passed at the beginning of the function.
It is quite simple. In your case, you might as well test for NULL and fail to function like this:
FUNCTION date_post_message( user_lock_in IN NUMBER, form_type_in IN NUMBER DEFAULT 0 , date_in IN DATE) RETURN BOOLEAN IS v_num NUMBER(1); BEGIN dbms_output.put_line('Value of parameters : user_lock_in : '||user_lock_in || ' : form_type_in : '||form_type_in||' : date_in : '||date_in ); IF user_lock_in = 1 THEN RETURN FALSE; END IF; IF form_type_in IS NULL THEN RETURN FALSE; ELSIF form_type_in NOT IN (1,2) THEN RETURN FALSE; END IF; RETURN TRUE; EXCEPTION WHEN NO_DATA_FOUND THEN RETURN FALSE; END;
In other cases of use I would issue a local variable and treat it like this:
IF form_type_in IS NULL THEN l_form_type := 0; ELSE l_form_type := form_type_in; END IF;
Of course, the code should use the local variable rather than the parameter.
It is a good practice to validate values passed in parameters at the beginning of a function. If you really want to go to the city, discover the Design By Contract.
Cheers, APC
Published by: APC on November 9, 2011 13:36
Example added, as requested by OP
-
Problem with the caption.value. #text
I'm do my first measures in the FormCalc language to create PDF Forms to distribute , et what I have to do here is to try to change the caption text of a text field based of a decision made previously by a drop down field in the small script I tried to write it as follows:
var text = Choose ()Elenco1.rawValue ""request number""", " "number required"""( )
if ()Elenco1.rawValue == 1( ) then
$ . Caption.Value . text.value # text =
$ . RawValue Num2Date = (Date (), "YY / MDD_IHS)
ElseIf ()Elenco1.rawValue == 2( ) then
$ . RawValue Num2Date = (Date (), "YY / MDD_UNI)
endif
but fails in the first line . What is the problem ?Dizionario - dizionario detailes see
You can change the caption TextField1 when running at below the syntax help.
$.resolveNode("__TextField1__.caption.value.#text").value = "New Caption";
Thank you
Srini
-
Anyone having problems with the GENERATED_KEY in CF8 lately?
Anyone else have problems with the GENERATED_KEY value returned by a cfquery when using ColdFusion 8 and MySQL?
I'm inserting records in a MySQL 5.0 DB and then enter the result. GENERATED_KEY and assigning my ID of objects field. Nothing spectacular here.
In my test harness, everything works fine but when I download files to my host I get this error;
An error has occurred at the request:
Error code: Server.Processing
Details of the fault:
Error string: cannot call CFC - element GENERATED_KEY is undefined in QCREATERESULT.
I thought that there must be a bug I introduced so I check my code and ensured that it worked on my system and Uploaded the cfc again just to be sure there was nothing broken in transit.
Always had problems.
So, I checked the Web and found that the MySQL Connector/J version 5.1.5 has a problem with that. I contacted my provide my Site host and has asked to check the environment that I was for me.
I was told it is ColdFusion 8 (as it should be.)
At the beginning when I asked what version of Connector/J server on that I had used on me version 3.51. This is not a version of connector for all those of you who did not have to deal with it. (At least one that would have shipped with CF8.) That sounded more like the version of the MySQL server, but I was supposed to be on a 5.0 Server and my account information specify also the same, so I let this drop for now.
After having to explain how to find a way to know what the version of the connector was attached their support they told me that it was 5.05 (has happened to the version that I already told him was the version I thought comes with CF8, if I'm wrong.)
And I asked him to confirm that the DB was version 5.0.
So assuming that told me the truth. I can't find a reason why the GENERATED_KEY are not returned.
My CFQuery insert code looks like this;
< cffunction name = "crΘer" output = "false" access = "private" returntype = 'Cancel' >
< cfset var qCreate = "" >
< cfset var local1 = Field1 () >
< cfset var local2 = Field2 () >
< cfset var local3 = Field3 () >
< cfset var local4 = Field4 () >
< cfset var local5 = Field5 () >
< cfset var local6 = Field6 () >
< cfset var local7 = Field7 () >
< cfset var local8 = Field8 () >
< cftransaction isolation = "read_committed" >
< cfquery name = "qCreate" datasource = "datasource" username = "userName" password = "password" result = "qCreateResult" >
Insert into myTable (Field1, Field2, Field3, Field4, sphere5, case Field6, Field7, Field8)
values)
< cfqueryparam value = "" #local1 # "cfsqltype ="CF_SQL_VARCHAR"/ >,"
< cfqueryparam value = "" #local2 # "cfsqltype ="CF_SQL_VARCHAR"/ >,"
< cfqueryparam value = "" #local3 # "cfsqltype ="CF_SQL_VARCHAR"/ >,"
"< cfqueryparam value =" "#local4 #" cfsqltype = "CF_SQL_INTEGER" = null "#iif ((local4 eq""), ("yes"), ("No.")) #" / >.
< cfqueryparam value = "" # locale5 # "cfsqltype ="cf_sql_integer"/ >,"
< cfqueryparam value = "" #local6 # "cfsqltype ="cf_sql_integer"/ >,"
< cfqueryparam value = "" #local7 # "cfsqltype ="cf_sql_varchar"/ >,"
< cfqueryparam value = "" # locale8 # "cfsqltype ="cf_sql_integer"/ >"
)
< / cfquery >
< / cftransaction >
< cfset variables.objectID = qCreateResult.GENERATED_KEY >
< / cffunction >
[No I am not really using Field1, 2, 3 in my code and my password is not actually password, but you get the point].
Again, this works in my lab. (CF8, MySQL 5.0, Apache, standard Connector/j) That is what it is?
Personally, I think that my environment is not what it was supposed to be regardless of what I was told. The rep that I was talking doesn't seem to know much about ColdFusion and at the end of the conversation, he said as well and opened a ticket. Not very useful, but at least not rude.
However, I want to be fair and check all the possibilities. If you see something wrong with my Code let me know that I'm rather crazy eyes will then return to writing queries to get the id.
Thanks in advance!
-Joe
PS: Just before posting this I tried to add < cfset var qCreateQuery = "" / > to the list of the variables just to see if it would change what anyone and it doesn't work. " Still works on my system, but not on them.Found the problem.
The environment has been set up correctly, but the DSN apparently obtained the value a MySQL 3.51 Driver to the administrator.
It's something that my hosting service, I have no control on however I also don't even think about asking them to check for me either. I forgot that CF has even a version 3 driver for MySQL.So my hats off to HostMySite technicians who concluded that, for me and for anyone having the same problem, I suggest you also check the same.
-
Satellite L750D-1FD - problems with the display driver
I got this laptop from my uncle and it was filled with junk and crapwares so I did a clean reinstall and upgrade Windows 7 Home to ultimate. I have a problem with the GPU, windows does not recognize it, or doesn't fly chart AMD.
Processor is AMD A8 - 3520 M APU, and I think that the GPU is a Radeon HD 6620 G or something before the re-installation. I can't change the resolution, it stuck at 800 x 600, memory shows by n/a, Direct X features are not available, not from the downloaded display driver Toshiba worked.
Dxdiag appears to the:Name: Standard VGA Graphics adapt
Manufacturer: Advance Micro Devices, Inc.
Chiptype: AMD ATOMBIOS
: Type DAC: 8 bit
Memory Approx.Total: n/a
Current display mode: 800 x 600 (1 Hz)It nothing and can do with this laptop now because the GPU does not work as expected. Please, help me to solve this problem.
Hello
I found only Satellite L750D-1FD so I think you have this model. I want to help you on any other way. Here is the correct order of installation for Win7. Please check and install all the available stuff you can find on the download page of Toshiba - http://www.toshiba.eu/innovation/download_drivers_bios.jsp
Win7 SP1
4.9.2.0 TOSHIBA supervisor password utility
TOSHIBA HW Setup Utility 4.9.2.0
TOSHIBA Assist 4.02.02
TOSHIBA ReelTime 1.7.18
AMD driver 1.0.0.52 xHC
8.834.1 - 110420 a-118118C-Toshiba AMD display driver
TOSHIBA value added package 1.5.10.64
ATI HDMI Audio Driver 7.11.0.7710
Conexant Audio Driver 8.51.1.0a
Wireless LAN driver
Synaptics Touch Pad Driver 15.2.11.1
V4.07 Bluetooth Monitor
Atheros Bluetooth Driver Package v1.0.7 Filter
Battery Bluetooth for Windows by Toshiba v8.00.06 (T)
Atheros LAN Driver 1.0.1.50
Card reader Realtek 1.0.0.14
TOSHIBA 1.0.4 Wireless LAN indicator
TOSHIBA Sleep 1.4.2.8 utility
3.1.8 TOSHIBA face recognition
TOSHIBA eco Utility 1.3.2.64
TOSHIBA HDD/SSD Alert 3.1.64.8
TOSHIBA PC Health Monitor 1.7.7.64
ConfigFree 8.0.38
TOSHIBA Web Camera Application V2.0.0.21
TOSHIBA V4.00.7.01 VCR - HAS
TOSHIBA resolution + plug-in for Windows Media Player 1.1.0
TOSHIBA Disc Creator 2.1.0.9 for x 64
TOSHIBA Network Device ID registry setting tool 3.0.32.4 - 16_wMSI
TOSHIBA Media Controller 1.0.86.2
TOSHIBA Media Controller plugin 1.0.6.1If you need assistance more let us know.
-
problem with the Finder - files and folders displaying incorrectly
After acquiring a new iMac, I noticed a problem with the Finder - files and folders are displayed wrong (see table).
This is what happens always after the files have been transferred from one folder to another. I was reminded of my days of using Mac OS in the 1980s when automatic setting of files was not so "automatic." I use Mac OS for decades and I don't remember the last time I had to think about GUI problems like that.
Other problems in the graphical display of files and folders were introduced, such as when you have hundreds of files in a single folder, you end up deleting about 30 to 40 of them say in a particular section, and you end up with gaps of the ChartSpace where files used to be, that is the remaining files automatically rearrange themselves (fill in these gaps) - never. A week later, you open the folder, and the gap of GUI is still there.
I decided to do a clean install of the operating system but nothing works.
Is there some setting in Prefs I'm missing?
Hi there highland99,
Looks like your folder icons are not accommodating themselves automatically you plan to do. To me, this indicates that you have organize by the None value in the view menu. You can change the way files and folders are prepared automatically by clicking on view > reorganize by and selecting how you would like that fixed.
Thank you for using communities of Apple Support.
-
Problem with the change in value of listbox event
Hello
I have a problem with the help of Listbox value change event. The code that I have attached is a simplified version of the largest program, but the problem is the same. One of the loops of Nonna is responsible for handlig occurring events ant the other is responsible for the execution of the program. In the project of oryginal I use a listbox control to determine which plots graphic display of a waveform is visible (first position of the listbox-> only plot first visible etc.). In the attached vi, I just show the current value of the listbox control. The problem is the event runs only once and then the program crashes. I want to be able to change the value of the listbox work both at idle and in State of a program, but when I put the structure of the event in both States, he does not. I'd be very grateful if someone smarter than me could tell me where I made my mistake. I want my program to be able to manage the keys and listbox events in States (slow down and knit) program.
You have two structures of event in two cases different from the structure of the case, and both are tuned to listbox events has changed. Because only once can be triggered at any time, the VI crashes (lock events the front panel (default) until the event can complement).
You must use a unique event structure managing all events.
The overall program architecture looks like inside-out for me.
For the buttosn, you must use action lock (switch not release!) and use the value changed events.
-
problem with the help of the conditional formatting on a cell that is defined as the percentage
Hi all
I am facing a problem with the help of the conditional formatting on a cell that is defined as the percentage.
I am using beaches for example:
is equal to or greater than 10% - green color
5%-10%-yellow
less than or equal to 5%-color red
the problem is that keeps the value 10% get yellow color when it should get green.
i thought that is a rounding issue but when I change the definitions of the cell to learn more decimal places I see this part of the percentage 9.65% and some of them are 10.00% and they are both colored in yellow.
I also tried to change the way range of 6 to 9%, but values between 9.65% or 5.5% are not colored.
I really enjoy your help!
You know the reason and the solution.
change the format of the column and go or add a column more with decimal and opt for conditional and hide report.
Thank you
-
Hello!
The new version of Firefox, I have a problem with the opening of the site VKontakte. The browser displays the following error message: "Firefox has determined that the server redirects the request for this address in a way that it will never end." How to solve this problem? Please excuse me for my English.
Sincerely, Vsevolod.This can be caused by corrupted cookies or cookies that are not sent or otherwise blocked.
Clear the cache and cookies from sites that cause problems.
"Clear the Cache":
- Tools > Options > advanced > network > content caching Web: 'clear now '.
'Delete Cookies' sites causing problems:
- Tools > Options > privacy > Cookies: "show the Cookies".
See also:
-
Problems with the Display Mode target on end 2009 27 "iMac
Used late 2009 iMac 27 "in the view target in conjunction with a Dell XPS tower with i7 processor, Windows 7 and the best graphics card I could afford at the time connected by HDMI to mini display port cable. Worked well for years. Set aside Dell for a few months and the update of the iMac to El Capitan OS 10.11.3. Recently tried old setup with same Dell PC and was able to move from Mac to PC, but the PC screen resolution was at the lowest setting. I got an error message when enabling/disabling to PC who said there was a problem with the port causing mini display of the system back to the lowest resolution. Impossible to reset at a higher resolution.
I tested the Dell PC on another monitor, and it works very well at higher resolution (2560 X 1440). Now, when I reconnected it to the iMac (which works fine), the screen becomes black.
Is it possible that the operating system upgraded (El Capitan) is not compatible with the targets using mini display port Display Mode? Any ideas?
Use your iMac as a display with the target - Apple Support Display Mode , also consider having a bad cable or connection. Does not hurt to try different cables, they can and will the bad!
-
I am facing a problem with the beep.vi. I have a DAQ program, which acquired the signal and compare it to a threshold value. When a signal is out of range, a Visual and sound alarm has occurred. I use the VI beep.vi to generate the sound. Everything works fine except the sound alarm. It gives the table 1 d of type mismatch. I tried to fix this by placing it in a box structure. But it still does not work. If someone could help? Please find attached my VI. Best wishes to all visitors to the Forums of Discussion OR.
Ihab El-Sayed
published here: http://forums.ni.com/t5/LabVIEW/Playing-sound-based-on-exceeding-a-threshold-value-1D-array-data/m-p...
-
Problems with the display of the 3D graph
Hello world
I use a 3-d chart in one of my screws and I have problems with the display. See what it shows by yourself:
So, as you can see, the chart does not correctly display the data. But one thing I know, is that the data are sent correctly, because when I copy the LabVIEW graphic and paste it into paint, what I see, this is the graph displayed correctly:
Anyone know what may cause the problem? I also have a similar problem with a waterfall in 3D.
You can always download the updates of ni.com so.
I also went through a documentation on known LV 2011 issues. I was able to find something interesting onthis page:
3D image controls can display transparently or LabVIEW crash on some graphics cards
The 3D Picture Control is based on an OpenSceneGraph that uses OpenGL. It was noted several reports of the 3D image control crashing LabVIEW. In almost all cases, it was an Intel graphics integrated into question. This accident is due to a mismatch of the graphic material. Note: most 3-d charts use the 3D picture control
Some possible workarounds are:
- Update the video driver
- Enable/disable hardware acceleration
- Enable Aero in Windows 7
- Disable Aero in Windows 7
I might try these workaround solutions and see if any of them work for you.
-
Over the four days, I've lost two e-mail accounts:
1 * e-mail address is removed from the privacy *
2nd * e-mail address is removed from the privacy *
I went to www.windowslivehelp.com
I filled in all the information and answered all the question. I provided
the email address where I can be reached: * address email is removed from the privacy *
But when I click on submit
"The display shows:" Server error
500 internal Server Error. There is a problem with the resource you
can are looking for, and it cannot be displayed' you explain or tell me
How can I return my email accounts. Thank you and best regards
B.Okediji sanogo
{deleted}
E-mail address is removed from the privacy *.
Hi Zacheus B.Okediji,
1. what web browser do you use?
2. when the problem started?
The website you are visiting had a server problem preventing the display of the Web page. It often occurs due to maintenance of the site, or due to a programming error on interactive websites that use scripts.
For more information, see the following article:
Get help with the Web site (HTTP error) error messages.
If you use Internet Explorer, you can read the following article and try steps 2, 3 and 4 to solve the problem.
Internet Explorer is slow? 5 things to try
Note: Resetting the Internet Explorer settings is not reversible. After a reset, all previous settings are lost and cannot be recovered.
You can also visit the following links to support Windows Live:
"Server too busy", "Internal Server Error" and we do little maintenance to improve the service.
Internal server error when trying to open hotmail
Hope this information is useful.
Maybe you are looking for
-
How can I create a separate address book? I'm not on a mailing list but an address book where addresses are not mixed with my address book regularly. I already have three created for me by Thunderbird address books. Add all new addresses to one of th
-
I want to scan B & W negs on a Canon Pixma 7160 and get prints themselves. Is there a way to do this using Photos Apple?
-
Install Rescue &; Recovery on Windows 7?
X61s running Win7 beta build 7000, though. Base OS = Vista Business Last month, I have rebuilt the drive using the base image - during the rebuild, I chose not to install a Lenovo Rescue & recovery (R & R). So, I can not access the rebuild option in
-
HP 15-r030wm Notebook PC: System disabled error code 63525370
Someone put and administrative password or password on my laptop running. My normal administration for my account password does not work. I'm wrong 3 times then disabled system [63525370] showed on the screen. I have a laptop HP 15-r030wm (energy sta
-
Changing Alais email address of primary e-mail address
I want to make my alais email address a separate email account. How can I do this without losing access to this e-mail address? OR do my alais e-mail to my e-mail account?