Decimal places on the result row is incorrect
Dear Expert,
I met a problem that decimal places on the result row is incorrect.Anyone can help me?
On key figure balance,we do the currencies translation,also we set the key figure should have two decimal places.
We set a fomular to calculate the total result of Account A,B,C.
(Total result = account Aaccount Baccount C).
If we manually sum up the balance of account A,B,C displayed on analyzer,which are rounded to 2 decimal places,the result should be 601.25(100.61200.38300.26),but the actual total result executed by query is 601.24.
In fact we need the result 601.25 instead of 201.24.
I take the example as following:
Account Balance
Account A 100.61
Account B 200.38
Account C 300.26
Total result 601.24
Thank you in advance.
Best Regards,
Maggie
Edited by: Maggie Ma on Sep 25, 2008 9:17 AM
your "problem" is, that BEx is not totalling the "displayed" values but the real values
try a summation on the following in Excel:
100,605
200,375
300,26
then format the cells to show 2 decimal places only
do you see the result changing?
Similar Messages
-
How to hide the all rows except the result row in a report?
Hi Experts,
We have a report in which the user is interested to see only the result rows and I need to HIDE the characteristics in the rows. I was successfull in doing the same for Key figures in columns using "Calculate single value as suppress result". But I am not finding a way out to hide the characteristics in the rows.
If I move the characteristics in rows to Free characteristics, the result row is not getting dispalyed. Also, the characteristics are used dynamically by the formulae in columns and hence i cant remove these characteristics from the query. . The user wants the query to contain only one characteristic in the row and the result row for the key figures in columns. The report currently displays Invoice level data for each customer and this needs to be eliminated and it should display the summarised data for every customer. Please suggest how this can be accomplished
Regards,
KavithaMoving the char to free char will show the equivalent of result.
Your issue likely is that this breaks the calculations since you do want the calculations done at detail level.
To achieve this, move your char to free char (say it is 0CUSTOMER).
For the CKF/Formula, go to aggregation tab, set the exception aggregation as Total (or whatever it was in standard behavior) and specify reference characteristic (in this case 0CUSTOMER), also check the 'Before aggregation' if you have that checkbox there.
This will ensure the calculation is done at detail level even though the char is not included in the rows.
If you have multiple chars to be moved to free char but included in detailed calculation, you will need to build cascading CKFs (CKF1 with ref char1, CKF2 eq to CKF1 with exception aggr on ref char2...and so on).
Added:
I understand you do want 0CUSTOMER in there, but something else (let us say 0DOCNO) removed. Use 0DOCNO in place of 0CUSTOMER in the case described above.
Edited by: Ajay Das on Aug 5, 2009 8:57 AM -
Display only the result rows only by using condition or any other way
Hello Everybody,
I've a web report where I want to diplay ony the result rows and don't want to display the detail rows at all. I could hide the detail rows but these rows still appear without any value in the key figure fields.
I tried to revove the characteristic field from the drilldown but it doesn't show the report correctly. Then I tried to write a condition to filter the detail rows but this condition doesn't apply to the result rows so this effort also didn't work for me.
Is there anyway we can display the report with only the result rows ? I've already tried to find out a solution on SDN but couldn't get the solution eventhough I found many posts on this kind of requirement.
Any help would be greatly appreciated.
Thanks
AlokPlease explain when you say
"I tried to remove the characteristic field from the drill down but it doesn't show the report correctly"
What is problem there? What result do you get. If possible please provide details of columns layout and few numbers -
Getting descrepency in the result row of the Query
Hi All,
I am executing a query which is having 4 Keyfigures and 2 formulas.
I am getting wrong result in the query for formulas.
Below is the query structure
f1 f2 f2%f1 f3 f4 f4%f3
date
1
2
792 408 51.78 9647 8403 88.57
All the keyfigures - result is set as total
Formula - result -nothing is defined(under calculation tab)
The result I am expecting for column 3 is 408/792 = 51.51
The result I am expecting for column 6 is 8403/9647=87.10
To get the expecte result what changes i need to do to the formula.
Thanks
JagadeeshHi Anand,
Thanks for your reply.
If i change it to summation, it will give me sum in the result row.
I am not looking for summation, i want percentage for (overall result F2/overall result F1).
Thanks
Jagadeesh -
Increase decimal places in the PO quantity and Price
Hi All,
Can the decimal places in the PO( ME21N) creation be increased more than 3 decimal places in quantity and price?
I did changes in UOM's in CUNI, I increased the decimal places upto 14 but still it does not take more than three i-e., 0.001 maximum.
Is there any other way to handle this?
Request inputs on this.
Note 569326 - ME9F: Customized decimal places are not taken into account........ found this OSS but this correction instruction is not for our pack level ECC 6.0
Best regards,
Sridharhi
In case if you are already working in production remember that decimal places should not change. It will affect all previous data.
For your problem best solution is make order unit as 1000. So that your problem will solve
e.g. instead of 2.009 inr for 1 Unit use 2009 inr for 1000 unit. -
Formatting decimal places in the X Axis
I’m having trouble limiting the number of decimal places in my X Axis on a 2 Axis plot.
I am running a script file (SUD) that sets all the other parameters in the Plot. The “Report “ file is called up and then the script controls the functions.
This is only a small section of the code. I haven’t found a command to set the Decimal place in the “help” page.
ie: Call GraphObjOpen("2DAxis1_XAxis1")
D2AxisXFormat = " "
D2AxisXAng = 0
D2AxisXRelPos = "bottom"
D2AxisXFont = ""
D2AxisXSize = 2
D2AxisXColor = "blue"
D2AxisXColorRGB = 50266112
D2AxisXAutoColor = 0
D2AxisXBold = 0
D2AxisXItal = 0
D2AxisXUndl = 0
D2AxisXStrOut = 0
D2AxisXFrame = 0
Call GraphObjClose("2DAxis1_XAxis1")
And:
When I open the “Curve and Axis Definition” window of the graph on the report page ,and set the “Format:” function to display “d.dd” It seems the script is overwriting the format that I set.
This is what I have now and would like to display only 2 decimal places in the X Axis. Can you help?
Thanks!
SJD
Solved!
Go to Solution.
Attachments:
X-Axis Decimal places.jpg 17 KBThanks Brad for you quick response.
It kind of worked... I think I might have something else going on. Not sure what though.
With the changes made in the script you suggested, the X-Axis has changed to two digits but now it displays " 1.dd "
Any thoughts where else I might have gone wrong?
Thanks again
SJD
Attachments:
2013-03-13_151027.JPG 12 KB -
How to sum the result rows at query designer
Hi,
We want to sum the result rows which are at the end of the row by the help of query designer?So ,we directly see at analyzer
exp:
..A.jan...A.feb...B.may...B.jun...SumA...SumB....SumA+B
X..1............9..........6..............7........10.........13..........?????
Edited by: zarata on Oct 23, 2011 12:49 PM
Edited by: zarata on Oct 23, 2011 1:07 PMHi,
Could you please provide some more information.
if you have characteristics iobject whose values are (A, B etc) and calendar month in rows and then at column level you have key figures then if you have turn on the "Display Result Rows" property of both iobject in Bex as "Always" you can get the result. At the same time you can set "Display Overall result" property of the Query to get overall result.
Regards,
Pravin -
Amount has moved one decimal place in the report
Hi,
I am looking in to a report at present, Transaction amount has moved one decimal place, while the local amount stays the same. Any one could tell me the possible reason for this?
Thanks in advance
RNHi,
Check this link,
http://sap.ittoolbox.com/groups/technical-functional/sap-bw/key-figure-in-cube-is-multiplied-by-100-when-displayed-in-bex-report-743076
same issue find in this.
Hope it will help you.
Thanks,
Hema -
I have a query where I am trying to restrict the query by the results row. For example:
Account Nbr Installation Type Nbr of Installations
12345 70430 Elec 1
12345 70691 Elec 1
12345 71321 Gas 2
Result Row 3
15421 70002 Gas 1
Result Row 1
In this case I would only like to see the first set because the result is greater than 1. How can I accomplish this? Thanks.
Edited by: labraun on Nov 4, 2009 7:16 PMhi ravi,
that sounds intrestin.
MAy be u can do this in the update rule i.e instead of KF use as Char and just concatinate figures.
and in the report u can do some manupiation to show results .
cheers
Babu -
How to add 2 decimal places if the number is whole number(Integer)
Hi Gurus- I had a requirement to add the zeros for two decimal places even the number is an whole number.
Example: I had a column which i gave the datatype as Number(8,2) .While Inserting from the flat file to the custom table column,i am rounding it to 2 decimal places.But if its the whole number i want that also to be rounded to 2 decimal places.
1) 3456.89675 It's getting inserted as 3456.89
2) 123 It's getting inserted as 123 (Instead i want this to be inserted as 123.00)
3) 123.50000 It's getting inserted as 123.5 (Instead i want this to be inserted as 123.50)
Can you please let me know how can i achieve it to insert any number(decimal or whole number) from the flat file as 2 decimal places in the custom table column.
Thanks in advance.Please do not post duplicates -- To update the date for the first of the month
-
How to make the Results row a toggle when the user wants/does not want see
The user wants to toggle between seeing/not seeing the Results row at the bottom of each row. How to make it like a toggle checkbox/selection on the screen so that the user can decide on seeing/not seeing it in the report. If not possible to do such a thing, then how do I totally prevent it from showing in the report. Version is 3.5 BW.
Thanks
RamFor each characteristics in the query designer, right-click and go to properties....
then in the 'Display of Results' section in the 'Suppress Result Rows' option, select: "Always".
This will suppress the result rows.
Good luck,
AT -
Presenting/Selecting the "result rows" in a query
Hi,
Here is a description of my problem:
I have a query which returns values for materials grouped by purchasing groups:
Group 1 Material A KyeFigure
Group 1 Material B KyeFigure
Result: KyeFigure
Group 2 Material C KyeFigure
Group 2 Material D KyeFigure
Result: KyeFigure
I'm using a Web application designer chart to present the values graphically. I would like only to present the result rows in the chart, not item values. But since the chart picks all KFs presented in the table (items as well) this is not the case. I've tried to find a way in the chart-settings without any luck - it seems not possible. The documentation states that you're supposed to design your table the way you want it to show in the chart. However, I'm not allowed to redesign the cube or the report. It is not possible to drill up characteristics either (this affects the calculation).
My question is: Is there a way to extract the result rows into a new table and then base my chart on that one or simply somehow present only the result rows in a chart?
Best Regards
/DanielHi Daniel,
You can create the query view in BEx Analyzer. After you execute the query, use filters, drill downs etc to get to the exact "view" of data that you would like you chart to present. Save this query view. Then in your web template assign this query view as the data provider.
Hope this helps... -
Can not change the number of decimal places in the normalization of result
dear all
i want to see the proportion of some data, for example, the income of May is 300, and the total income is 1000, i need to display it like 33.33% . so i set the
Calculate single values as normalization of result, and then it display 33.333%, i like to display only two number of decimal places, so i set the number of decimal places as 0.00, but i doesn't work, it still display three decimal numbers.
maybe you say i can use the percentage function like %CT %GT %RT, but i need to allow external access to my query, so the i can not use those functions.
can somebody helps me ? your advice is appreciated.hi,thanks for your advice, but that doesn't suit for my problem.
before i set the normalization of result, i can change the decimal values. After that i cann't.
In your thread, someone proposes use the T-code OY04. but this wouldn't help. As i change to other key figure, such as user quantity, when i set normalization of result, it still display 3 decimal values.
i think the point maybe lie in the normalization of result. please advise... thanks... -
B1 Query returning truncated decimal places when the CASE statement is used
Hi All,
Perhaps this is a friday thing.
In B1 the price setting is for 5 decimal places. I have a query the run a business process looking at the data in the Special Prices Tables. When I run the Query in SQL, the output show the correct number of decimal places. However, when the Query is then saved and run in B1, the output is truncated to 2 decimal places. Any ideas as to how I can prevent this for happening?
T0: Points to teh OSPP Table
T1: Points to the OSP1 Table
The portion of the query causing the issue is as follows:
case
when (T1.price is not null) then
T1.price
else
T0.price
endHi Earl
Seems you are right, I have tested with a few different formats and each time get a 2 decimal result. In SQL help I found the following which may explain why:
Result Types
Returns the highest precedence type from the set of types in result_expressions and the optional else_result_expression. For more information, see Data Type Precedence (Transact-SQL).
Even tried it in SQL with a stored procedure storing to a temp table and it shows the full decimals, but executing the SP in SAP Business One results in 2 decimals again.
This is indeed a strange occurrence and I a not sure how you are going to solve it! You can use NVARCHAR for example except that it right aligns the values returned, but at least it doesn't drop the decimals.
Kind regards
Peter Juby -
Printing to two decimal places on the screen
Hi everyone...
I am using mysql as my DB...my field is declared there as decimal(8,2) means to 2 decimal place..when i am getting the result i also need to print to 2 decimal place...
so when i do(rs.getDouble("Price")) it is not printing as two decimal place...how do i get it to print to 2 decimal place...
Thanx a lottttttjavax.text.DecimalFormat dfrm t=new java.text.DecimalFormat("#0.00");
//or another format see API doc for DecimalFOrmat
String result = dfrm.format(rs.getDouble("Price"));
Maybe you are looking for
-
Error Message - PLEASE HELP!
I've always been able to use my iPod with my computer since I got it. Just yesterday it was working fine but when I just plugged it in now an error message popped up: iTunes has detected an iPod that appears to be corrupted. You may need to restore t
-
Hard drive spins down and have to do a hard reboot
I have an Intel iMac 3.06 (April 2008). Ever since I upgraded to Snow Leopard especially when I am using itunes (9.02) (downloading) the hard drive spins down for no reason at all.The energy settings are fine. The only option I have is to hold the po
-
Hi, I am new to using iTunes. Just downloaded 50 shades of Grey only to find it is the BOOK and not the music. Incidentally, I find that entering this community is somewhat akin to trying to get into Fort Knox!! Too much officiousness.
-
AUR Pkgbuild and Node.js
If my package needs some nodejs packages to build/run, it's preferred to install them through AUR (when provided) or just add a line npm install -g name_of_the_package into build() function? Keep in mind that if the package has been already installed
-
Process code for Outbound IDOC type MBGMCR03
Hi Friends, I have a requirement, where in Goods receipt IDOC data from ECC 6.0 needs to be sent to the external system through XI, for that require a process code. Can you all suggest the process code for the outbound IDOC for Goods Receipt. Thanks