Multiple DB Columns in Single UI Column
Hi All,
I have an issue with displaying more than one db columns in one UI column.
Issue Description*
1. Presentation List contains the following list of fields
Report Id
Reporter Name
Reporter Business Unit
Reporter PhoeNo
Reporter Lead
Lead Phone
Portfolio
etc...
2. I have to display the above column in the UI like
Id | Reporter Detail | Lead | Portfolio
Report Id | Reporter Name Reporter Business Unit \n Reporter PhoeNo | Reporter Lead Lead Phone | Portfolio
Please provide the me the steps to do
@christian. With the balise
Put it before and after your code and it will not be parsed.
Similar Messages
-
Multiple report fields from single physical column.
Hi Experts,
I have a physical table like below. Multiple records for a single customer id. The no of Address_type may increase in future.
Customer_id Address_Type Address
101 Primary abcdefgh
101 Secondary 234oij3mb4
101 Billing mdmnweoij4
102................etc.
My Requirement on OBIEE is to display report as below.
Customer_ID, Primary_Address, Secondary_Address, Billing_Address.
101 abcdefgh 234oij3mb4 mdmnweoij4
Multiple report fields ( Primary_Address, Secondary_Address, Billing_Address ) are derived from same physical column ADDRESS.
I tried to duplicate the Address column on the report thrice and added conditions like Address_Type = Primary/Secondary/Billing for those three fields respectively.
But only of the field is getting correct data and rest of duplicate columns are null.
Tried FILTER function on OBI Answers, but the function fails saying it should be used only on measures.
Thought the alternative would be to define multiple logical columns at BMM layer. Created multiple alias for same table at physical layer and correspondingly created LTS for each on a single logical table. Defined Fragmentation/Where conditions.
LTS1 - Address_Type = PRIMARY
LTS2 - Address_Type - SECONDARY
LTS3 - Address_Type - BILLING
Created multiple logical columns from each LTS like Primary_Address, Secondary_Address, Billing_Address from LTS1, LTS2, LTS3 respectively.
This time, am getting data for all the fields on the report but getting cartesian result.
Can someone guide me whether my approach is correct or any other alternate best approach to achieve the desired result.
Note: I have the data Address on multiple physical rows for a customer, rather Not in a single row. which is causing me problem.
Thanks...
Ramchand.Hi Srini VEERAVALLI,
I have lot many other fields in the same report coming from other tables.
Does the Pivot table option for above mentioned Address fields affect other columns?
If Yes, Can there be any other alternative? Am thinking of Opaque View at Physical layer to bring all Addresses on a single row.
Thanks...
Ramchand. -
Multi fact columns to Single fact column
Hi,
We have fact table which stored the data in monthly wise fact columns.
Ex:
Jan
Feb
Mar
Apr
May
Jun
July
Aug
Sep
Oct
Nov
Dec
100
200
150
250
223
1212
171
12123
31123
112
2113
1123
150
223
222
142
1354
1567
452
763
41733
441
1211
1213
333
222
55
256
455
445
752
4752
45214
114
8122
4555
My requirement, We have convert all month fact columns into a single month fact column.
How to achive this. Kindly Let me know.It rather seems that you don't understand his input or the concept of LTSs.
You create 12 LTS, each using the same physical table as a source.
Then you create one single column called "Monthly Value"
Then you map the "Jan" column from the first LTS into the column
Then "Feb" from the second LTS
etc.
Bob's your uncle -
Merge text formatted columns to single date column
Hi folks,
Not the most experienced of spreadsheet users, so hoping this is a quick fix:
I need to combine text data from columns A (Year), B (Month) & C (Date) into a new column as a date. I've tried a few combinations of =DATE(C2,B2,A2), but can't pinpoint the proper merge term.
I'd also like to know how to repeat the function down through several thousand rows without having to repeat the exercise for each row...
Many thanks,
MattDo you know that Apple designed two well done resources PDFs which every user may download from the Help Menu ?
There are :
Numbers User Guide
iWork Formulas and Functions User Guide.
In the second one we may see:
Your problem is that you used the reverse parameters ordering.
Yvan KOENIG (VALLAURIS, France) mercredi 14 avril 2010 18:32:27 -
How To Concatenate Column Values from Multiple Rows into a Single Column?
How do I create a SQL query that will concatenate column values from multiple rows into a single column?
Last First Code
Lesand Danny 1
Lesand Danny 2
Lesand Danny 3
Benedi Eric 7
Benedi Eric 14
Result should look like:
Last First Codes
Lesand Danny 1,2,3
Benedi Eric 7,14
Thanks,
David JohnsonStarting with Oracle 9i
select last, first, substr(max(sys_connect_by_path(code,',')),2) codes
from
(select last, first, code, row_number() over(partition by last, first order by code) rn
from a)
connect by last = prior last and first = prior first and prior rn = rn -1
start with rn = 1
group by last, first
LAST FIRST CODES
Lesand Danny 1,2,3
Benedi Eric 7,14Regards
Dmytro -
Can I get multiple sums in a single column based on a "code" I place.
After importing a file of check/debit card activity from my bank, can I 'code' the line items based on tax categories ie Utilities, Medical expenses, Auto expenses, etc. and then get sums for each based on that code I placed in a single column? That would mean multiple sums in a single column based on the code used for each tax related expense. For instance, I would put UT in the column for utilities expenses and MED in the same column if it were a medical expense. I would then want the sum for all items in that column for each item code. Is this possible or do I need to use a different approach to get this information.
My guess is that the SUMIF function may be your friend.
It's well described in the *iWork Formulas and Functions User Guid*e which every user may download from the Help menu.
Yvan KOENIG (VALLAURIS, France) samedi 2 janvier 2010 21:56:39 -
Multiple row as a single row in a column
Hi,
I want to select Multiple rows into a single line in 'Single Column Table' .
For ex:
Employee table has only one column , named as empname . it has three rows
Select empname from emp;
empname
thambi
peter
antony
My expected result: thambi,peter,antonyHow do I ask a question on the forums?
https://forums.oracle.com/forums/thread.jspa?threadID=2174552#9360002 -
Interactive report: Can I exclude a particular column from single row view?
Hi -- I posted on this yesterday (Possible to exclude interactive report column from single row display?
a bit anxious for suggestions, I guess!
I've added a column with edit-link functionality to my interactive report query (that is, the link
is not attached to the database data... it's an additional column and shows an icon). It's also
in addition to the default single row view link. (We need both.)
Unfortunately, the Edit link column shows up in the single row view. I've pared it down as much
as I can: the label is empty, and the null value shows as "-". But an extra row with "-" is pretty
ugly. Is there a way to always, completely exclude this column from the single row view?
I know I could put the edit link on a data column, but:
1) I want the link to always be to the left of the data (and the user can re-order columns)
2) when the user doesn't have edit privileges, the link will need to be disabled or just not
be displayed, and I think that would be a problem if the link were on the data. (true?)
Thanks,
CarolPlease disregard this thread, and the one it refers back to. I see a flaw in the design of what I was attempting to do! Creating the link for Editing as a column means the user could inadvertently not display it, or move it, or... any number of problematic scenarios.
Thanks,
Carol -
How to get a single row column from a viewobject in java?
I have a class file that goes out and gets a viewobject and sets its where clause
this is it:
vcRow = vc.createViewCriteriaRow();
vcRow.setAttribute("LogonId", "='" + strPcis_Login.toUpperCase() + "'");
vc.addElement(vcRow);
vo.applyViewCriteria(vc);
vo.executeQuery();
I know this working cause I can watch it in debug..
but now the problem.
I've looked in the docs and don't see how one can pull the value of the row it found and place it in a uix page in a textinput area
how can I get a single row column, in this case the UserName that is in the view object to a string and then place it into my
uix page? I've looked and looked and don't see a method for this.
is there a way to take the oracle.cabo.servlet.Page and set a textinput with a viewobject get method?
what way do you do this and where is it documented?is there a way to take the oracle.cabo.servlet.Page and set a textinput with a viewobject get method?
what way do you do this and where is it documented? What you can do is get the value from your VO and set it somewhere that UIX can data bind to -- as a Page proprety, on HttpSession, etc. This is documented in Chapters 4 (Data Binding) and 5 (Controller) of the UIX Developer's Guide.
To set a property, you use Page.setProperty(String key, String value). Then, in your UIX file, to make a textInput that has the value pulled from a given page property, use:
<textInput data:text="key@ctrl:page" />
-brian
Team UIX -
I use "element 12" and want like in the old PS version due Automating and Contact II upload multiple filesand print them with any columns and rows on the same page . How does it work?
Can you supply a link?
-
Can we create JTable with multiple rows with varying number of columns ?
Hi All,
I came across a very typical problem related to JTable. My requirement is that cells should be added dynamically to the JTable. I create a JTable with initial size of 1,7 (row, columns) size. Once the 7 columns are filled with data, a new row should be created. But the requirement is, the new row i.e. second row should have only one cell in it initially. The number of cells should increase dynamically as the data is entered. The table is automatically taking the size of its previous row when new row is added. I tried by using setColumnCount() to change the number of columns to '1' for the second row but the same is getting applied to the first row also.
So can you please help me out in this regard ? Is it possible to create a JTable of uneven size i.e. multiple rows with varying number of columns in each row ?
Thanks in Advance.Well a JTable is always going to paint the same number of columns for each row. Anything is possible if you want to rewrite the JTable UI to do this, but I wouldn't recommend it. (I certainly don't know how to do it).
A simpler solution might be to override the isCellEditable(...) method of JTable and prevent editing of column 2 until data in column 1 has been entered etc., etc. You may also want to provide a custom renderer that renderers the empty column differently, maybe with a grey color instead of a white color. -
Single JTable Column with several diff Cell Editors
Am trying to create a single JTable column that can have several different cell editors. Java seems to be bias to having 1 cell editor for the whole column.
For example in 1 column can I have
Row1 : TextBox
Row2: Check Box
Row3: Radio Buttons
Row4: JColorChooser
At the moment I can only have one CellEditor for the whole column which is not very helpful.the default implementation offers to provide editors per column in the tableColumn and/or editors per class type by setting default editors ( JTable.setDefaultEditor(Class class, TableCellEditor editor) ). If you look at the getCellEditor method of JTable you see that first the tablecolumns are asked for an editor, and if this doesnt succeed a default editor for the class acording to the value at the passed grid position is determined.
If this does not fullfil your needs, you can still overwrite the getCellEditor method of JTable and return whatever editor is suitable.
regards,
stefan -
How to convert single column into single row
I need to convert single column into single row having n no.of.values in a column. without using case or decode. I need a query to display as below.
emp_id
100
101
102
102
103
200
I need output like 100,101,102,103,104.........200.I assume you want to convert 200 rows with one column into one row with 200 columns. If so, this is called pivot. If you know number of rows (max possible number of rows) and you are on 11G you can use PIVOT operator (on lower versions GROUP BY + CASE). Otherwise, if row number isn't known, you can use dynamic SQL or assemble select on clent side. Below is example emp_id = 1,2,..5 (to give you idea) and you are on 11G:
with emp as (
select level emp_id
from dual
connect by level <= 5
select *
from emp
pivot(
max(emp_id) for emp_id in (1 emp_id1,2 emp_id2,3 emp_id3,4 emp_id4,5 emp_id5)
EMP_ID1 EMP_ID2 EMP_ID3 EMP_ID4 EMP_ID5
1 2 3 4 5
SQL>
SY. -
Single row/column marquee tool "add to" not working
I was trying to follow along with a tutorial that was using the single row/column marquee tool. In it they used shift click to add to the selection. It's not working for me. I also tried clicking on the add to icon for the marquee tool, and it still doesn't work. Does anyone know what the problem could be and how I might fix it?
Thanks!hey i know this is late but if its any help now all u need to do i zoom in a lil closer the proceed with the selection. hope i helped. oh and u have to make sure your grid lines are perfectly on the 10,20,30,... percent mark and u have to be zoomed in if u want to see your lines. the problem is your file is too big and has somn to do with ur computer. its not only mac windows too.
p.s. when ur done drawing the boxes u can zoom out...i know the tutorial -
How to make few columns of single record inactive in Table conrol?
Hi all,
Scenario is like this : i have one table control , it is displaying 10 records , in that first four columns are editable. Now my requirement is, whenever record having intial values( suppose one record having initial values among ten) except key field , we need to deactive that particular record , now table control should contain ten records , but nine records are in editable state and one record in non editable state .
How to make few columns of single record inactive in Table conrol?
Thanks in advance.hi there...
select the column that u want to convert to non editable mode in the screen layout. then double click on it. go to the attributes tab and uncheck the input chk box. the check box will become disabled for input. u can do this for any number of columns.
if u want to do it dyanamically, loop at screen. check for the screen element's name. when itmatches the column u want to disable, simply set the input value as 0.
dont forget to modify sscreen after setting the attribute values.
i hope this helps.
do reward if helpful.
Maybe you are looking for
-
Error while creating a material master (mm01)
hi, I'm getting this error message when I'm creating a material master in a specific plant/sloc. I'm probably guessing its in config. I really need some help here. "Tables TCURM and T001W inconsistent; notify your system administrator" . could any on
-
Does Spring's AbstractController reuse threads?
Hello all, I am planning on using a ThreadLocal<ProxySelector> so each time I call a WS a different proxy is used. For that, each time AbstractController returns a thread I want to have a thread that is unique. Is this the case with AbstractControlle
-
Wierd Apple TV Connection issue.....
AppleTV will connect to iTunes wirelessly via airport extreme, but will not connect via ethernet. Have disabled firewalls, updated everything, disabled/renabled search for appletv in itunes, rebooted everything - no sign of appletv when ethernet plug
-
Capture suddenly not available
I have been using sql developer for over a month now to move data from a mysql database to an oracle10 db. This afternoon the capture option (right click on a specific table) is greyed out/unavailable (it was working this morning). I didn't make any
-
Setting reject_limit error in external tables
I am setting the reject_limit for an external table but it is giving this error. My access data in csv i am importing into oracle using external tables. Please suggest how i can set the reject limit thnak you SQL> ALTER TABLE AIRFIELD_TEMP SET REJECT