Percentage Function in BEx Formula
Hi matez,
I have defined a Formula as below :-
Operating EBITDA Margin = 'Operating EBITDA' / 'Operating Revenues'
How can I display this value as a <b>Percentage </b>???
Hello John...
Normally when u create a FORMULA it shows a Formula symbol but if u want the Description to show or Dispay
%EBITDA its just u have to type % in the Description....
Cheers
Preethu
Similar Messages
-
How to define Excel function using BEx formula
Hi experts,
May I know how to define the following Excel function using BEx formula?
IF(AND(Revenue<0,Cost<0),"N/A",(Profit/Lost/ABS(Revenue)))
Thanks!for me its easy to implament logic with * and + rather than AND and OR respectively
((Revenue<0)(Cost<0))Value +((Revenue>0)(Cost>0)) ( Profit&Lost / ABS(Revenue))
As i have mentoned already,for Else case i have considered (Revenue>0) and (Cost>0) only.
Value can be a KeyFigure/Formula/formula variable/CKF/RKF
its not possible to type characters in the formula window so 'N/A'
Regards.
Message was edited by:
Murali c -
How to use percentage functions in BEx with structures
Hi, I need a help.
I have a query with a structure in the rows: two characteristics at left then the structure.
Plant, Year/Month and a structure with 3 lines (Line A = movement type = 1, 2, 3, Line B types 4, 5, 6, Line C types 7, 8, 9).
In the rows just a quantity.
I'm trying to use percentage functions CT or GT in the rows, but it's not working.
The idea is something like:
Plant 01 07/2010 Line A 30 30%
Line B 20 20%
Line C 50 50%
Result 33%
08/2010 Line A 40 20%
Line B 60 30%
Line C 100 50%
Result 66%.
When I do not use the structure percentage function works well, but with the structure results are completely wrong.
Any help will be appreciated.
César MenezesYou either have to use exception aggregation to give you the total per plant and use that in your percentage calculation, or you could define a formula in the cells. Here you can reference the specific cells you want to use as inputs.
-
MAX( , ) function in BEx formula
Hello Experts!
Does anyone know, how the mathematical function MAX( , ) in BEx-formulas work? Which are the two parameters if i want to have the maximum of the values in one colum? Or does this function work another way?
Best Regards,
PeterHello Oscar!
Thank you for answer! Thats what I want to know but it doesn't solve my problem. If I use calculate result as maximum and if I want to calculate with this value (maximum) than i got a result which is calculated with the sum, not with the maximum which I see as result.
I do open a new thread for new question...
Thanks,
Peter -
Percentage function in Bex?
Expert's,
There is % caluculation.But I am getting X for that calculation.Where as for other column I am getting correct value. what could be reason.
I have created formula."Please explain what is this formula collisions? "
Hi Vasu,
As Stefan and Oliver suggeted, have you checked the Formula Collision property of that KY. When you right click, and select properties, you'll see Formula Collision property. If you are using 7.0, for the KF, there is a tab for Extended ( on right side), there you'll see formula collision property. Formula Collision can happen, if you are one formula in teh calculation of another formula.
http://help.sap.com/saphelp_nw04s/helpdata/en/5b/30d43b0527a17be10000000a114084/frameset.htm
Hope this helps. -
Missing results when using percentage function %GT
Hi all,
I'm using the percentage function in BEx. As you can see in the left two columns, it works fine when the results are higher then 0,4. All the results less than 0,4 are set to 0. In the last column I calculated the results with an Excel formula.
Any Idea, what the problem can be?
4.392,080 1,5635 % 1,563481163
997,440 0,0000 % 0,355066085
4.761,680 1,6951 % 1,695050405
1.260,000 0,4485 % 0,448531508
469,600 0,0000 % 0,167166981
280.916,720 100,0000 %
280.916,720 100,0000 %
Many thanks in advance!Dear Daya sagar,
Iam tried with taht functionality the query it self it is showing wrong and iam getting below error as result.
Diagnosis
The query contains a formula with the operator %RT. Therefore, the query cannot be released for OLE DB for OLAP.
The operators %GT, %RT, %CT, SUMGT, SUMRT, SUMCT and LEAF depend on the display of the list in the BEx Analyzer. If you used OLE DB for OLAP or MDX, this formula would deliver unexpected values.
Procedure
Do not release the query for OLE DB for OLAP, or do not use the operators %GT, %RT, %CT, SUMGT, SUMRT, SUMCT or LEAF. You may be able to achieve the desired result by selecting constants.
and report output is not coming.
Thanks & Regards,
Sathish -
BEx Formula Basic Function ' High '
Hi Friends,
Can you pls help me what is the use of New Formula > Functions > Basic Functions > High.
Pls suggest as how we can make use of it.
pls provide me if there are any training doccuments available on New formula functions like,
Basic Functions
Percentage functions
Data Functions
Mathematical Functions
Trigonometric Functions
Boolean Operators
Your valuable inputs will be rewarded.
Thanks,
ChetanPercentage Variance (%)
● <Operand1> % <Operand2>
This gives the percentage variance between operand 1 and operand 2. It is identical to:
Formula 100 * (<Operand1> - <Operand2>) / abs(<Operand2>) , if <Operand2> is not equal to 0 and the character for Division by 0 if <Operand2> is equal to 0.
Plan Sales % Actual Sales specifies the percentage difference between the plan sales and the actual sales.
Percentage Share (%A)
● <Operand1> %A <Operand2>
This gives the percentage share of operand 1 and operand 2. It is identical to formula 100 * <Operand1> / abs(<Operand2>) , if <Operand2> is not equal to 0 and the character for Division by 0 if <Operand2> is equal to 0.
"Fixed costs" %A "costs" expresses the proportion of the total cost of a product that is the fixed cost.
Percentage Share of Result (%CT)
● %CT <Operand>
This shows how high the percentage share is, with regard to the result. The result is the outcome of aggregating the second highest results level (interim result).
If a characteristic has been drilled down in both the rows and the columns, this reference is not unique. The system displays a warning and the relevant symbol for Data Does Not Exist.
Percentage Share of Overall Result (%GT)
● %GT <Operand>
This shows how high the percentage share is with regard to the overall result. The overall result is the outcome of aggregating the highest results level. Dynamic filters (filters that were not specified in the Query Designer) also play a role in calculating the overall result.
Percentage Share of Query Result (%RT)
● %RT <Operand>
This is the same as %GT.
Unlike the process for calculating the overall result, dynamic filters are not used in the calculation of the query result. This means that the calculation always normalizes to the same value, irrespective of the filter status and the navigational state.
Value = 1 if operand <> 0, otherwise 0 (numerator)
● COUNT(<Expression>)
Returns value 1 if the <expression> is <> 0, otherwise 0.
Processing a Value as a Date
● DATE
The value is seen as the number of days from 01.01.0000 onwards and is output as a date.
The value can be between 0 and one million, which results in a date between 01.01.0000 and 27.11.2738.
Value = 1 if operand = 0, otherwise 0
● DELTA(<Expression>)
Returns value 1 if the <expression> is 0, otherwise 0.
This function is identical to the NOT operator and should no longer be used.
NDIV0 (x): Equals 0 when divided by 0, otherwise x
● NDIV(<Expression>)
Is 0 if the calculation of <expression> causes a division by 0. Otherwise the result is the value of the expression. Used to avoid error messages or so that you can continue to calculate with a defined result.
Values Without Dimensions (Without Units)
● NODIM(<Expression>)
Returns purely numerical values of <expression> and suppresses units and currencies.
NOERR (x): Is equal to 0 for undefined calculations, otherwise x
● NOERR(<Expression>)
Is 0 if the calculation of <expression> leads to an arithmetical error. Otherwise the result is the value of the expression. Used to avoid error messages or so that you can continue to calculate with a defined result.
NOERR(SQRT(-1)) = 0
Result
● SUMCT <Operand>
Returns the result of the operand to all rows or columns (more information: Percentage Functions % CT).
● SUMGT <Operand>
Returns the overall result of the operand
● SUMRT <Operand>
Returns the query result of the operand
Processing a Value as a Time
● TIME
The TIME operator takes any key figure or (partial) formula and makes a key figure of type TIME. Go to the formula editor and, for the operator, double-click the Process Value as Time data function and, for the operand, double-click the key figure you want. For example, the formula is then TIME(Sales).
The system cuts off the decimal places, interprets the value as seconds, and displays the value in format +-hh:mm:ss. For example, -4812 is displayed as 1:20:12.
Any number is seen as the number of seconds from 00:00:00 onwards and is output in hours, minutes, and seconds. A key figure of type TIME with value 0 is displayed as 00:00:00.
Negative times are permitted: With a negative number, the system calculates from 00:00:00 backwards.
You can enter any number of hours. The system does not restart at 0 after 24 hours. -
HI ,
I'm trying to display a column that show the 'SHARE' calculation in BEX query.
Share = (Value by Order / Total Value by Order Group )*100
<order group> <order> <value> <Share>
ABC 31000001 $200 28.57%
XYZ 31000005 $400 100%
ABC 31000007 $500 71.42%
Note : In the above, order group ABC , Order 31000001, Share = (200/700)*100
I'm unable to sum up by order group in query.
Is there any way we can utilize CKF (aggregation) or anything other method that can be used to populate this column.
Appreciate help from anyone who's familiar with this.
Thank you.
Regards,
Maili
Edited by: Maili06 on Mar 31, 2011 6:07 AMHI Divyesh,
I'm using an alternative approach. This manage to solve my issue.
I'm using SUMCT function in BEX.
I create :
Formula 1 --> formula sumct(Value)
Formula 2 --> (Value / formula 1)*100
Formula 2 provides the share percentage for me.
I placed the Order group as the first column.
You may find abt sumct here :
http://help.sap.com/saphelp_nw04/helpdata/en/03/17f13a2f160f28e10000000a114084/content.htm
http://www.scribd.com/doc/46732230/SAP-BI-Reporting
hope it helps you to solve your prob.
Regards,
Maili
Edited by: Maili06 on Apr 1, 2011 11:52 AM -
Error while running IP function on BEx
Hello Experts,
I was trying to run Planning Function "Revaluation" from BEx work book with using BEx formula variable.
But I have get below error message:
*"An error occurred while communicating with the BI server"*
*"As a result of this error, the system has been disconnected from the BI server."*
*"Exception condition "INPUT_NOT_LEGAL" raised. "
My other functions and FOX are successfully running from BEx. And this specific revaluation function also runs on RSPLAN environment when I try to test under planning Sequence.
If any one has any idea about this error. I will be glad to get his/her opinion.
Thanks,
AliHello Experts,
I was trying to run Planning Function "Revaluation" from BEx work book with using BEx formula variable.
But I have get below error message:
*"An error occurred while communicating with the BI server"*
*"As a result of this error, the system has been disconnected from the BI server."*
*"Exception condition "INPUT_NOT_LEGAL" raised. "
My other functions and FOX are successfully running from BEx. And this specific revaluation function also runs on RSPLAN environment when I try to test under planning Sequence.
If any one has any idea about this error. I will be glad to get his/her opinion.
Thanks,
Ali -
How to use rounded values in BEx Formulas
Hello,
I have the following question. Is it possible to use rounded values up to a certain # of decimal points in BEx Formulas?
I have the following problem.
Consider this:
keyfigure val 1 = 0.416666667
keyfigure val 2 = 72
val 3 (BEx Formula) = val 2 / val 1 = 172.799999862
However, what I need to do is this.
val 1 & val 3 should rounded up to 2 decimal points. So, I really need the report to show this:
val1 = 0.42
val2 - 72
val 3 = val 2 /val 1 = 171.43
I changed the number of decimal places on val 1 and val3 to be 0.00. However, it appears that these rounded values are not taken into account in the Formulas, as if the OLAP still uses the original values from the backend with 9 decimal points. So, no matter how many decimal points I use on the Display tab for a key figure, my val3 or result of my formula is always taking into account the 9 digit decimal values, not rounded values that I want. So in the example above, my val 3 comes to 172.80, which it should be 171.43 instead of you use the rounded values in the calculation.
Please let me know if there is any workaround where I could force my BEx Formula to utilize the rounded values and not actual values from the backend DSO. Or any other solution.
Thank youIf you create a Formula in BEx Query Designer like the one below, it works:
val3 = val2 / ( TRUNC ( ( val1 * 100 + 0.5 ) ) / 100 )
The TRUNC function (among other things) actually ensures that your formula takes into account the rounded values that you want. -
Percentage Function in a report
Hi,
I am new to BO and was trying to use percentage function. The function is working fine, but I have created a break on one dimension and hence the percentage is calculated according the break. I want to calculate the percentage for the entire data. I know I can remove the break and calculate it, but i do not want to remove the break. please let me know how do I do that.
Thanks,
MVHello,
You should be able to use the "in" operator, such as "in block" in your total formula to get this.
Thanks -
Error in Percentage function - %GT
Hi,
Im using Percentage function %GT like:
%GT 'Key Figure'
But when i execute my query i am getting below error:
Exception in BI runtime
The formula operation %GT is not allowed here (formula 488YAHA2EN2SD4JL3TM9LQDJI)
Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
Query ZSD04_GRP_CONTRI could not be opened.
Log ID: 00144F2D7956005500000F09000006720004428E85AE70BD
Initial cause
Message:
Termination message sent ABEND BRAIN (429): The formula operation %GT is not allowed here (formula 488YAHA2EN2SD4JL3TM9LQDJI) MSGV1: %GT MSGV2: 488YAHA2EN2SD4JL3TM9LQDJI MSGV3: 482PMQCW7PKQWGESLYU7IA3V2
Im not getting whats the cause.
Help me in this regard.
Thanks !You are trying to use Formula function %GT in CKF. First of all CKF is a global formula which will be used in all the queries where same infoprovider is used. So while creating CKF these formula functions like SUMCT, SUMGT, SUMRT, %GT, %RT and %CT are not available for CKF.
If you want to use these formula fucntions %GT ....then create local formula instead of creating CKF.
In short, Formula functions like SUMCT, SUMGT, SUMRT, %GT, %RT and %CT are created only locally.
Regards,
Mona
Edited by: Mona Kapur on Jan 5, 2008 4:54 AM -
%CT percentage function in Calculated Keyfigure missing
Hai,
I want to use the %CT percentage function in Calculated keyfigure.
But I can only find % and %A function under the PERCENTAGE FUNCTION. Am using BW 3.5. Why is it so?
Regards,
Neha SolankiHi neha,
This will be not available in CK's u have to use formula to get this.. Just try to create the Formula in the querry instead of CK...
Khaja -
HI all,
Iam searching in SDN for examples or pdf for formula operators like Basic functions,Percentage functions,Data functions,Mathematical functions,Trignometric functions and Boolean functions.But I couldn't.
Please send me if any body have a pdf on how to use examples of these operators.
ThxHi,
Please find the links, they will help you -
Percentage Functions - [http://help.sap.com/saphelp_nw70/helpdata/en/71/0aec3b6e011341e10000000a114084/frameset.htm]
Data Functions - [http://help.sap.com/saphelp_nw70/helpdata/en/71/0aec3b6e011341e10000000a114084/frameset.htm]
Bollean Operators - [http://help.sap.com/saphelp_nw70/helpdata/en/71/0aec3b6e011341e10000000a114084/frameset.htm]
Hope these help.
Regards,
RahulM -
Hi all,
I am writing a query where I need the help of some data functions but cannot find them.
I have read about SUMCT<operand> and SUMGT<operand> and also percentage functions like %GT. All these are not available when i am trying to create a calculated key figure.
Please suggest me some alternative and if possible can I get these functions?
Thanks and warm regards,
SBHi Sharmishtha,
Hope you fine there.
when we are creating formula or CKF , On the right side of the screen, you see the functions that are available as operators:
○ Basic functions
○ Percentage functions
○ Data functions
○ Mathematical functions
○ Trigonometric functions
○ Boolean operators
With rgds,
Anil kumar Sharma .P
Maybe you are looking for
-
Dynamic Vlan Assigment on 2950 with acs 4.2
Hello to everyone We have a problem with Cisco 2950G 48 EI and ACS (version 4.2) providing dynamic Vlan assignment based on groups On the ACS we configured the following attributes for the specific group 64 = VLAN 65 = 802 81 = VLAN Name We tried for
-
Following Paragraph Style - a bug?
I have a list style that is currently active. I am on that list style now and over in the More section of the Text pane in the inspector, I choose a paragraph style as the "Following Paragraph Style". However when I hit return (to start a new paragra
-
Search queries on request order in SE03
hi gurus... I wonder how can i find a query on a request order in SE03 ?? I ve got the technicall name of the query, how can i know in what order is... regards joker
-
Want to enlarge size of Quick Time Movie Screen
I have been creating short video movies on my iMovie and transferring them to Quick Time for eventual streaming video viewing on web with the help of Quick Time Pro. The iMovies look great on full screen but when trying to transfer them to Quick Time
-
HELP.....N900 incompatible to HT820
hi every sifu here.. i wonder why my bluetooth motorola HT820 cannot receive my N900 music smoothly when i play the music via media player? the music seems like play discontinuously(like get hanged).. then i play movie..whole N900 hang there.. after