How to group by on specific columns in a table
In my interface on the target table, I use a function of aggregate Max() on 2 columns in the table, but by default it's Group on all columns of the table.I want to do ' group of ' only on a column in the table.
How can I do?
Thanks in advance.
Kshipra
It is the nature of the defect of the ODI, when you use an aggregate function (min, max, sum, etc.) ODI will automatically create a group by clause on the rest of the mapped columns.
If you want to generate a clause "group of" only on a column in the table, then:
Use plus/minus on the rest of the non-numeric columns and sum/max/min function on all numeric columns.
Thank you
Parasuram.
Tags: Business Intelligence
Similar Questions
-
How to find the primary key columns in the tables in MS Access using SQL queries
How to find the primary key columns in the tables in MS Access using SQL queries
Hello
This is the forum for Windows Vista programs related issues.
For better assistance, please try instead the Forums in SQL Server .
Thank you! Vincenzo Di Russo - Microsoft MVP Windows Internet Explorer, Windows Desktop Experience & security - since 2003. ~ ~ ~ My MVP profile: https://mvp.support.microsoft.com/profile/Vincenzo
-
How to disable filtering on specific columns
Hey everybody,
In the virtual computer objects tab the filter box top right only supports columns Name and State. All the other columns are not available in the drop-down list of filter "Select columns" (see attachment)
How can I do this in my own personal opinion? I have some columns (i.e. in plugin.xml) that do not support filtering on. Thanks in advance
-MikeThe mechanism to remove the specific column from the drop-down list filter is not exposed in the SDK but filtering won't work in all cases for a column if you implement the corresponding method of processPropertyConstraint() for this property in your data adapter (see samples/chassis-app/chassisRackVSphere-services/src/main/java/com/vmware/samples/chassisRackVSphere/ChassisRackVSphereDataAdapter.java)
-
How to group data in the column?
Hi all
Anyone can solve the my problem please?
I have two columns 'Age' and 'employee ID '.
I want the 'Number of employees' group for the specific AGE group:
Age | Number of employees
20 to 30 | 06
31 to 40. 13
41 to 50. 16
51 to 60. 03
And the data in the columns are put aside
Age | Employee IDS
30. 002
38. 008
33. 298
22. 213
54. 083
24. 098
So now.
Waiting for your HELP.
In advance thank you very much...
Take careHere you go...
Drag a column of answers and name as age and in his writing of fx
case
When tablename.age between 20 and 30 then 20 to 30'
When tablename.age between 31 and 40 and 31 to 40'
When can tablename.age between 41 and 50 41 to 50'
When tablename.age between 51 and 60 and 51 to 60'
endDrag a column of answers and name it as "Number of employees" and in his writing of fx
Count (tablename. (EmployeeID)
That would give you the report of your choice
I hope that its useful...
Thank you
Ashish Gupta -
How can I get number of columns for all tables in a schema?
HelloCan someone help me with the code to retrieve any of the columns in each table of a master plan? I'm sorry if it sounds simple. I'm a newbie...
Thank you
Maybe:
Select table_name
count (*) col_count
of user_tab_cols
Table_name group
order of table_name;
-
How can I remove a specific item of a table?
Hello.
I have an array of movieclips and when my (controlled with the keyboard) circle hitTests true with one of the clips inside this table I want to delete this movieclip to the table, so when I hitTest it even once, it returns false (I hitTest using a ' for in ' with this table).
How to remove a specific item of a table?
Can someone help me? Thank you very much.
Try:
yourArray.splice (yourArray.indexOf (yourmovieclip), 1);
-
Select all the values of column except the specific columns in all tables
Hello
I want to display all the column values for all tables in the database, with the exception of 3 columns that exist in all tables...
Can someone give some advice?
See you soon,.Jin
How are you going to display all columns of all tables?
Thank you
Baskar.l -
How to have more than 20 columns in a table in the form of adobe?
I see that there is limitaion of not having more than 20 columns in my table in the form of adobe, is it possible that I can have more than 20 columns in a table in the form of adobe in landscape mode.
Hello
Which applies only to the Table Wizard. Once the table is placed on the page, you can add columns manually in the menu or by right-clicking a column.
You can also use fields in a repeating subform (rather than the object of the table).
Good luck
Niall
-
How to disable specific columns in a table
Hello world
There are two buttons in my code (SHIFT and general). When I press the SHIFT key, general column should disable & grey outside, but all three move the columns (Shift1, Shift2, Shift3) should be in an editable state. Like the picture below
and then vice versa case (if I press the general button). Like the picture below
There is no action in the table if the two push button on a high value. I guess that there must be an easy fix, but I just couldn't get there. Please understand it.
Thanks in advance.
Use a semi-transparent image on the columns to turn off. Make the visible decoration or not depending on the State of the Boolean value. The columns will be always 'on' but will be not clickable.
-
How to write express line and column of the tables headers to a file
HI guys, I work with that express table and display data using the express table. What I want to do, is that when I press save button results data in the specific table must be written to a text file. I am able to write the text file, but only the data is written. Y at - there a possiblity that I can also write lines and column headers and the data in the text file. Kindly guide me in this regard as soon as possible. I enclose the image also. Please watch this and guide me.
Cordially Ehtisham Safdar.
Hello
Sorry for the late reply. Here is the VI, I hope it works for you. Rather than each element of the index and the addition of the row header, take advantage of the available icons and play with the nodes of property for a good solution.
Concerning
Gaze
-
How can I activate validations on columns in a table
Hi all
Background
I have a tabular presentation, which consists of four columns. The form is based on a view.
The four columns are: localID EXAMPLE 2 EXAMPLE 3 EXAMPLE 4
There are three buttons. Submit, cancel and add the line
I need to allow users to add and edit information from localID but users are not allowed to change the LocalID field.
At first, I thought that it would be best to leave this field to display in text form but only when a user clicks on the add a line to the field LocalID is empty or null, said
So I decided to leave this field as a texfield rather than "show as text (State stops or other)"
I want a validation that invites an error message if a user changes an existing localID
For example:
The table gives the following results
Charlie123 charles anderson 55
Randall12 randall luzzi 20
The user tries to send the current values of the localID change form
123 charles anderson 55
12 randall luzzi 20
Any ideas of how I can do this?
Thank you
CharlieMack
Hello
The validation is triggered for each field in the column DEPTNO. Also for the new fields. If you are not allowed to transfer the column DEPTNO field at all.
Your question, it turns out, is a rather difficult pickle. In short: there is, as far is I know, simple way to validate a column only for existing records, but not for new.
My idea would be to take your little question and look at what you're trying to accomplish: stop the upgrade on a column, but allow insertions.
Take a look at the table of the DEPT on your page 850. I added a dynamic action that defines all DEPTNO existing read-only, but leaves new lines as entrable.
Alternatively, you can fill your LOCALID column by a trigger. This way you can set your column as diplay only (or not entrable) and it will always get a value.
If you want to persist with leaving LOCALID as input fields and launch a validation error on submit, you will need at least a column more than you fill a trigger/sequence. You need something to uniquely identify each line as a reference to records in database.
For the latter, I page 851, the configuration using the EMP table. Validation, each line is identified solely by the EMPNO column. If you change your ENAME, the record is put in correspondence with the value of database based on the EMPNO. If the EMPNO is null, obviously facing a new line, for which we allow an entry for the ENAME field.
Note that adding an additional column is necessary to match each line with the existing values in the database, but requires a change to your datamodel.
This choice I'll give to you
Good luck with it.
Kind regards
Vincent
-
How to pass the parameter of column in a table of trinidad to the next page?
Hello
In fact, we work with trinidad tables and forms on our pages snce we will deploy to mobile.
I saw a video shared by Shay, parameter passing between pages with adf components - the column was converted to create a link, then it a setProperty earphone is placed on the table to catch the parameter.
How can do us same with paintings of the Trinity? I do not see any place to convert the column link, but in vain.
I tried to use a radio button select with the table, but I do not know how to extract the value of this.
Please provide your valuable suggestions on this.
ConcerningHello
If you go to the source of table view you see something like
TR:column containing--> tr:outputText
You would simply change the tr:outputText to tr:commandLink
Frank
-
How to select a specific column in a bean method?
Hey everybody,
I am trying to select a specific column in my table of the adf so that I can hightlight those I can after that, with a pod of method that only one game from another table. I use JDeveloper 12.1.2.0.0.
Here is my table at the moment (this is a static list that Alejandro and Timo helped me to create, thanks to them once again!):
< af:table value = "#{bindings." Var Anos1.collectionModel}"="row ".
lines = ' #{bindings. " Anos1.rangeSize}.
emptyText = "#{bindings." Anos1.viewable? "{'No data to display.': 'Access Denied.'}".
rowBandingInterval = '0' fetchSize = "#{bindings." Anos1.rangeSize}.
filterModel = "#{bindings." Anos1Query.queryDescriptor}.
queryListener = ' #{bindings. " Anos1Query.processQuery}.
filterVisible = 'false' varStatus = 'vs' id = 't5 '.
styleClass = "AFStretchWidth" columnSelection = "multiple".
inlineStyle = "" max-width: 100%; "columnStretching ="multiple""
columnSelectionListener = "#{ControlBean.onAnoColumnSelect} '"
disableColumnReordering = 'true '.
Binding = "#{ControlBean.dimAnos}" >
< af:column sortProperty = "#{bindings." Anos1.hints.A2011.name}.
filterable = "true" sortable = "false".
headerText = "2011".
ID = "c54" width = "16%" >
< af:outputText value = "#{rank." A2011}.
shortDesc = "#{bindings." Anos1.hints.A2011.ToolTip}.
ID = "ot54" >
< af:convertNumber groupingUsed = "false".
model = ' #{bindings. " Anos1.hints.A2011.format}"/ >
< / af:outputText >
< / af:column >
< af:column sortProperty = "#{bindings." Anos1.hints.A2012.name}.
filterable = "true" sortable = "false".
headerText = "2012."
ID = "c55" width = "16%" >
< af:outputText value = "#{rank." A2012}.
shortDesc = "#{bindings." Anos1.hints.A2012.ToolTip}.
ID = "ot55" >
< af:convertNumber groupingUsed = "false".
model = ' #{bindings. " Anos1.hints.A2012.format}"/ >
< / af:outputText >
< / af:column >
< af:column sortProperty = "#{bindings." Anos1.hints.A2013.name}.
filterable = "true" sortable = "false".
headerText = "2013".
ID = "c56" width = "16%" >
< af:outputText value = "#{rank." A2013}.
shortDesc = "#{bindings." Anos1.hints.A2013.ToolTip}.
ID = "ot56" >
< af:convertNumber groupingUsed = "false".
model = ' #{bindings. " Anos1.hints.A2013.format}"/ >
< / af:outputText >
< / af:column >
< / af:table >
I deleted some of the columns, because they are all equal, and in doing so, you have fewer problems in reading.
In my method, I have a matchEm, but I'm trying to select a column using this line:
dimAnos.setColumnSelection ("A2012");
dimAnos is the link to my table Anos (years in Portuguese). I even tried other values FRO the columnSelection but I just couldn't do it selected. I'm doing something wrong?
Please help me or give me an idea how I can do this.
Kind regards
Frederico.
Hi Frederico,
The setColumnSelection method is intended to define whether or not your table supports the selection of columns. It does not select the column. In order to select the column, you must set the attribute column selected to true. So I don't know if its an option for you, but you can create a link to all the columns that you have in you bean and then call the method A2012.setSelected (true) and then add a partial target table for makes re and display the selected column.
Hope this helps
-
How can I find what is the data type of a column of a Table in oracle or SQL?
(a) what happens if I want to know the type of data in a specific column in the Table.
(b) how to find the column data types?
Can someone help me please. I am new to oracle and try to learn a few tricks
Hello
How to do
SQL > desc
SQL> desc emp Name Null? Type ----------------------------------------- -------- ---------------------------- EMPNO NOT NULL NUMBER(4) ENAME VARCHAR2(10) JOB VARCHAR2(9) MGR NUMBER(4) HIREDATE DATE SAL NUMBER(7,2) COMM NUMBER(7,2) DEPTNO NUMBER(2)
-
How to create a status column in the table
Hello everyone
I am trying to create a column of the table status in frontview Panel. I enclose a picture with her to say clearly what I say.plz tell me how to create the active status column in the table.
I want to show green for safety stock and red for safety stock below.
Maybe you are looking for
-
Default value for an element of structure
Hello I would like to know if it is possible to assign a default value to a structure element? Something like: struct {deviceint ID; Double position; IPAddress char [10] = '127.0.0.1 '; int TimeOut = 25000; }; Thank you very much for your help! Best
-
Difference between concentric rake / concentric Edge?
Ladies and gentlemen, I would just ask you (before I go play myself): What is the difference between IMAQ concentric rake 3 vs IMAQ find concentric Edge and IMAQ spoke 3 vs IMAQ find a circular edge (except that the new function supported several typ
-
Bluetooth Audio in a 2011 Camry
While my Droid X synchs and functions in my 2011 Camry XLE gernerally, song data does not appear on the audio screen Bluetooth. Correctly and completely displays this info even when I use my USB flash drive. What is a Droid thing or a Toyota problem?
-
Raised this issue to the @BlackberryHelp Twitter account 11 days ago, and it has not yet been changed. Basically when I try to download BlackBerry mixture v1.2 for PC through this LINK, it appears like the BlackBerry Desktop Software. Help, please!
-
I activated my new ulimate windows 7 on a hard drive and know that the hard drive has crashed on me, so this HDD is trash and I need to know how to turn off so I can use it on my new