How to add two columns in the criteria (OBIEE 11 g)
HelloI try to add two columns in a criterion of obiee
* "Done - OLB processed invoices. "" Invoice amount - currency "__" made - OLB processed invoices "." " The amount of taxes AR - billing currency"
but the problem is:-
The first column have 500000000 and the second column contains some NULL values from the table. I think that this could be the problem when I try to add that it gives no output.
just an empty box.
Can someone tell me how we can add columns in this State.
Thank you to each and every one.
Try IFNULL (expr, value)
for the other columns
"Done - OLB processed invoices". " Charge the amount - currency "+ IFNULL (" made - OLB processed invoices "". ")" AR tax - currency billing", 0)
Published by: Srini VIEREN on March 20, 2013 10:02
Tags: Business Intelligence
Similar Questions
-
Mr President
Jdev worm is 12.2.1
How to add two lines when the second row is not visible, but also gets the first data line too?
I want to add two lines like below picture, but want the second to remain invisible.
I asked this question but my way of asking was wrong, that's why for me once again.
Concerning
Try to follow these steps:
1. in the database table to add the new column "JOIN_COLUMN" and add the new sequence "JOIN_SEQ".
2. Add this new column in the entity object. (You can add this in entity object by right clicking on the entity object and then select "Synchronize with database" then the new column and press on sync)
3. in your bookmark create button to create only one line NOT 2 rows.
4 - Open the object entity--> java--> java class--> on the entity object class generate and Tick tick on the accessors and methods of data manipulation
5 - Open the generated class to EntityImpl and go to the doDML method and write this code
protected void doDML(int operation, TransactionEvent e) { if(operation == DML_INSERT) { SequenceImpl seq = new SequenceImpl("JOIN_SEQ", getDBTransaction()); oracle.jbo.domain.Number seqValue = seq.getSequenceNumber(); setJoinColumn(seqValue); insertSecondRowInDatabase(getAttribute1(), getAttribute2(), getAttribute3(), getJoinColumn()); } if(operation == DML_UPDATE) { updateSecondRowInDatabase(getAttribute1(), getAttribute2(), getAttribute3(), getJoinColumn()); } super.doDML(operation, e); }
private void insertSecondRowInDatabase(Object value1, Object value2, Object value3, Object joinColumn) { PreparedStatement stat = null; try { String sql = "Insert into table_name (COLUMN_1,COLUMN_2,COLUMN_3,JOIN_COLUMN, HIDDEN_COLUMN) values ('" + value1 + "','" + value2 + "','" + value3 + "','" + joinColumn + "', 1)"; stat = getDBTransaction().createPreparedStatement(sql, 1); stat.executeUpdate(); } catch (Exception e) { e.printStackTrace(); } finally { try { stat.close(); } catch (Exception e) { e.printStackTrace(); } } } private void updateSecondRowInDatabase(Object value1, Object value2, Object value3, Object joinColumn) { PreparedStatement stat = null; try { String sql = "update table_name set column_1='" + value1 + "', column_2='" + value2 + "', column_3='" + value3 + "' where JOIN_COLUMN='" + joinColumn + "'"; stat = getDBTransaction().createPreparedStatement(sql, 1); stat.executeUpdate(); } catch (Exception e) { e.printStackTrace(); } finally { try { stat.close(); } catch (Exception e) { e.printStackTrace(); } } }
-
Hello
I have to add two controls on the same page datagrid. When I try to drag an another DataGrid in the components window, it says "an element with that name already exists in the library."
How can I add multiple controls on the same page datagrid?
Kind regards.
_data2 = new XML (event.target.data2);
should be
_data2 = new XML (event.target.data);
(actually, it's better if it was
_data2 = XML (event.target.data);
-
Hello
I am writing a javascript to add a column at the end of the table in the Indesign document. using our plug-in, we have created the Indesign document.
Each table I want to add an extra column at the end. Is it possible... ? Please help me if anyone has the idea in this regard.
Thank you
Vimala L
Hi Vimala,
Please try the JS code below, copy the following code will add the new column in each table last column after.
var myTable = app.activeDocument.stories.everyItem().tables.everyItem().getElements(); for(i=0; i
THX,
csm_phil
-
Oracle BPM 12.2.1 workspace how to add additional columns to the DB table tasklist
Hi all
I need to add some required columns to the table from the list of tasks (for example, activity and status of the activity referred to in the task line), I decompiled adflibTaskListTaskflow.jar and found a class named TaskModel.class in this package: oracle.bpel.worklistapp.tasklist.beans.model, if decompile you this class, you can see that at the table from the list of tasks, data are expressed here by using ITaskQueryService now how more columns may add other tables or is there another easier solution?
Hi Hadi,
You can add columns to your table of task list in the workspace by changing the current view, or even create a new (more and icons in pencil). The situation of activity is available in the list of columns.
You can also add columns to the list view based on flexfields tasks that you create.
If you manually change the adflibTaskListTaskflow.jar you can have problems in the future given that libraries can change between versions and of course are not recommended to do.
I have add columns to the list of tasks, and at that time here, we have created a list of custom task based on BPM Middleware. If you follow this method, you will have complete freedom to show what you want.
-
How to add new columns to the datablock
Hello
I am new to oracle forms.
You gurus out there can help me with a simple query.
I have a block of data based on the system_parameters table.
I have to add two new elements of text corresponding to two new columns (say A and B) added in the same table.
I added the text elements manually on the editor of layout of the data block.
In the range of property under section of the database that I gave the name of the column as A & B (new name column of the table).
When I run the form, it gives me FRM-40505 (impossible to make the request).
I know, the new text must be associated with system_parameters. A and system_parameters. B...
There are several things that must be accomplished in order to reflect the two new columns on the scree?
Any help will be greatly appreciated.
Kind regards
CaroleHello
When you get this error, displays the full error message by clicking on the option menu to help-> the last error .
François
-
How to add 2 points on the letter e in the Noel case? I don't have the 2nd series of digits to the right of the keyboard. Windows 8
Wednesday, April 23, 2014 23:25:53 + 0000, RobertNortonWZ wrote:
How to add 2 points on the letter e in the Noel case? I don't have the 2nd series of digits to the right of the keyboard. Windows 8
You mean you want the e character? These two points are called a
umlaut. You do not add points; the e with points is another
a simple e character. There are several ways to get this
character, but a simple is to hold the ALT key and type 137.As a point of information if you are interested, the subject of a
umlaut is to indicate that the second of the two successive vowels is
pronounced separately. So the word 'book' is pronounced buk, but the
Book name is pronounced BO - ock. -
Oracle how to multiply two columns of different tables and results
Oracle how to multiply two columns of different tables and get the result in the third column?
I want to multiply all the lines of the quantinty column in the table of quantity with the relevant lines of the table of prices price column and get the result of multiplying in the third column. What should I use procedure trigerr? OR IS IT POSSIBLE HOW TO DO IT PLEASE HELP :D
Edited by: 994229 2013-03-15 12:44/* Formatted on 3/15/2013 3:51:08 PM (QP5 v5.185.11230.41888) */ CREATE TABLE mytable1 AS (SELECT 1 id, 5 VALUE FROM DUAL UNION ALL SELECT 2, 7 FROM DUAL UNION ALL SELECT 3, 8 FROM DUAL); CREATE TABLE mytable2 AS (SELECT 1 id, 4 VALUE FROM DUAL UNION ALL SELECT 2, 12 FROM DUAL UNION ALL SELECT 10, 12 FROM DUAL); SELECT id, mytable1.VALUE, mytable2.VALUE, mytable1.VALUE * mytable2.VALUE product FROM mytable1 FULL OUTER JOIN mytable2 USING (id) ORDER BY id;
ID VALUE VALUE_1 PRODUCT 1 5 4 20 2 7 12 84 3 8 10 12
-
ViewCriteria comparing two columns of the table to create
Anyone know how I can create a ViewCriteria where clause that compares the two columns of the same table?
For example if I had two columns of integers (MINSAL and MAXSAL) and wanted to see if they are equal. Normally, I would do the following SQL below.
SELECT * EMPL
WHERE MINSAL = MAXSALTry to link any of them to an expression of groovy.
Timo
-
How to add a column of formulas in a report
Hello
I made a report based on a query.
There are 3 columns in the query and all 3 are displayed.
Now, I want to add a new column (column fomula) to the report.
I want to write a query within the formula column. To run the query col1, col2 and col3 values are required in the formula column.
Could you please tell me how to add a column of formulas in the report and how to pass the value of column of data in the formula column
concerningPlease see '3.9.1.2 an image or repeating framework' in the following document.
http://download.Oracle.com/docs/HTML/B13895_01/orbr_howto.htm#i1059697
In the property inspector of the extensible framework, there is a 'Source' property, use Group second query name here. Vertical elasticity of the framework would be variable.
-
calculate the sum of the two columns - display the result in the third column
Hello
I have a report and I want to calculate the sum of the two columns of the report and display the total in the third column.
For example: Sample_My_Report
Col1 Col2 (Col1 and Col2) Total
3-7-10
can someone help me with this question.
Thank you.Hello:
If your report is an IR you can use the menu "Tool" to add columns calculated at the State
CITY
-
How to compare two columns in Xl
I want to compare two columns in the file of Xl. column A contains phrases and column B contains the words
For example
Column A Column B Column C
I have an Apple and I'll eat every day Apple Apple
I have a banana and eat weekly banana papaya
Oranges are rich in nutritions cauliflowers Oranges
Papaya is good for health Grapes Papaya
Oranges
Lichi
Banana
I want to check each value of column B in each cell in column A, and if it matches then it should return the corresponding value in the result to me. Column C should Look Like as shown above.
Can someone point me in the right direction here of what formula to use for this Xl.
Thank you
This is a forum for Mac OS X technologies, so here's an Applescript solution:
- Copy-paste the script in the Script Editor
- Select the cells in columns A and B
- Command + c to copy to the Clipboard
- Click on the button "run" in the Script Editor
- Click once in the top cell in column C where you want the data
- Command + v to paste
Here are the results:
There is no verification error here. You must select and copy to the Clipboard before the race.
SG
the value LstOfLsts to makeListOfLists (the Clipboard as a 'class utf8 ')
the value theSentences to getCol1Vals (LstOfLsts)
the value collected in getCol2Vals (LstOfLsts)
game of theMatches to «»
Repeat with I in collected items
If theSentences contains I then ¬
the value of theMatches to theMatches & i & return
end Repeat
Set the Clipboard for theMatches
to getCol1Vals (LofL)
game of col1Vals to «»
Repeat with en LofL points
the value col1Vals to the col1Vals & "" & i point 1
end Repeat
end getCol1Vals
to getCol2Vals (LofL)
the value col2Vals to {}
Repeat with en LofL points
If i's point 2 is not "" then ¬
i copy point 2 to the end of col2Vals
end Repeat
return col2Vals
end getCol2Vals
at makeListOfLists (theTxt)
value was to theTxt paragraphs
the value text point of delimiters
the value theListOfLists to {}
Repeat with I from 1 to count was
the value theListOfLists to the theListOfLists & {the was point i text elements}
end Repeat
the value point text delimiters to «»
return theListOfLists
end makeListOfLists
-
How to watch two clips at the same time on the other, with an opacity of 50% each. It is confirmed that the position of the object even two clips of mergers.
Thank you
PPut a clip on top of another in the timeline panel. In the video Inspector reduce the opacity of the clip on top.
-
How always show left column on the screen, when I scroll to the right of a large spreadsheet
How always show left column on the screen, when I scroll to the right of a large spreadsheet
If the left column is a column header, you can check freeze header columns in the table menu.
Better not to use TOO many columns. Numbers works best with relatively little.
SG
-
I use the full version of DASYLab 8.0, how to add PID module in the design of the façade (window layout)? while I can vary the p, i, d values in the window layout
To do that you will need to change the varibles PID values and then use the sliders to add numbers to a latch for variables that point.
This is how I think it works in Version 8.
In all cases, you should move on to 12 more stable summer.
In addition, unless that is a very slow process, I generally do not like closed loop PID with DASYLab due to the fact that computers is not reliable with timing.
Maybe you are looking for
-
Where can I find a complete list of css to userChrome.css options?
Can the title says it all really, where I find a complete list of css to userChrome.css options? The list of mozillaZine seems massively out of date. http://KB.mozillazine.org/Chrome_element_names_and_IDs
-
I've updated for Firefox 6.0, and now I can't download videos of You Tube in real-time. Do not get the pop up box to download the video, or choose to download when I right-click. Firefox 5.0 downloaded videos without problem. Have the latest version
-
ea3500 connect to a 4 case drive
can I connect the ea3500 to 4 Bay enclosure: http://ain.mediasonic.ca/store/product_info.php?products_id=234 It is connected via usb only 1 wedge inside, I have 4 2 TB western digital drives I'll be able to see the 4 drives on my network?
-
Hello Since a few days, my srw2048 are flooding my logs (one week: 119.229 for switches about 40): % DBOVERFLOW-W-UPNP: UPnP retransmission DB overflow. #015 What does this message mean? How can I solve this problem?
-
Pavilion dv7 - 1023cl does not connect to 1 Gbps but other devices will be
According to the specifications of my laptop Pavilion dv7 - 1023 cl, it has a gigabit ethernet port, but no matter how hard I try, I can't get it to connect to my network at that speed. Instead, it connects to 100 Mbps / other laptops, including a m