How show only last row value in a column of OBIEE
Hi ExpertsHow show only last row value in a column of OBIEE
Thank you
V
Hello
Pull column criteria, which you want to display only last row. Filter Advanced sql apply now to this column as a.
RCOMPTE ("customer D1". "C1 Cust Name") = MAX (RCOMPTE ("customer D1". " Cust C1 Cust Name name')) here is the column where I applied the filter.
So, it gives only last row in the name column of the Cust.
Awarded points if the answer
Reference: http://forums.oracle.com/forums/ann.jspa?annID=939
Kind regards
Srikanth
http://bintelligencegroup.WordPress.com/
Tags: Business Intelligence
Similar Questions
-
Master table shows only 5 rows
Hello
I use Oracle JDeveloper 11 g Release 2 (11.1.2.3.0).
I have a picture of master ADF and a detailed in my application form but the main Table shows only 5 rows, I don't understand what is happening, in my database I have more than 5 lines (exactly 7) but table doesn't show him everything.
Can someone help me with this?
Thanks in advance!
Check the size of the extraction of the iterator (pagedef) connections and check that your relay of query returns more than 5 lines.
What is the code to display the master detail do you use?
Timo
-
How to use the prompt value in the column of the report
Hello
I have a quick report column which is 'Adj Type' that contains values 10,20,30, and when the user selects Adj Type = 10, this value should be passed on to the column of the report.
For example. Value in column 1 is 10 and this should multiple with the prompt value and production is expected to be 10 * 10.
Ideas how to capture the prompt values in the column of the report for the calculation.Hi hsekar,
(1) declare a presentation online in the section variable set Variable--> Variable--> P_var presentation
(2) in Fx Table_name. Your_column * @{P_Var}
@{P_var} {20} (20 is the default, it replaces when a user selects the value in the command prompt
Thank you
Saichand.v -
How Oracle to store geometry values in the columns of the table?
How Oracle to store geometry values in the columns of the table?Check this box:
[Oracle Spatial User guide | http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14255/toc.htm]Check other documents space here.
[http://www.oracle.com/pls/db102/portal.portal_db?selected=7]Published by: Anantha R on August 20, 2009 13:43
-
How do the average of the last 5 values of a column as new values automatically entered?
If the issue is not clear for you, here's a site I found that teaches you how do it on excel. ml https://www.extendoffice.com/documents/Excel/2533-Excel-average-last-5-values.HT I can't find the corresponding method on the good numbers. Thank you for your response in advance :-)
Hi Z_J,
This number approach pulls the last 5 (low) values of table 1 in another table where the average can be calculated.
Step 1. Add line numbers in column A of table 1. This gives a way for table 1-1 to extract the last 5 values.
Formula in A2 (and fill down
= ROW()
Step 2.
In table 1-1, the formula in A6 estimated the maximum line in table 1
= MAX (Table 1::A)
The formula in A5 (and filling up)
= A6−1
Formula in B2 of table 1-1 (and fill down) using VLOOKUP to find a match for each line number in table 1-1 and get the value out of this line in table 1.
= VLOOKUP(A2,Table 1::A:B,2,FALSE)
Step 3.
Now add another row (and insert a new value) to the lower part of table 1
Lines 3 to 7 are now drawn.
Ranger by hiding some columns
Kind regards
Ian.
-
Hi Experts ADF,
JDev 12 c.
I create a button and a table below. If the user clicks on the button create, I invoke CreateInsert. The new line now appears as an editable fields.
So I suppose I have a column that is displayed in editable mode. If the user enters values in that. Has another column B whose value is not displayed in the UI must have the same value as the column.
This occurs for each row added. During the click on save if user entered 2 in column A, then the value in column B must be same 2.
Thank you
Roy
There is more than one way, for example:
Generate ViewRowImpl Java class (with generate audited accessors) you will get for an attribute setter.
Change the Set accessor to set the attribute B (IE, calling setAttribute ("B", value)) after setting a value
OR, write valueChangeListener for inputText representative and set the B attribute to the same value
-
How to dynamically change the value of a column in a report
Hi, I'm new to APEX and I have a small requirement. I have a report in a page which I query. Report will always have only one record. I need to change a value of a column in this report of the value received from another page. I was able to send the value of another page on my page of reports to a hidden page element, but I don't know how I can configure this value received to this column in the report. Is this possible? If Yes, can anyone help with this?
970829 wrote:
Please update your forum profile with a real handle instead of '970829 '.
Hi, I'm new to APEX and I have a small requirement. I have a report in a page which I query. Report will always have only one record. I need to change a value of a column in this report of the value received from another page. I was able to send the value of another page on my page of reports to a hidden page element, but I don't know how I can configure this value received to this column in the report. Is this possible? If Yes, can anyone help with this?
Not really clear exactly what it is you are trying to reach. You want to replace the value of a column in the report with the value of a page element? If so, simply replace the column in the report with a reference to the required page elementquery:
select empno , ename , job , :p2_sal sal -- Replace value of sal column with value of P2_SAL item from emp
-
How to highlight the minimum value in a column?
I need to highlight the lowest value in each column in my spreadsheet. I try to use the conditional nail, but I can't find a function to work as I need.
One way would be to calculate the minutes in a cell of a footer row, select the cells in the body of the column and apply conditional highlighting like this:
You must click on the chip address first, and then select the comparison cell, A8 here, then be sure to keep the row and column.
The A8 from the example formula is = MIN (A).
The result is a bold 2 (not shown in the screenshots).
SG
-
Two tables provided, how you retrieve the values in two columns using values in a column (the pass get values. If col. A is not null values and get the pass. B if col. A is null)?
Guessing
Select nvl (x.col_a, y.col_b) the_column
from table_1 x,.
table_2 y
where x.pk = y.pk
Concerning
Etbin
-
How can I replace the value of the column with a particular value in SQL
Hi all
Is someone can you please tell me how can I format my output with the replacement of a column value with a specific value that really depends on the current value of the column
I am executing the following SQL statement
Select state, count (id) from < table_name > where composite_dn = < composite_dn_name > Group by State;
My current performance is:
State Instance number
1 3
3 28
I want to replace the value in the State column as follows
No.OfInstances State
3 filled
28 faulted
I want '1' to be reppaced of 'Done' and '3' is replaced by 'Faulted. '
Is is possible with SQL or PL/SQL, if it is then how I can achieve this required. Help, please!
Thanks in advance!
Published by: Roshni Shankar on October 27, 2012 12:38 AMHi Claude,.
I guess this CASE clause can be simulated by a DECODE and also it is very easy to use.
See - http://www.techonthenet.com/oracle/functions/decode.phpselect decode(t1.state,t2.state_id,t2.state_name), t1.count_id from
t2, (select state,count(id) count_id from where composite_dn= group by state) t1 where t1.state = t2.state_id; HTH
Vanessa B.Published by: Vanessa B on October 27, 2012 14:02
-link addedPublished by: Vanessa B on October 27, 2012 14:19
-added code sample -
How to use the default value of a column in a table in insert or upda
Hello
I try to use the values by default so that the user should not have to enter data, but when I select default type and a default, I see an error message if I try to add a new line.
How can I use a default value to a column in a tabular presentation?
Gouri
Published by: user1046395 on April 3, 2009 09:58Gouri,
You can change simply to attribute each report column. For example,.
To set the default date.
Default type: PL/SQL Expression of function
Default: sysdateTo set the default text,
Default type: PL/SQL Expression of function
Default: * "CLERK."If you still get an error, what is the error message?
Tarraf -
How to set the default value of a column from the value of the 2 columns given
Is it possible to set the default value for a column A, as the concatenated values of columns B and C of the create table statement itself without using the trigger.
for example, in a line, if column B is 'James' and column C is "smith" then the column has must be "james Smith".
in another line if column B is 'Bob' and column C is "Taylor" then column should be "Bob Taylor"
Thank you
YGYes, it is possible. But what is your version of the database? Try to use "virtual column. Search for a virtual column in the following link.
http://www.Oracle.com/technology/pub/articles/Oracle-database-11g-top-features/11g-schemamanagement.html
http://download.Oracle.com/docs/CD/B28359_01/server.111/b28286/statements_7002.htm -
The last 4 values of lookup column
Is there a way to create a select statement that will do something like:
My_Number
1234561111
1234561112
2234561111
4234561111
SELECT * FROM TABLE WHERE my_number = (LAST 4) 1111
back 3 ranks.
I need to get the last 4 digits of this column. I don't want to make a SIMILAR, because there must be the LAST 4 and nothing in between.Hi.Do you mean then?
C:\Documents and Settings\chinar>sqlplus "/as sysdba" SQL*Plus: Release 10.2.0.2.0 - Production on Tue Jun 8 21:36:52 2010 Copyright (c) 1982, 2005, Oracle. All Rights Reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production With the Partitioning, OLAP and Data Mining options SQL> select n from ( 2 select 1234561111 as n from dual 3 union 4 select 1234561112 as n from dual 5 union 6 select 2234561111 as n from dual 7 union 8 select 4234561111 as n from dual) 9 where substr(n,length(n)-3,length(n)) = '1111' 10 / N ---------- 1234561111 2234561111 4234561111 SQL>
-
How to assign a default value to a column?
Hello
Is it possible to alter a column in order to assign a default value for the column in the object browser?
I have a RECORD of table in which I want to assign a value to 0 by default to a column whose type is NUMBER.
Thank you for your kind replies.
Christian.Hello
In SQL, do something like:
ALTER TABLE FICHE MODIFY ("Fieldname" NUMBER(n, n) DEFAULT 0 NOT NULL ENABLE)
Replace Fieldname and n, n, as the case
Andy
-
Show only the total values for column?
I have a pivot table where, for one of the columns I want to not show that total values without showing the values of the detail for each line
In the example below (where each parent totals are shown in first - above), for the last 4 columns, I only want to show values in the total row.
Setting conditional formatting will help you.
For these columns measures go to the columns of no matter what you do not have a group of conditional as format below.
Main area is not null "define 0 as the font size.
Thank you
AJ
Maybe you are looking for
-
FieldPoint not production form wavelength or data collection properly
Hello I just got a few thermcouples hung in my box of Fieldpoint so that I can start my troubleshooting program. Right now with how I wired things I want that file .lvm to collect a point of data by one second. For this reason, I put a delay of a sec
-
Hello I tried to install drivers several times, and they all install. When I plug in my printer to the computer recognizes the printer, and it seems that the printer works. But as soon as I try to print a test page, it does not work. I think it may h
-
Application of re-install Windows 7
A little confused how to proceed in this situation, that I am. I have an Assembly of desktop running Windows 7 Pro, and I find that I can not upgrade to Windows 10 because my chipset is no longer supported. This isn't a problem since I bought the new
-
Permissions - cannot delete folders
Even if I am logged in as an administrator, I can't delete a folder that is on my desk. I took 'ownership' of the file (I think) and my user account has "Full control" of the record. When I try to delete the folder it says I need permission to do so.
-
BlackBerry 10 calendar recently invited Short cuts "Tags" does not
Since the last update (10.1.0.273, STL100-3, Rogers) OS I can tape is no longer the latest contacts invited to add to a new appointment in the calendar. When I press a 'tag' contact, they disappear and the field invite resets with nothing in it. I