How would I truncate extra zeros (as in millions) ?
Say my y-axis now has this series: $30,000,000 $20,000,000 $10,000,000
and I want to change it (formulaicly -- so I don't have to re-enter all my numbers manually) to: $30 $20 $10
with a note somewhere on the chart saying "(in millions)"
How does one do this?
Hi H L,
Numbers will chart the data you supply.
Here, the original data is in column B of the table.
In column E the data has been adjusted for the chart by dividing the value in column B by 1,000,000,000.
=B/1000000000
Enter the labels for the category axis in column A (a header column).
Enter "Millions" in the first row (a header row) of column E.
Select the indicated cells in column E.
Choose the Line Chart option in the Charts button's menu.
The rest (with these values) was automatic.
Regards,
Barry
Similar Messages
-
How would you justify extra cost of Windows Pro Version
Well remote desktop access is only possible in the Pro version. You are also future proofing your organisation when it gets big enough to warrant AD control. The cost of Pro when bought with a PC is only very little compared to the £100+ you seem to get charged when you upgrade at a later date.
With shopping around I see no price difference between Home and Pro PC's (in fact with the host of special offers at the moment they seem to be cheaper...So recently my friend had been asking me why would we need to purchase a pro edition if we are not running an AD. How would you guys justify the extra cost of purchasing Pro version of windows compared to home editions in a small business environment to your management?
This topic first appeared in the Spiceworks Community -
Extra zero "0" in front of caller ID numbers
Hi all,
I was wondering if anyone has seen this before.. and if so how can I reslove it.
When people call my numer from a moble there's always an extra zero in front of the number.. e.g. 007712345678
So when I try to return the call it fails due to it being a wrong number.
This is also the same when I call 1471.. the extra zero is there too?
ThanksAn update
Mon 7 Oct : Contacted by support agent to arrange an Engineers visit for Tues between 8am - 1pm
Tues 8 Oct 8:07am : Engineer arrived at 8:07am. Explained issue and engineer called my number from his BT mobile. He saw the additional zero. He then called 1471 and the additional zero was there also.
He then ran line tests etc and all seemed good. He went out for a while and spoke on his mobile to colleagues as he hadn't seen or heard of this type of fault before. He asked was my number a BT number or was it transferred from another supplier to BT. I said yes.. it was originally a sky number. He said it seemed like a software / exchange issue and they would need to investigate it further and left.
Tues 8 Oct 10:40am: Text received to say fault was fixed / closed.
Tues 8 Oct 2:40pm: Re-opened fault. Fault not fixed - Zero still there
Wed 9 Oct: Multiple calls to landline from BT engineers working on line. They confirmed they could see the zero when looking at their systems inside the exchanges and that it was some type of network/software fault and would require further investigation.
Thurs 10 Oct: Call from BT support call centre to arrange an Engineers visit. Visit arranged for Sat 12 Oct between 8am - 1pm
Sat 12 Oct 10:17am: Text received to say fault was fixed / closed.
Sat 12 Oct 10:25am: Checked line and fault still there. No Engineer had called. Reopened fault online. Dialled 151 from my BT line and was greeted by SKY Talk customer support?
Dialled 0800 800 151 and got through BT Call centre. Asked why fault had been closed again? She didn't know. She is trying to find out if Engineer will actually be visiting today or not. Due to call back within 2 hours.
To be continued.......................... -
I am facing a strange SQL exception:-
The code flow is like this:
.Net 4.0 --> Entity Framework --> SQL 2008 ( StoredProc --> Function {Exception})
In the SQL Table-Valued Function, I am selecting a column (nvarchar(50)) from an existing table and (after some filtration using inner joins and where clauses) inserting the values in a Table Type Object having a column (nvarchar(50))
This flow was working fine in SQL 2008 but now all of sudden the Insert into @TableType is throwing "string or binary data would be truncated" exception.
Insert Into @ObjTableType
Select * From dbo.Table
The max length of data in the source column is 24 but even then the insert statement into nvarchar temp column is failing.
Moreover, the same issue started coming up few weeks back and I was unable to find the root cause, but back then it started working properly after few hours
(issue reported at 10 AM EST and was automatically resolved post 8 PM EST). No refresh activity was performed on the database.
This time however the issue is still coming up (even after 2 days) but is not coming up in every scenario. The data set, for which the error is thrown, is valid and every value in the function is fetched from existing tables.
Due to its sporadic nature, I am unable to recreate it now :( , but still unable to determine why it started coming up or how can i prevent such things to happen again.
It is difficult to even explain the weirdness of this bug but any help or guidance in finding the root cause will be very helpful.
I also Tried by using nvarchar(max) in the table type object but it didn't work.
Here is a code similar to the function which I am using:
BEGIN
TRAN
DECLARE @PID
int = 483
DECLARE @retExcludables
TABLE
PID
int NOT
NULL,
ENumber
nvarchar(50)
NOT NULL,
CNumber
nvarchar(50)
NOT NULL,
AId
uniqueidentifier NOT
NULL
declare @PSCount int;
select @PSCount =
count('x')
from tblProjSur ps
where ps.PID
= @PID;
if (@PSCount = 0)
begin
return;
end;
declare @ExcludableTempValue table (
PID
int,
ENumber
nvarchar(max),
CNumber
nvarchar(max),
AId
uniqueidentifier,
SIds
int,
SCSymb
nvarchar(10),
SurCSymb
nvarchar(10)
with SurCSymbs as (
select ps.PID,
ps.SIds,
csl.CSymb
from tblProjSur ps
right
outer join tblProjSurCSymb pscs
on pscs.tblProjSurId
= ps.tblProjSurId
inner join CSymbLookup csl
on csl.CSymbId
= pscs.CSymbId
where ps.PID
= @PID
AssignedValues
as (
select psr.PID,
psr.ENumber,
psr.CNumber,
psmd.MetaDataValue
as ClaimSymbol,
psau.UserId
as AId,
psus.SIds
from PSRow psr
inner join PSMetadata psmd
on psmd.PSRowId
= psr.SampleRowId
inner join MetaDataLookup mdl
on mdl.MetaDataId
= psmd.MetaDataId
inner join PSAUser psau
on psau.PSRowId
= psr.SampleRowId
inner
join PSUserSur psus
on psus.SampleAssignedUserId
= psau.ProjectSampleUserId
where psr.PID
= @PID
and mdl.MetaDataCommonName
= 'CorrectValue'
and psus.SIds
in (select
distinct SIds from SurCSymbs)
FullDetails
as (
select asurv.PID,
Convert(NVarchar(50),asurv.ENumber)
as ENumber,
Convert(NVarchar(50),asurv.CNumber)
as CNumber,
asurv.AId,
asurv.SIds,
asurv.CSymb
as SCSymb,
scs.CSymb
as SurCSymb
from AssignedValues asurv
left outer
join SurCSymbs scs
on scs.PID
= asurv.PID
and scs.SIds
= asurv.SIds
and scs.CSymb
= asurv.CSymb
--Error is thrown at this statement
insert into @ExcludableTempValue
select *
from FullDetails;
with SurHavingSym as (
select distinct est.PID,
est.ENumber,
est.CNumber,
est.AId
from @ExcludableTempValue est
where est.SurCSymb
is not
null
delete @ExcludableTempValue
from @ExcludableTempValue est
inner join SurHavingSym shs
on shs.PID
= est.PID
and shs.ENumber
= est.ENumber
and shs.CNumber
= est.CNumber
and shs.AId
= est.AId;
insert @retExcludables(PID, ENumber, CNumber, AId)
select distinct est.PID,
Convert(nvarchar(50),est.ENumber)
ENumber,
Convert(nvarchar(50),est.CNumber)
CNumber,
est.AId
from @ExcludableTempValue est
RETURN
ROLLBACK
TRAN
I have tried by converting the columns and also validated the input data set for any white spaces or special characters.
For the same input data, it was working fine till yesterday but suddenly it started throwing the exception.Remember, the CTE isn't executing the SQL exactly in the order you read it as a human (don't get too picky about that statement, it's at least partly true enough to say it's partly true), nor are the line numbers or error messages easy to read: a mismatch
in any of the joins along the way leading up to your insert could be the cause too. I would suggest posting the table definition/DDL for:
- PSMetadata, in particular PSRowID, but just post it all
- tblProjectSur, in particularcolumns CSymbID and TblProjSurSurID
- cSymbLookup, in particular column CSymbID
- PSRow, in particular columns SampleRowID, PID,
- PSAuser and PSUserSur, in particualr all the USERID and RowID columns
- SurCSymbs, in particular colum SIDs
Also, a diagnostic query along these lines, repeat for each of your tables, each of the columns used in joins leading up to your insert:
Select count(asurv.sid) as count all
, count(case when asurv.sid between 0 and 9999999999 then 1 else null end) as ctIsaNumber
from SurvCsymb
The sporadic nature would imply that the optimizer usually chooses one path to the data, but sometimes others, and the fact that it occurs during the insert could be irrelevant, any of the preceding joins could be the cause, not the data targeted to be inserted. -
Key Figure value in Cube showing with extra zeros
Loaded data into the cube. When I display the result
Key figure values are showing with 2 extra zeroes and Quantity value shaowing with 3 extra zeroes.
Original value
Price, Quantity, Sales Rev
2 1 2
3 2 6
When display value from cube
Price, Quantity, Sales Rev
2,00 1,000 2,00
3,00 2,000 6,00
Why zero is showing? How can I display the original value? In PSA, values are showing correctly.
Thanks,Hi,
These are the zeroes after the decimal places. this is the property of the key figure.
In your report you can change the display value. In the display properties of the Key figure under the number of decimal places make it as 0. This will remove the zeroes.
Hope it helps.
Regards,
Gaurav
Edited by: Gaurav Kothari on Oct 16, 2008 10:35 AM -
IR truncating leading zeros in my popup window report
Hello,
I am using IR_columnname, for one of the columns in my report which is a popup window report.
My problem is that IR_column search filter in my popup window is truncating the leading zeros.
I am getting the value but it is truncating the leading zeros.
like say if the deptno is something like 020 or 0020 in the parent window.
the IR_columnname value is taking '20' (its truncating leading zeros) with this filter its not dispalying the result in my popup window.
can anyone help me out with this.
thanks.How are you passing values to the IR filter? There could be a possibility that you source logic is truncating the leading zeros.
Thanks,
Manish -
I'm sure the solution is simple but...my wife's iCal calendar has started adding an extra two zero's to the time in all .ics events. An appointment made for 9:00am displays as 9:00 00am. When I drag the item to the desktop and look at it with quicklook it displays as 9:00 00am. When I import the item into Entourage it displays as 9:00 00am.
Every item in iCal now displays this way so I looked at her iCal preferences. The drop down list in "day starts at" now shows the times as 8:00 00AM! I went to her "date and time preferences" and turned off the display of seconds in her menubar clock with no effect.
Does anyone know where these extra zeros (or seconds) are coming from? Or more importantly, how to turn them off?oldrick,
Welcome to Apple Discussions.
First of all try refreshing the com.apple.iCal.plist file. You will find the com.apple.iCal.plist file in your Macintosh HD/Users/yourusername/Library/Preferences Folder. Quit iCal, drag the .plist file to your Desktop, log out/in or restart and check iCal for normal behavior.
If that is unsuccessful, open System Preferences...>Language & Text>Formats, and choose, or change the appropriate region. Then check/change the "Times" formats that you are using.
;~) -
Extra zeros in numeric fields when I create spreadsheet from data files
I created a form with Live Cycle, and then in Adobe I use the option "create a spread sheet from data files" to import the answers to a xls file.
I have two problems with this action: the first one is that I get 8 extra zeros in each numeric field, the second one is that fields are ordered by type and not by appearance.
I tried a different approach importing directly in Excel, in that way there are no extra zeros and the order is correct, but I get just one form each time, and in a "stairways" fashion (i. e. first field in A1, second in B2, and so on)
I'd appreciate any helpWhere do you find the command "create a spread sheet from data files"?
Anyway i have a similar problem: when i export data in a .csv file and than i import it in excel, i always get 8 extra zeros... how can i solve the problem? -
How would you split a 10 GB root partition? Would you?
The system seems to be booting a little slow lately (been using Arch for more than a year now) and I was thinking of splitting the root partition to improve performance.
Right now the entire OS is on a single partition. I don't have a /home partition but I can see it's usefulness:
- files on /home are, in general, more frequently written (browser cache especially), which means less fragmentation for the root partition
- having a noexec flag for /home so no potentially dangerous software will run from there (and why would you need to run software from /home?)
- my /var folder takes up 102 MB, 9.706 files in 4.846 folders. Is there a filesystem that will deal well with many small files ? ReiserFS maybe ?
So how would you split (gigabyte-wise) a 10 GB partition into /, /home and /var ? And would you ? I've been told from the IRC channel that it makes zero sense. At least not for desktop use.
PS: I'm also switching from i686 to x86_64, so please take that into account as well. For instance I noticed that 64 bit software usually takes up more space than 32 bit.
Last edited by DSpider (2011-05-29 11:32:04)Here is what's happening on my Arch box:
. 2,1TiB [##########] /mnt
. 61,0GiB [ ] /home
5,2GiB [ ] /usr
. 2,9GiB [ ] /var
126,0MiB [ ] /opt
83,1MiB [ ] /lib
. 14,1MiB [ ] /boot
10,0MiB [ ] /sbin
. 7,3MiB [ ] /etc
5,3MiB [ ] /bin
. 3,0MiB [ ] /tmp
192,0kiB [ ] /run
20,0kiB [ ] /srv
! 16,0kiB [ ] /lost+found
4,0kiB [ ] /dev
4,0kiB [ ] /lib64
! 4,0kiB [ ] /root
. 0,0 B [ ] /proc
0,0 B [ ] /sys
< 0,0 B [ ] /media
Generated with ncdu.
I have big stuff installed like a full texlive and libreoffice and I never clean my package cache. This is /var:
. 2,6GiB [##########] /cache
. 153,2MiB [ ] /lib
57,1MiB [ ] /abs
. 31,3MiB [ ] /log
7,4MiB [ ] /tmp
. 592,0kiB [ ] /spool
. 132,0kiB [ ] /run
8,0kiB [ ] /lock
e 4,0kiB [ ] /opt
e 4,0kiB [ ] /local
e 4,0kiB [ ] /games
! 4,0kiB [ ] /enigma
4,0kiB [ ] /empty
@ 0,0 B [ ] mail
And this is /var/cache
2,6GiB [##########] /pacman
10,9MiB [ ] /pkgtools
3,0MiB [ ] /man
320,0kiB [ ] /cups
280,0kiB [ ] /fontconfig
252,0kiB [ ] /samba
! 4,0kiB [ ] /ldconfig
e 4,0kiB [ ] /hald
/usr
2,8GiB [##########] /share
1,7GiB [###### ] /lib
415,2MiB [# ] /bin
153,9MiB [ ] /include
149,8MiB [ ] /lib32
15,3MiB [ ] /src
13,7MiB [ ] /sbin
104,0kiB [ ] /local
I think I have a very typical desktop here: Mostly web/office stuff and some multimedia. -
How would I go about changing my harddrive to a SATA III 6Gbit/s drive?
I want to replace my 250GB hard drive in my macbook pro from 2009. How would I go about changing it to a SATA III 6Gbit/s drive?
Do I also need to replace RAM or anything else? What step should I take?
Thank you!You can certainly install whatever drive you like, but your Macbook Pro is fixed at SATA II. SATA III drives will work fine, but only up to 3Gb/s (which far exceeds a rotational drive's read/write speeds anyway).
In practical terms, if you want to copy your current system onto the new drive, you would need to buy an external enclosure (Firewire or USB2), install the new drive in that and format it Mac Extended using Disk Utility. Clone your current system over using SuperDuper.
Make sure the new drive is named something different from the original drive to distinguish them when you restart. Test that it will boot by holding down Option as you power up the computer.
Remove the new drive from the enclosure and install it using iFixit guides.
If you don't want to use the files on your current drive, you don't need the enclosure, but it's recommended, so you can use your current drive as extra storage after you do the upgrade.
Matt -
How do I stop extra instances of Firefox program being opened by another page when it loads?
How do I stop extra instances of Firefox program being opened by another page when it loads?
When I log on to a favorite site it loads OK. The site has a number of pages. When I move to the second or third page, a second instance of Firefox automatically starts and loads an advertisement. I can block the site that tries to load the page, but I cannot stop the second instance of Firefox from loading up. So in the end I might have three or four instances of Firefox all going at once.
Any help would be greatly appreciated.Do a malware check with a few malware scan programs.<br />
You need to use all programs because each detects different malware.<br />
Make sure that you update each program to get the latest version of the database.
* http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
* http://www.superantispyware.com/ - SuperAntispyware
* http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
* http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
* http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and [[Searches are redirected to another site]] -
Truncating Leading Zeros & Displaying Decimal Positions in a Webdynpro
Hi All,
I am new to webdynpro and assigned with some issues in webdynpro application, the issues goes like this. i already have a webdynpro application where in i am trying to display a PO as in transaction ME23 with Header and Line Items, In Line Items, i want to Truncate Leading Zeros for material Number & Item Numbers. In the net price i want to display decimal values even if our price dont have any decimal value. For Example if the net price is 33.33 then i am able to see the value as 33.33. If its 33.00 then i am able to see values only as 33. I want to see the exact value as 33.00. Let us know how to over come those issues.
Thanks in advance,
With Best Regards,
Prabahar N.RHi Santhosh,
I failed while executing the steps you mentioned, kindly look into below description for more understanding.
We have an issue like the decimal positions are truncated when the value of decimal places are Zero. For Example if the net price is 99.98 then i am able to see the value as 99.98. If its 99.00 then i am able to see values only as 99. I want to see the exact value as 99.00. The values are populated from an RFC Table, which is coming from a Standard BAPI. I find in the implementation, the attributes uses a method called bindText() available in com.sap.tc.webndypro.clientserver.uielip.standard.api.IWDtextview. Below is the piece of code,
com.sap.tc.webdynpro.clientserver.uielib.standard.api.IWDTextView NetPrice_editor
= (com.sap.tc.webdynpro.clientserver.uielib.standard.api.IWDTextView)
wdAlterEgo.createElement(com.sap.tc.webdynpro.clientserver.uielib.standard.api.IWDTextView.class, "Net_Price_editor");
NetPrice_editor.setHAlign(com.sap.tc.webdynpro.clientserver.uielib.standard.api.WDInputFieldAlignment.valueOf("left"));
NetPrice_editor.setWrapping(true);
NetPrice_editor.bindText("bapi_po_getdetail_input.Output.Po_Items.Net_Price");
NetPrice.setTableCellEditor(_Net_Price_editor);
Table.addColumn(Net_Price);
I can see from R/3 back end the values coming with decimal values even if the decimal positions are null. Any suggestions will be very helpful.
With Best Regards,
Prabahar N.R -
How would I unauthorise DE from a computer?
I've just purchased by first e-books and have read the six max computers authorised rule.
I've loaded digital editions onto the first one, and done the authorising thing.
But if at some stage in the future I want to deauthorise that computer, how would I do that?
GBI too would like a comprehensive answer to this question. I'm about to replace my desktop computer. At which point, I'll remove everything from its harddrive including Digital Editions. This is fine because I'll be able to authorise a new machine, but what if I keep my eReader for several years, and in that time work my way through a number of different computers (and/or operating system reinstalls)? At some point I will reach my limit and, if machines can't be deauthorised, my eReader will become useless.
So can you deauthorise a machine AND 'reclaim' an extra authorisation?
If not, what are you supposed to do in the senario above? -
How to eliminate or remove zeros from 1D array
How to eliminate or remove zeros from 1D array. Let say I have 1D array having foolowing elements
"0 0 0 0 0 4 0 0 9 0 0 1 4 0 0 0 0 0 0 0 0 10 9 0 0"
So after removing or eliminating zeros it will become as follow
"4 9 1 4 10 9"
So can any body guide me how can I do that? See attached Image for details.
Thanks
JKaltenbach a écrit :
hchiam wrote:
Here are 2 example .vi's I made based on altenbach's removeZeroes.png in this discussion thread:
It seems pretty pointless to post those because no new useful information is given.
Currently, only the input is defined in the connector pane, making them useless as subVIs.
unlike my example using integers, an "=0", like any "equal" comparison, is potentially dangerous with DBLs.
Reshaping a 2D array to 1D before removing zeroes is pretty pointless because a 2D output cannot be recovered. A more interesting scenario would be to remove some columns or rows (e.g. that are all zeroes) from a 2D array.
You should also clean up the front panel, e.g. properly zero the upper left corner, make the controls/indicators nicely labeled, sized and arranged, and maybe even add scrollbars to the arrays.
Thank you for those comments.
Now the input and output are defined (in the updated attachments) for use as example subVI's. I also cleaned up a few visual details, but I leave the rest for others to cater to their specific uses if they don't want to use this as a subVI (or at least as-is), such as changing the icons or changing to integers instead of doubles.
I'm not sure about what you mean exactly with "=0" being "potentially dangerous with DBLs". I'm guessing you had a certain case scenario in mind. Although the subVI's seem to work fine within my larger program and situation, my situation may not generalize with regards to this point.
I reshaped from 2D to 1D, with a 1D output, because it could be helpful for things like when later processing just needs a 1D array. For example, in my situation I had to remove a huge spike of unnecessary "0"'s from a previous subVI that were affecting the output display of a certain histogram. So it turned out a 1D array output was helpful, and you never know what problems come up, so I included the 2nd example.
Hopefully if someone is looking for this, they can just use or play with an example subVI (granted that they know how to plug things in for their context). I was hoping to post a subVI people could put to direct use. -
Synch Error: String or binary data would be truncated.
I kicked off an inital synch for WebTools 2007 (may also be an issue in 596) and I had 1 synch error for SBOPartner:
String or binary data would be truncated.
The statement has been terminated.
at netpoint.api.data.DataFunctions.Execute(String SQL, IDataParameter[] parameters, String connectionstring)
at netpoint.api.NPBase.MarkSynched(String SynchID)
at NetPoint.SynchSBO.SBOObjects.SBOPartner.SBOToNetPoint(SBOQueueObject qData)
at NetPoint.SynchSBO.SynchObjectBase.Synch()
I traced the sql log and found the problem was related to addresses. The synchid only allows 50 characters but my synchid was 51 characters (COMINF, Communication Infrastructure Corporation, S). Anyway, to fix I modified the table to allow 100 characters and reran the synch. I know an upgrade will set it back to 50 but at least it's working now.
I tried to post this to support as a bug but I couldn't figure out how (as usual) or the authorization stuff changed so I figured I would post it here so hopefully the devs will see this and update the code.
SteveThanks Shawn ... My version of Netpoint is 2007.0.620.0 and the synch manager is 2007.0.620.35247. I'm not sure what patch level this means I am on though.
Steve
Maybe you are looking for
-
Error while setting date parameter to an RFC
Hi, I am getting the following error when i am setting a parameter od Date type to an RFC java.lang.ArrayIndexOutOfBoundsException: -1 at com.sap.mw.jco.JCO$MetaData.getType(JCO.java:9201) at com.sap.aii.proxy.framework.core.JcoBaseTypeData
-
Dear All, In material master in MRP 2 view, field backflush is not appearing. Please let us know where we are doing the settings in customizing for field selection? Also please let me know whether it is with reference to material type? We are using m
-
Preferences properties and deploymentPlan
Hi, I see according to this documentation that you can make preferences properties : [http://docs.huihoo.com/oracle/docs/B14099_19/integrate.1012/b14448/appx_deploydesc.htm] It also exist configurations properties but they are not what i need. Then,
-
Material Staging for Production Order
Hi, I am doing Material Staging against production Order using T Code MF60. We don't have WM setup in the enterprise structure so the Staging is done via IM Mvmt. Type 311. My problem is that the material document created using MF60 does not have a r
-
Where are the speech analysis models?
I'm evaluating Premiere Pro CC and like others am struggling to install an additional (specifically the international English) speech analysis model under OSX 10.8.5. The file downloads to a disk image and the Application Manager launches and runs.