Sort by calculated value
Hi guys,.I have a column in my rich text that displays the value calculated using the following syntax
<? xdofx:(MATH01+MATH02+MATH03+MATH04+MATH05+AA+AA1) + ((FNDCD01+FNDCD02+FNDCD03+FNDCD04+FNDCD05+MCHCD01+MCHCD02) div ' 8')? >
I need to have the data sorted in ascending order, by the above calculated value, I tried to use sort with the content of the support above, but somehow he refuses to add the content of FNDCD01, FNDCD02, etc., because they are of a different data type, strangely enough the XDOFX can display the sum properly... But I need to sort through it and perhaps to apply a conditional formatting based on the value of the calculation...
It would be appreciated any help about it with gratitude.
Kind regards
Karine
where
F551721. WARRANTY8 = '5004181'
Group of F551721. UKID, F551721. WARRANTY8, F551721. MCU, F551721. ALPH, F551721. ALKY
Order of F551721. UKID, F551721. WARRANTY8]] >
You use, just addition.
Tags: Business Intelligence
Similar Questions
-
Calculated value in the upper part of the table?
Hello
I am writing a report from scratch to use E-Business Suite. I created my definition of data and model RTF, but am struggling with a requirement of the company on the model.
We have a tabular report that has some data. The company now want a calculated value that can be displayed on the report, but they want it at the top of the report, rather than the end. So I need to make the report (because then the variables from the report are filled and the calculation is done) but then display the result of this before the report. Is this possible? Pointers are appreciated.
Thank youLooks like that
>
>
has for each
Try to sthcount(PART_NUMBER)
-
Calculation value that is used in the Condition of year-round
I found that if I have a text field element in a region and I put its value in a calculation (after the region) that this element will not work in a "condition to evaluate.
Text field element is FirstName. No set of default values and "always replace...". "
Calculation (after the regions), the value as a static assignment to JOHN.
There is a second computation (after Regions) for another article with a condition. The condition is "the point value to expressin 1 = value of element in the expression 2".
First name in JOHN and expression1 in expression2.
When I look at the debugging session FirstName prepares to JOHN, but the second calculation does not run.
Now if I give FirstName, a default value of JOHN where the element is defined, then the second calculation runs.
It appears to me that something different is happening with a calculated value that does not allow to use in a condition. Can anyone help.
Thank you very much.Hello
I tried to reproduce your case:
I have a region containing two elements P6_X1 and P6_X2 (no default value and always...):
For P6_X1, I created the static calculation (after region, sequence 1)
For P6_X2, I created the math static (after region, order of the sequences 10) with the conditon (value of the element / column is 1 Expression = Expression 2), where Expression1 = P6_X1 and Expression2 = JOHNAnd in my case it works:
You can see what is happening in my debug
0.09112 0.00030 Computation point: After Box Body 0.09142 0.00031 ...Perform computation of item: P6_X1, type=STATIC_ASSIGNMENT 0.09173 0.00046 ...Performing static computation 0.09219 0.00093 ...Session State: Save "P6_X1" - saving same value: "JOHN" 0.09312 0.00031 ...Perform computation of item: P6_X2, type=STATIC_ASSIGNMENT 0.09342 0.00039 ...Performing static computation 0.09381 0.00038 ...Session State: Save "P6_X2" - saving same value: "LITTLE"
Have you checked the sequence of your calculation?
What is your exact condition for the calculation? For expression2 don't you user JOHN or "JOHN"?Kind regards
Aljaz -
How to develop lines of a table of calculated value of a field
Hello
I'm defining the lines of an extendable table following the calculated value of a field.
The calculated field comes from two date fields that are used to calculate the number of days and I want my table/line to expand depending on this number...
Is is possible? At this moment I have a button that adds an instance "Admin_Use.Table3._Row1.addInstance (1);" but I want to be triggered by the calculated field to the place...
Thank you very much!!!
Hello
Here is the form to the you: https://acrobat.com/#d=AmNfJzA-jGLL9-moO888IA.
Have a look at the script of the calculate of the TotalDays event. Because you use the calculate event, it is important that you set the number of instances of the first line and the last line of the script in this case statement is setting the value of the object ($ = i).
Hope that helps,
Niall
-
Store the calculated values in a table
I do a program that computes a value double whenever the user clicks an OK button. For this I use a while above the NO-SCOPE loop that generates a new signal of each cross and a while loop around the code that I use (it requires the use of a while loop). I wonder, how can I keep a value whenever it is calculated in a list or table so that the user can see all the values.
-
Maintaining a calculated value for iterative calculation
LabVIEW Forum Dear members,
It may seem like a trivial question, but I'm having trouble with this problem using the LabVIEW vi & environment. I explain as follows:
I need calculate and display as a graph, the content of a hopper which is initially filled to 100 tons. The hopper is to be released and filled at the same time, I have values for filling and discharge in 1 second intervals. The contents of the hopper is a calculation simple mass balance, hopper content = materials of entry - exit. Here are the first few sets of data:
Material in hopper off content theoretical hopper hopper
0 0 100
0 1.534057 98.465943
0,345 5,250186 93.560757
0.6 6.801075 87.359682
How can I calculate iteratively and use the calculation "Content theoretical Hopper" hopper upstream and downstream? I use the Simulation & control framework so I can't use the loop in this frame. Attached is the program vi far and Graph2 XY build is where I'm wanting to display these data in content of hopper.
Any help would be appreciated gratefully.
Kind regards
Hi bunnykins,.
You asked a question of LabVIEW on the Discussion Forum of the tiara. Please repost on the LabVIEW Discussion Forum.
Brad Turpin
Tiara Product Support Engineer
National Instruments
-
Calculate intermediate values and calculated values
I use OPA for a week or two and now understand how to structure evaluations logics, hierarchies, etc.
Now, as the calculations become more complex, I was wondering if it is possible to calculate the variables to be used in further calculations.
A good example may be I want to calculate the age of the subject for use in several calculations later in the logic. I have an incoming parameter that provides the subject of birth date - can I somehow fill a variable like "age of the subject = the number of years between the date of the topic of birth and the date of the day? "I want to fill ' age of the subject ' with a number instead of evaluate what true or false - is it possible?
The second part of the question, it is that I want the web service to return "the age of the subject" as the parameter value.
Thank you!
In Oracle Policy Modeling, 'attributes', the 'entities' and the 'relationships' are the terms that you will be interested. Attributes can be Boolean, or can be a value of various types of data. Consult the help for your version and search attributes, entities and relationships. A base attribute such as 'age in years' value can be calculated from other attributes such as "the data of birth of the person." An attribute that is provided as input via an external system or via an interactive interview is also called a base level attribute, while a determined political base don attribute can be an intermediate attribute (both determined and used as a condition to determine another attribute), or call a top-level attribute (determine on the basis of politics) (, but not used as a condition). The aid also includes examples of policies that are used to calculate the values of attributes.
-
Entre-Filtre on the column using calculated values of presentation-variable
Hi all
I would like to know if it is possible to filter a column with an entre-declaration using two calculations on an single variable of presentation in Oracle BI answers
What I have:
-OBIEE 10 g
A line chart that shows the revenue over a period of several years: in 1999, there could be € 100,000 in 2000, it could be € 80,000,..., in 2009, it might be €95,000 and so on.
What I want:
Now, I would like to create a dashboard can quickly choose a given year, for example, 2006.
The table should then display the data for the year given (2006-...) and two years more early (2004, 2005) and two years after the year (2007,2008) chosen.
Example:
If 2006 is chosen, then the data from 2004 to 2008 should be indicated in the table
If 2000 is chosen, then 1998 to 2002 data should be included in the table.
[...]
What I did:
-J' created the prompt, set its presentation to var_yearvariable.
-J' then I created a filter on my years column, choose "between" in the drop-down list.
-J' added two 'Variable-fields in the filter dialog', each filled with var_year and a default value.
-J' tried to add a + 2 or - 2 in the field of variable expression, but (of course) has been a mistake.
Thanks in advance and greetings from the Germany,
Chris
Edited by: user12288481 the 04.08.2010 13:18Just reverse the filter:
@{var_year} {2009} BETWEEN "-Dates. "" Date ISO year '-2 AND "-Dates. "" Date ISO year ' + 2
concerning
John
http://www.obiee101.blogspot.com/ -
Problem setting up sorting in prompt values Dashbord?
I created new logical column "MonthYear' dating shows like"MY YYYY"uses a date column, and I have identified in MonthYear sort order using the Date column.
I use "MonthYear' column in dashboard prompt. The values that I get in the command prompt as:
March 2010
March 2010
March 2010
Apr 2010
Apr 2010
Apr 2010
May 2010
May 2010
I need values such as:
March 2010
Apr 2010
May 2010
I used SEPARATE in the SQL RESULTS in prompt dashboard, but I don't get the sorted results.
It is like coming:
Apr 2010
March 2010
May 2010
Appreciate your helpLeave on your physical model - you have a table of facts with the date column and calendar with the date PK so we get the relationship TIME---> FACT through date column?
-
Problem in creating a default calculated values for fields
Hi all
We have a requirement in the field of product put in place where there are 5 fields say A - E, in which the values of the 3 fields depend on each other as following rule
-User between the values of the fields A and B
-Now the values of C, D and E are calculated as follows:
-C = A + B
E = C * D
We tried to apply it to help provide the calculation of the default values, but it does not work.
Is it because these values are calculated only when a new record is created and the values of C and D are not ready at this time here.
Please help us
Thanks in advanceHi, if the values of the dependent fields are entered by the user, then the calculation for calculated field can happen only "Save" on condition that you checked the box "Default Post" in the definition of calculated field. There is no functionality available as real-time calculation and when the user has entered the changes on the dependent fields
-John CRMIT
-
Calculation - values of repetition
Hello
I'm trying to the sum of the values in two columns and calculate the percentage of those two values. The percentage must be repeated in a new column, see below a test and the last column (expected_perc_total) script:
create table (test)
month, date, time,
PRODUCT_TYPE varchar2 (10),
number of no_of_occurences
number of perc_occurences
number of product_amount
number of vat_amount
number of claims,
number of calc_1
number of calc_2
)Insert test values (31 January 2015 ', 'Car', 15, 58.5, 67676, 878, 898, 38, 5444);
Insert test values (31 January 2015 ', 'Car', 25, 67, 67677, 878, 122, 67, 567);
Insert test values (31 January 2015 ', 'Car', 55, 65, 13133, 878, 23, 22, 13535);
Insert test values (31 January 2015 ', 'Car', 12, 44, 4343, 878, 67, 566, 5656);
Insert test values (31 January 2015 ', 'Car', 10, 11, 9099, 878, 898, 12-8999);
Insert test values (31 January 2015 ', 'Car', 45, 90, 877, 878, 76, 38, 767);
commit;
Select month, product_type, no_of_occurences, perc_occurences, product_amount, vat_amount, receivables, calc_1, calc_2, sum (case when calc_1 0 then calc_1 end <>) /somme (calc_2) * 100 perc_total
of the test
Group by month, product_type, no_of_occurences, perc_occurences, product_amount, vat_amount, receivables, calc_1, calc_2Expected output is less than SUM (CALC1) / SUM (Calc2) * 100-743/34968 * 100:
MONTH PRODUCT_TYPE NO_OF_OCCURENCES PERC_OCCURENCES PRODUCT_AMOUNT VAT_AMOUNT ACCOUNTS CUSTOMERS CALC_1 CALC_2 PERC_TOTAL EXPECTED_PERC_TOTAL 31/01/2015
00:00Car 45 90 877 878 76 38 767 4.95 2.12 31/01/2015
00:00Car 10 11 9099 878 898 12 8999 0.13 2.12 31/01/2015
00:00Car 12 44 4343 878 67 566 5656 10.01 2.12 31/01/2015
00:00Car 55 65 13133 878 23 22 13535 0.16 2.12 31/01/2015
00:00Car 25 67 67677 878 122 67 567 11.82 2.12 31/01/2015
00:00Car 15 58.5 67676 878 898 38 5444 0.70 2.12 Total 743 34968 SELECT THE MONTH
PRODUCT_TYPE,
no_of_occurences,
perc_occurences,
product_amount,
vat_amount,
Receivables,
calc_1,
calc_2,
(SUM)
CASE
WHEN calc_1 <> 0
THEN calc_1
END) on /SUM (calc_2) (product_type partition) on (product_type partition)) * 100 EXPECTED_PERC_TOTAL
OF the test
I'm not sure your grouping data, if the month is also delivered in which then change this option according to your need.
-
Calculation value of axis based on, click in the chart area.
Hey there, I'm still working on my graphic feature and so far I've been able to get help on these forums.
I need to be able to calculate the values of the corresponding axis in a click in the chart area. I see no real utility method in the NumberAxis class which will help me to do it. The only thing I can think is to get the bounds of the array and that relate to what I know about the range of the values I put in.
It is a line chart with two NumberAxis. I want to display on click, (x, y)-value as PR. the axis of the point clicked. Is it possible that I can do this easily, or I just need to design a work around?
Yes, it's a little tricky, but not too bad. It would be probably good for XYChart
have public X getXValue (Point2D) and the public methods of getYValue (Point2D) Y. This works, however: import javafx.application.Application; import javafx.event.EventHandler; import javafx.geometry.Point2D; import javafx.scene.Scene; import javafx.scene.chart.LineChart; import javafx.scene.chart.NumberAxis; import javafx.scene.chart.XYChart; import javafx.scene.input.MouseEvent; import javafx.stage.Stage; public class LineChartSample extends Application { @Override public void start(Stage stage) { stage.setTitle("Line Chart Sample"); // defining the axes final NumberAxis xAxis = new NumberAxis(); final NumberAxis yAxis = new NumberAxis(); xAxis.setLabel("Number of Month"); // creating the chart final LineChart
lineChart = new LineChart (xAxis, yAxis); lineChart.setTitle("Stock Monitoring, 2010"); // defining a series XYChart.Series series = new XYChart.Series<>(); series.setName("My portfolio"); // populating the series with data series.getData().add(new XYChart.Data (1, 23)); series.getData().add(new XYChart.Data (2, 14)); series.getData().add(new XYChart.Data (3, 15)); series.getData().add(new XYChart.Data (4, 24)); series.getData().add(new XYChart.Data (5, 34)); series.getData().add(new XYChart.Data (6, 36)); series.getData().add(new XYChart.Data (7, 22)); series.getData().add(new XYChart.Data (8, 45)); series.getData().add(new XYChart.Data (9, 43)); series.getData().add(new XYChart.Data (10, 17)); series.getData().add(new XYChart.Data (11, 29)); series.getData().add(new XYChart.Data (12, 25)); Scene scene = new Scene(lineChart, 800, 600); lineChart.getData().add(series); stage.setScene(scene); stage.show(); lineChart.setOnMouseClicked(new EventHandler () { @Override public void handle(MouseEvent event) { Point2D xAxisInScene = xAxis.localToScene(new Point2D(0, 0)); Point2D yAxisInScene = yAxis.localToScene(new Point2D(0, 0)); double xInScene = event.getSceneX(); double yInScene = event.getSceneY(); double x = (xInScene - xAxisInScene.getX()) / xAxis.getScale() + xAxis.getLowerBound(); double y = yAxis.getUpperBound() + (yInScene - yAxisInScene.getY()) / yAxis.getScale(); System.out.printf("[%.1f, %.1f]%n", x, y); } }); } public static void main(String[] args) { launch(args); } } -
Calculated value of automatic insertion of a column
Hello
I'm not a frequent sql user, but I don't know enough orders to do my job.
I have a table that has say 3 fields, Unique key, Number_cnt and Total number.
The Board is filled with unique key and number but number remains empty. Say the table looks like this.
A | 10. NULL VALUE
A | 25. NULL VALUE
A | 33. NULL VALUE
B | 13. NULL VALUE
D | 11. NULL VALUE
D | 22. NULL VALUE
Is there a way to update in the last column of the sum sql figures grouped by the unique key.
End table like this:
A | 10. 68
A | 25. 68
A | 33. 68
B | 13. 13
D | 11. 33
D | 22. 33
I don't know the query to generate the result (select unique_key, sum (number_cnt) of the mTable by unique_key ;) group
I'm looking for is a way to auto fill in the column.
Thank you!
SQL > create table t:
2. Select 'A' col1, col2 10 of all the double union
3. Select 'A', 25 double Union all
4. Select 'A', 33 to double union all
5. Select 'B', 13 double Union all
6 select would be ', 11 union double all the
7 if he would choose would have ', 22 double;
Table created.
SQL > alter table t add (col3 number);
Modified table.
SQL > select * from t;
C COL2 COL3
- ---------- ----------
A 10
A 25
A 33
B 13
D 11
D 22
6 selected lines.
SQL > fusion in t t
2. using (select col1
3, col2
4, sum (col2) on col3 (partition by col1 by col1 order)
5 t
6 ) q
7 on (t.col1 = q.col1
8 and t.col2 = q.col2)
9 when matched then update set t.col3 = q.col3;
6 lines merged.
SQL > select * from t;
C COL2 COL3
- ---------- ----------
A 10 68
A 25 68
A 33 68
13 13 B
11 33 D
D 22 33
6 selected lines.
Post edited by: Hoek [mug shot] I'm getting really frickin' hate so-called 'Advanced' Editor! [/rant]
-
Conditional display in the text box based on the calculated value
Hello
I have radio buttons that each have a numerical value. For example = 1 A = 2 C = 0. In the example below, the total is equal to 5.
The sum is displayed at the bottom of the document and is passed to another text box:
Instead of '5' displayed in the text box on the right, it should display a "Control" Word like this:
The displayed word is based on the totals through this range:
1-2 = 'absorbing '.
3-4 = 'practitioner '.
5 to 6 = "control".
The script I used to pass the value from the left to the right text box in the chart above is:
name of the field to text box;
var cTextBox = 'Cabinet Talent strategy knowledge - total';
get the value of the field with the name in cTextBox;
var sTextBox = this.getField ("cTextBox") .value;
Set the value of this field;
Event.Value = sTextBox;
That I need to add to this script to show one of the words, such as "control" above?
I am a complete novice to scripting. I found the above script online and somehow got it to work.
I thank very much for any help or pointers, you can provide.
Best regards
Sorry, there were some errors in the code that I provided above. Try this:
If (sTextBox > = 1 & sTextBox)<= 2)="">=>
Event.Value = "absorbing";
} ElseIf (sTextBox > = 3 & sTextBox)<= 4)="">=>
Event.Value = "practitioner";
} ElseIf (sTextBox > = 5 & sTextBox)<= 6)="">=>
Event.Value = "master";
} else {}
Event.Value = "";
}
If it still does not respond, you can send me the file at [email protected] and I'll check...
-
Hello
I have a xml like this:
< LIST_G_CONTAINER >
< G_CONTAINER >
< WEIGHT > 11.58 < / WEIGHT >
< / G_CONTAINER >
< G_CONTAINER >
< WEIGHT > 11.67 < / WEIGHT >
< / G_CONTAINER >
< G_CONTAINER >
< WEIGHT > 11,63 < / WEIGHT >
< / G_CONTAINER >
< G_CONTAINER >
< WEIGHT > 11,63 < / WEIGHT >
< / G_CONTAINER >
< G_CONTAINER >
< WEIGHT > 11.7 < / WEIGHT >
< / G_CONTAINER >
< / LIST_G_CONTAINER >
And I want to get the following values formatted with two decimal places (xxx.xx)
(1) amount of WEIGHT multiplied by 0.8
(2) the sum of the amount WEIGHT multiplied by 0.8
I could get the expected value for 1) using the <? format-number: (WEIGHT) * 0.8; ' 9G990D00'? >
"But I had no luck on getting the value for 2).
For xml above, it should return 46.56 <--(11,58 * 0,8) + (11,67 * 0.8) + (11,63 * 0.8) + (11,63 * 0.8) + (11.7 * 0.8)
Appreciate any input/help on how to fill the value for 2). Thank you!
Published by: user4697912 on August 18, 2010 02:07You can use editable variables here.
Initialize a variable
When you use the foreach loop
and you can display it using
Hereby, you can make sure you multiply, around and then summarize.
Maybe you are looking for
-
Satellite L500-19F: where can I get new hardware components
Hello, sorry for my English, I am from the Germany. My notebook Satellite L500-19 is defect.Next few days I'll be watching, that things are missing... I think that its first of all the motherboard. Now my question: where can I get new hardware compon
-
Blocked or delete Wifi Mac address &; change to the original iPhone address Wifi 6 more
Please change address of Mac Wifi on my iPhone camera Plus 6 and secure it will solve. someone hack my connection to internet initial IP address. I want to know what the actual address iPhone wifi 6 Plus. Thank you.
-
What is the best control to use when the choice of entry is not sequential? For example, 0-2, 10-12, 40-42, 100-102, etc. I was thinking of using a text ring or a ring of Menu.
-
Hello forum I built my system 4 months a go since then i ' v been do BSOD for no real reason most of the time so that on the net or do nothing. If the system was frezzing which turning tension. Things I've done are: Run memtest86 for 5 pastPrime95 fo
-
Remember - this is a public forum so never post private information such as numbers of mail or telephone! Ideas: You have problems with programs Error messages Recent changes to your computer What you have already tried to solve the problem