To find percentage value in VOFM -Formulas
Hi friends ,
I have custom routine in VOFM - formula- condition value . When i calculate percentage of XKWERT , it is adding extra zeros in the result .. I have tried with many values .. after searching i found , it has to be divided by 10000, instead by 100 . but not working fine ..
Please let me know if you know any other procedure to find percentage.
Regardss,
kani
Hi,
For few of the materials, if it is of BOM material, then though the ratio is with respect to the 1 material, when come into the real scenario, even if you enter 1 materials, based on the material type, it will be in the form of 10 or 100 units.
i.e. For that product minimum of those many materials is required, hence it is considering those many amounts.
Any how please check from your end again.
Regards,
Santhosh.
Similar Messages
-
How to get the max value of a set of percentage values?
Hi,
I've tried to get the max and min value of a set of calculated percentage values. Such as
Jan Feb March Apr May Jun Min Average Max
0,5 0,8 1,1 0,4 1 0,6 0,4 0,7 1,1
The average value works fine. But with "min" and "max" I have a problem.
I've tried to get the value with the following ways:
- Create a new calc. keyfigure and make a sum of all values: (Jan + Feb + ...) and set the calculation in key figure properties to Min/Max.
- Create a new calc. keyfigure and make a sum of all values and set the aggregation to Min/Max
- Create a selected keyfigure with a filter to the necessary periods and set a calculation to Min (Aggregation is not possible here)
- Create a new cal. keyfigure with all periods and the function Min. e.g. min(Jan, (min Feb, (min (....)
None of this solutions provides the right min and max value. When I use an amount value (e.g. Euro) instead of these percentage values the keyfigure with the min and max function works. The others all provide wrong values.
Is there a solution to get the right min and max value???
It would be a great help when you have any hints.
Thanks
ClaudiaHi Aduri,
thanks for your answer but your solution doesn't work.
The problem is that the periods are defined in a structure with offsets such as
- period-11
- period-10
- period
in this structure elements there is also the keyfigure "netvalue" defined.
In the rows of the report there is another characteristic such as company code.
Is there a solution to find the max and min values of the period values for each company code? Or must I change the data model e.g. copy the keyfigure and make a new keyfigure with another aggregation level?
Thanks for any hints!
Claudia -
How to find these values fall in what time?
Post Author: newcruser
CA Forum: General
From 9 AM to 5 PM time range..how to find these values fall where?.
Is that done using group selection method?. Please give me idea and direction
UserId Type login logout1 1 2008-04-13 09:30:42 2008-04-13 10:30:122 2 2008-04-13 09:30:12 2008-04-13 11:00:323 1 2008-04-13 10:30:32 2008-04-13 12:56:234 2 2008-04-13 10:30:42 2008-04-13 12:00:345 2 2008-04-13 11:30:34 2008-04-13 13:40:236 1 2008-04-13 12:30:43 2008-04-13 13:00:437 1 2008-04-13 13:20:43 2008-04-13 14:45:218 2 2008-04-13 14:30:42 2008-04-13 15:15:599 1 2008-04-13 15:00:42 2008-04-13 16:30:4210 1 2008-04-13 16:20:42 2008-04-13 17:00:00Post Author: newcruser
CA Forum: General
In my case minimum (login) time changes and maximum(logout) time changes everyday.
I want to create from minimum (login) to maximum(logout) for every hour, how many people are online. How to do?.
UserId login logout1 2008-04-13 09:30:42 2008-04-13 10:30:122 2008-04-13 09:30:12 2008-04-13 11:00:323 2008-04-13 10:30:32 2008-04-13 12:56:234 2008-04-13 10:30:42 2008-04-13 12:00:345 2008-04-13 11:30:34 2008-04-13 13:40:236 2008-04-13 12:30:43 2008-04-13 13:00:437 2008-04-13 13:20:43 2008-04-13 14:45:218 2008-04-13 14:30:42 2008-04-13 15:15:599 2008-04-13 15:00:42 2008-04-13 16:30:4210 2008-04-13 16:20:42 2008-04-13 17:00:00
i found minimum (login) and maximum(logout) using below formula. Now i want to find every hour from minimum (login) to maximum(logout) , so i can use each hour value in formula to calculate how many people are online for that particular time. How to do that?.
@Minimum
DatePart("h",(Minimum ()))
@Maximum
DatePart("h",(Maximum())) -
How to find the value of a variable in other program
How to find the value of a variable in other program say I am in a FM and this FM is being called in from other program and I want to know some of the variable details of the program from the FM itself. Imagine if this is a txn. and I need to know the details from some of the programs while executing the same transaction
Regards
VinHi Vinayak,
you will be having your first program values in internal table or some variables,
when you are calling the second program you wii use like this,
SUBMIT <Second Program Name> USING SELECTION-SCREEN '1000'
WITH s_emp(second program select-options) IN t_emp(first program variables)
WITH p_chk EQ t_chk
WITH p_r1 EQ t_r1
WITH p_month EQ t_month
WITH s_cust1 IN t_cust1
WITH p_r2 EQ t_r2
WITH s_cust2 IN t_cust2
WITH s_week IN t_week
AND RETURN.
you have pas like this to get your first program details. -
Flash Chart : Percentage values in the pie chart and values in the legend
Hi All,
Query is :
SELECT null link
,GN.region Region
,ROUND(100*ratio_to_report(COUNT(DISTINCT GN.submittedbyemail)) over (),2) value
FROM goodnews_stories GN
GROUP BY GN.region
I use the above query to display the flash pie chart percentage values.
The values are displayed in percentage in legend as well as on the chart.
I need to display the values in the legend and percentage values in the chart.
How this can be achieved ?
Regards,
ArchanaHello,
Can we do this using apex? I have observed in legend as well as on chart it displays the same values which are generated by the sql query.
Regards,
Archana -
To display percentage value dynamically in SSRS chart
Hi,
I have got a requirement to show percentage values in Y AXIS.
X axis is year. There is legend color. Below the result set of the query, on top of this i have to do report. (Data set query cant be changed as it already using for other report)
Sample Data
Year Color
2012 Black
2012 Black
2012 Red
2013 Black
2013 Black
2013 Red
2013 Red
My requirement is like year 2012, for black 66% (2/3) and for red 33%(1/3).
How can we achieve this without using extra dataset and lookup?
Your help is highly appreciated.
Thanks!
ShamsuddeenHi Shamsuddeen,
According to your description, you want to display the proportion for each color within each year.
In your scenario, you can achieve your requirement follow steps below:
1. Design a chart, specify the Category Groups with [Year] and [Color]. Then check the group name of the [Year].
2. Specify the expression within Values panel like below:
=Count(Fields!Color.Value)/Count(Fields!Color.Value,"Chart1_CategoryGroup")
3. Right click the chart to open Seriese Label Properties, change the number formatting option as Percentage on Number page. Then preview the report.
If you have any question, please feel free to ask.
Best regards,
Qiuyun Yu
Qiuyun Yu
TechNet Community Support -
How to use a cumulative value in a formula
hi, experts
I have a question about how to use a cumulative value in a formula. Below is the example:
wk1 wk2 wk3 wk4 wk5....wk n
sales order 5 10 15 10 5
build plan 8 8 10 15 10
result 3 1 -4 1 6
result row is what I want to get, the formula is:
wk1 result = wk1 build plan - wk1 sales order
wk2 result = wk1 build plan + wk2 build plan - (wk1 sales order + wk2 sales order)
wk3 result = wk1 build plan + wk2 build plan + wk3 build plan - (wk1 sales order + wk2 sales order + wk3 sales order)
I've already ticked the cumulative in properity of the key figures. It seems like that the cumulative results only can display, but can't be used in formula. Could you please help me? Many many thanks !!Hi
In properties of that formula, there is option called 'formula collision' there you select 'formula from compiting result'. I think this will solve the problem. -
How to change the variable value in fox formula?
Hi All,
Please help me achieve this scenario,
in the variable selection screen , i wil give some i/p like, calyear(0calyear) = 2008.
In planing function using FOX formula, i must be able change the variable value to 2009.
Will it be possible to achieve this, can we change a variable value using FOX formula, if possible
please let me knw how to achieve this.
Thanks n Regards,
Priya.Hi Priyadarshini,
i dont know what is your requirement exactly.If you can give a better explanation of ur requirement we can help you. But to answer your question yes we can get new values for the variable in the planning function.
for this you need to couple the planning function together with the planning filter in a planning sequence. This planning filter should have the variable that you wanted to change. In the WAD when you want to call this planning sequence there is an option to call variable screen. If you enable this, it will pop up the variable screen to get this value again.
Guess this was helpful.
Regards.
Shafi. -
How to use cumulative Value in a formula
Hello Gurus,
I would like to use the cumulative value in a query as part of a formula calculation. I have created a KF which is assigned a constant value 1. When displaying the KF I am cumulating it so for each row I am getting 1,2,3,4...etc. How can I use this cumulated value in a formula calculation?
For example, in a column cumulative count is 1,2,3,4...etc .My requirement is ,i want to identify the record with number 36 , to do this i have created a formula with boolean Equal to function comparing with the required number, but the boolean result what am i getting is Zero instead of one(1).
The reason i found behind the problem is, the cumulative count that we see is dynamically happening during the run time for display ,but the internal value is 1 only.
Is there any other way to meet this requirement or am i missing anypoint?.
Thanks.Dear Yaseen,
To get the value in formula cumulative,after you have created the formula for that particular key figure,go to edit and click on tab "calculations".
In that select overall result as 'count all values not equal to zero' and single result as 'count all values not equal to zero' .
And mark the cumulative check box underneath.
I hope you get the desired result and please do me favour .
Sumit goomber -
How to find report values using report writer
hi,
Please help me.
How to find report values using report writer
Regards,
RRK.
Edited by: Alvaro Tejada Galindo on Feb 6, 2008 12:01 PMThanks all for the reply.
I am trying to solve a problem where report parameter value that is set at Management Console is wiped out after calling replaceConnection.
databaseController.replaceConnection(oldConnectionInfo, newConnectionInfo,
null,DBOptions._doNotVerifyDB);
We have to support changing database connection from a java utility
class. But once replaceConnection is called all existing static parameter values are lost. To fix this issue we thought of getting parameters and values before calling replaceConnection and setting it after replaceConnection.
Version is CS2008 SP3 - version 12.3.0.601
If there is any other option of fixing the original wipe out issue?
ParameterValues.getValues() didn't return value. I will try ParameterValues.getCurrentCalues() but the document says ParameterValues.getValues() is equivalent to the IParameterField.getCurrentValues() method unless it is empty, in which case it is equivalent to the IParameterField.getDefaultValues() method.
So getCurrentValues() may not work. -
How to increase the salary based on the percentage value
Hi All,
Could you please let me know which API need to be used to implement the hike in salary based on the percentage value. And what all the parameters to be used.
Appreciate your help...
Thanks...Dear All,
Any luck on this please?
thanks.. -
How can i find the value category code in CJVC
Hi Gurus
how can i find the value category code in CJVC and which tables its stored.can any one tell me.please pleaseRead TPIK3 in an internal table, then search COEP-KSTAR in this table, with KSTAR between TPIK3-KSTRF and TPIK3-KSTRT, and other keys like Controlling Area and application/component (eg "PS" in project-system as in CJVC or "PM" in Maintenance as in IW33, multiple application use this table). You can also use a FM like PS_FIND_ACPOS_FOR_KSTAR.
Regards,
Raymond -
Function module to find charateristic values
hi all,
i need to find charateristic value and characteristic description for the given class type and batch number (CHARG) of a material.. is there any function module that gives these value because this value r not stored in the tables..
thanks in advance,
aswin.Hi,
Please check this FM.
VC_I_GET_CONFIGURATION
CUCB_GET_CONFIGURATION
call function 'VC_I_GET_CONFIGURATION'
exporting
INSTANCE = vbap-cuobj
LANGUAGE = SY-LANGU
TABLES
CONFIGURATION = i_config
EXCEPTIONS
INSTANCE_NOT_FOUND = 1
INTERNAL_ERROR = 2
NO_CLASS_ALLOCATION = 3
INSTANCE_NOT_VALID = 4
OTHERS = 5.
OR
data: i_char type table of comw with header line.
* Retrieve Characteristics.
call function 'CUD0_GET_VAL_FROM_INSTANCE'
exporting
instance = vbap-cuobj
tables
attributes = i_char
exceptions
instance_not_found = 1.
Regards,
Ferry Lianto -
I have an itunes gift card that I want to check the value so I know which card I am giving to whom. Is there a I can find the value without removing the security strip?
Hi,
sorry, i got no idea how to get the datatype of a variant, but there are properties "ActualSize" and "Type" of the ADO Field-Object. In case of an empty field the ActualSize is zero. Maybe you can use that. See VI below.
best regards
chris
Best regards
chris
CL(A)Dly bending G-Force with LabVIEW
famous last words: "oh my god, it is full of stars!"
Attachments:
DB_Test.vi 67 KB -
Where i can find the value categry code and element in cjvc
hi gurus
where i can find the value categry code and element in cjvc .in which table these fields are stored.could anyone tell me relation.
Thanks & Regards
Sandyanot answer
Maybe you are looking for
-
How do I create a PDF Form in Pages
I am trying to work out how I can create a questionnaire in Pages with drop down boxes that converts to a PDF form for my clients to complete. At present I am using Serif on my Windows Laptop but would like to use the Mac to do this. The aim is that
-
How can I shuffle individual playlists?
Can I set my iPod Classic (newest 160 GB model) to shuffle songs within an individual playlist? The "Shuffle Songs" setting only shuffles EVERYTHING!
-
IPod Touch continually asking for iTunes password
Since syncing my iPod Touch 2g to my new MacBook Pro, it's always asking me for the iTunes password. First time I synced it noted I previously synced to another Mac and asked if I wanted to merge or replace; I hit merge, probably not the right thing
-
does anyone know if it's possible to use iglasses while recording video from isight in iMovie '08? Any answers appreciated
-
Satellite M70: accessing data of temperature and fan
While we hadn't such problems with other laptops, we didn't find a way of accessing the data of temperature and fan on a Satellite M70. A friend tried this under Linux but didn't succeed and also with XP I don't find a way of reading the data (curren