How to return a value empty for a column
Hi allWe want to create an abridged version of the BI dashboards report that has the same number and order of the columns, but fewer lines. This will improve the size and performance of the load, Services dashboard.
For some columns, we need empty values, which means that the content must be empty, but the column must appear in the report.
I tried a few options in the tab "format of the column" under properties of the column of check and played with 'column header' and 'value', however, I couldn't get the desired effect.
Can achieve us?
Please suggest me on the same.
Regds
Mano
If you want to add a column to the State and the column indicates no data except null, you can do this by adding a column to the area in question and change its format to two single quotes without space between them (which basically means the null value).
Tags: Business Intelligence
Similar Questions
-
How to return the value 0 for no data using the County?
Hi all
I used this query to count the number of records for each month of the year:
SELECT DISTINCT COUNT (I.information_sid) COUNT, TO_DATE (TO_CHAR (INSERT_DATE, 'MM'), 'MM') MONTH
INFORMATION I
TO_DATE GROUP (TO_CHAR (INSERT_DATE, 'MM'), 'MM')
ORDER BY TO_DATE (TO_CHAR (INSERT_DATE, 'MM'), 'MM')
But this code returns no value for months without data
I want to return the value '0' for any month of data. How, please?
Note: I use reports 6i.Maybe this?
SELECT SUM(CNT_REC) CNT_REC, MONTH FROM ( SELECT COUNT(I.information_sid) CNT_REC, TO_DATE(TO_CHAR(INSERT_DATE,'MM'),'MM') MONTH FROM INFORMATIONS I GROUP BY TO_DATE(TO_CHAR(INSERT_DATE,'MM'),'MM') UNION ALL SELECT 0, LPAD(ROWNUM,2,0) FROM ALL_OBJECTS WHERE ROWNUM <= 12 ) GROUP BY MONTH ORDER BY MONTH
No need to SEPARATE during the use of GROUP BY.
-Clément
-
How to return us an invitation for a member of the team?
We had to build a new computer for a member of the team.
How to return us an invitation for a member of the team?
Hi Jim,.
If the team member already has an active license of the team, do not re - invite.
Please refer to the help documents below to download the application Adobe CC:
Download, install, update or uninstall applications
In the event that the Member did not have an active license, please see the help below document:
Manage your creative cloud to the membership of the teams
Kind regards
Sheena
-
How to create a value fixed for simultaneous program?
Hi friends,
I create a simultaneous program with a period of setting...
In the value set for parameter period, I use the following query:
-where application_id = 101
and set_of_books_id =: $PROFILES$ .gl_set_of_bks_id
and closing_status IN ('o', 'F', 'C')
order of period_year, period_num' -.
In my cursor, I have one condition ' where set_of_books_id = '.
How can I switch the whole above ID of books in the cursor? It does not work when I'm defining another parameter like book and passing this value to the cursor...
I need this period parameter to return all periods for all the books where we run the concurrent application of... I also need to get all of the books for my cursor IDs...
I hope I'm making sense... What I'm trying must have the period setting and also an OB id in condition of cursor...
Rgds,Please use the following example
Start
FND_GLOBAL. APPS_INITIALIZE (user_id-online-1, resp_id-online 51901, resp_appl_id-online 222);
end;DECLARE
SET_BKS VARCHAR2 (20);
BEGIN
FND_PROFILE. GET ('GL_SET_OF_BKS_ID', SET_BKS);
DBMS_OUTPUT. PUT_LINE (SET_BKS);
END;Maybe this will help you
Concerning
Nitin -
How to return the value of messageLovChoice
Hello
I used messageLovChoice to implement of poplist and return value to other elements as lov. I'm not Toolbox example to create extenal Lov, I just use internal lov located in messageLovChoice.
But if I do not run the VO that messageLovChoice used, the poplist show more... But I can search results lov table items, and other parameters can be set by lov selected/fast selected value.
Poplist do have values, I for the poplist VO executequery. then when the page show first of all, there are values in poplist, but even choose poplist value, no value is derived and set other items.
Could someone can help to lookinto it? From my understanding, messageLovChoice should be messageChoice and messageLovinput function, so the values should be returned to other elements through lov card when click poplist value, is it good?
Best regards
EileenHello
According to my understanding, it uses LOV just to show the values (if the values are more than 30), what features are it of just a poplist not a LOV
Kind regards
Out Sharma -
How to return two values of a function?
Hi all
I have a function which returns a varchar2 value. This value is used in the SQL of a ref cursor
Now I want this function returns two values. I tried to use varray, but could not accomplish the task.
Can you tell me how can I find the two values from a function? and how this function can be called in a SQL query?
Thank you very muchThe query should look like:
SELECT v.col.name AS name , v.col.flag AS flag FROM ( SELECT kk_test_kk(t.somecolumn,t.someothercolumn,42) AS col FROM sometable t ) v;
Note that you need to prefix with the name of view inline ('v' in the example) and the expression of the function ('col' in the example).
-
How to add the action button for each column in the interactive report
Hi all
I'm new in APEX, so pls forgive my question, if it's simple, but I am struggling with this problem for days now. I have interactive report and you want to add button in each row. What I want to do with this button is the following:
1. to execute some stored procedure in need of that particular line item values
2. returns a (id)
3. go in another page in the application by passing the value out of the procedure (id).
and I'm not find the way to do it. I tried now means:
1. If I add the link of the column, so I can refer to the value of the current row, I don't know how to call the stored procedure and perform actions of rest I need
2. If I add the button to the region, I do not know how to reference the values in column of a particular line of the interactive report...
and I'm stuck...
I just forms and global report and probably still think the "wrong" way .
Any help would be appreciated!
Thank you!!!
user3253917 wrote:
Please update your forum profile with a real handle instead of 'user3253917 '.
I request of the company: there is a customer who always orders the same standard product orders (always order the same products, fair amount is different). I want to make it simple for the user: instead of retyping the command (master and few records details every time yet) I want to copy selected command (copy of the master record and record details) so that the user will only change date order (in master record) and amount fields in record details).
So, in order to give him:
1. the user must be able to choose the order in which I would copy (at page 4), select it,
2. I need to make PL/SQL procedure to insert the new master record (order) and a few record details (order_items) (copy of the order/order_items chosen in step 1)
3. navigate the user to page 29, where the master account at stage 2 insterted appears, so that the user can change the date and quantities.
Any solution will be highly appreciated! Thank you very much!!!
In simple terms:
- Add a link to column "Command copies" in the report on page 4, which sets the COPY request and passes the order ID on page 29.
- On page 29, create a process before header, sequenced to be the first process executed and conditional on REQUEST be EXEMPLARY, which creates a new order as a copy of the order with the ID from page 4 and returns the ID of the new order in the PK command ID of 29 page element.
-
How to find the value duplicate of each column.
I have it here are four columns,
How can I find the duplicate of each columns value.
with All_files like)
Select ' 1000 'like BILL, "2000" AS DELIVERYNOTE, CANDELINVOICE ' 3000', '4000' CANDELIVERYNOTE of all union double
Select ' 5000 ', ' 6000', ' 7000 ', ' 8000' Union double all the
Select '9000 ', '1000', '1100',' 1200' from dual union all
Select ' 1200 ', ' 3400', ' 6700 ', ' 8790' Union double all the
Select ' 1000 ', ' 2000', ' 3000 ', ' 9000' Union double all the
Select '1230', '2340', ' 3450 ', ' 4560' double
)
SELECT * from All_files
Output should be as shown below.
1000 2000 3000 4000
9000 1000 1100 1200
1200 3400 6700 8790
1000 2000 3000 9000
Required to check uniqueness columns.
Thank you.Hello
If you are not too concerned about performance, this should give you the desired result:
SELECT distinct INVOICE, DELIVERYNOTE, CANDELINVOICE, CANDELIVERYNOTE FROM ( SELECT a.*, count(*) over(partition by t.column_value) cnt FROM All_files a, table( sys.odcivarchar2list( a.INVOICE , a.DELIVERYNOTE , a.CANDELINVOICE , a.CANDELIVERYNOTE ) ) t ) WHERE cnt > 1 ;
-
How to return the value of the SQL in the text element
Hi friends
I need you to guide me how I can print the return value of the SQL in a text element
Suppose it's your function
any help that I enjoyedcreate or replace function get_value return number is begin return 3*2; end; /
Thank you>
This is ORA-06502: PL/SQL: digital error or value.
Check the data type and size for items of text or any other variables or fields in the service.
-
How to return a value from stored procedure.
Hello
I have an insert in which insert a username through generated sequence number.
I need this generated sequence number stored procedure return.
Kindly help me to achieve this goal.
It might be useful if there is a code sample for the same thing.
Thank you
Ahmed ShareefuddinSomething like this:
create or replace procedure xproc (num out number) is begin insert into mytab values (myseq.nextval); select myseq.currval into num from dual; end; /
Max
http://oracleitalia.WordPress.com -
How to pass the value entered for the parameter IN a function
Hello
I'm new to pl/sql programming.
The function below is used inside a package and the package is called in visual studio.
The function uses the input parameters 2.
Out what "in_report_parameter_id" value comes through the application of service job processor.
The second IN the parameter values are hard coded into the function.
I am not able to understand this.
If the values are hard coded, how to ensure that only the hard coded values are the right ones?
Please could someone explain?
I don't really have good idea on how to move the INPUT parameter to the function or procedure
Is there any nice document that could give me good understanding about what are the ways or types we could transmit values to the input in the subprogrammes parameter?
Thanks in advance.
Published by: user10641405 on November 19, 2009 08:16CREATE OR REPLACE FUNCTION get_class_text_str ( in_report_parameter_id IN NUMBER, in_which IN VARCHAR2 DEFAULT 'SELECT' ) RETURN VARCHAR2 IS end_text VARCHAR2 (50) := ''; my_class_text_str VARCHAR2(10000) := ''; my_class_value_str VARCHAR2(10000) := ''; CURSOR class_text(c_1_text VARCHAR2, c_2_text VARCHAR2) IS SELECT c_1_text || report_parameters.report_parameter_value || c_2_text || report_parameters.report_parameter_value || '" ' FROM report_parameters WHERE report_parameters.report_parameter_id = 3690 AND report_parameters.report_parameter_group = 'CLASS' AND report_parameters.report_parameter_name = 'CLASS' GROUP BY report_parameters.report_parameter_value ORDER BY CAST(report_parameters.report_parameter_value AS NUMBER); BEGIN IF (in_which = 'SUM') THEN OPEN class_text ( 'SUM(NVL("Class ', '", 0)) "Class ' ); ELSIF (in_which = 'PERC')THEN OPEN class_text ( 'ROUND((("Class ', '" / "Total") * 100), 2) "Class ' ); end_text := ', DECODE("Total", -1, 0, 100) "Total" '; ELSE OPEN class_text ( 'SUM(DECODE(bin_id, ', ', bin_value, 0)) "Class ' ); END IF; LOOP FETCH class_text INTO my_class_value_str; EXIT WHEN class_text%NOTFOUND; my_class_text_str := my_class_text_str || ', ' || my_class_value_str; END LOOP; CLOSE class_text; my_class_text_str := my_class_text_str || end_text; RETURN my_class_text_str; END get_class_text_str; /
Published by: user10641405 on November 19, 2009 08:30This is not a conception I would use, but should work if coded correctly. I would probably create a reference text cursor query and use a fetch of open and close.
You have 2 input parameters, in_report_parameter_id and in_which. I could not find where in_report_parameter_id has been used in the program, but the value passed to in_which is used in the logic of the FI to decide on opening the cursor. After the cursor is opened lines are to be read and possibly the cursor is closed.
The in_which values are compared to the are hard-coded. It is the programming interface to ensure that the values are the values and the measures taken are also correct. Your program is assuming that if the first 2 values are not met the third listed is the one you want.
To pass values of entry in a procedure you simply provide the values as a literal or something like variable in the call,
whatever := get_class_text_str(1,'SELECT');
-
I called the procedure as belowcreate procedure emp_p ( v_r OUT emp%rowtype ) AS Begin select * into v_r from emp; end;
Errordeclare v_x emp%rowtype; Begin emp_p(v_x); end;
declare
*
ERROR on line 1:
ORA-01422: exact fetch returns more than number of lines
ORA-06512: at "SYS." EMP_P', line 4
ORA-06512: at line 4 level
Thank you
REDAinfant_raj wrote:
create procedure emp_p ( v_r OUT emp%rowtype ) AS Begin select * into v_r from emp; end;
OUT parametere v_r could contain data for one line only, so if your query
Select * into v_r from emp
returns multiple rows, you're bound to get "ORA-01422: exact fetch returns more than number of lines.
You can use SYS_REFCURSOR or Collections instead.
Vivek L
-
How to get the value of a particular column column name?
Hi all
How to get the column name for a particular column value.
example:
create table test (ID number, col2, col3 varchar varchar);
Insert into test values (1, 'true', 'false');
Insert into test values (2, 'false', 'true');
commit;
I want to choose the name of the data column 'true' with id = 1;
That is to say) while waiting for answer is "col2". pls help someone.This might help:
DECLARE c1 SYS_REFCURSOR; BEGIN OPEN c1 FOR SELECT col2, col3 FROM test WHERE id = 1; -- FOR c IN (SELECT rownum rn, t2.column_value.getrootelement() name, EXTRACTVALUE(t2.column_value, 'node()') value FROM TABLE(XMLSEQUENCE(c1)) t, TABLE(XMLSEQUENCE(EXTRACT(column_value, '/ROW/node()'))) t2) LOOP IF c.value = 'true' THEN DBMS_OUTPUT.PUT_LINE(c.name); END IF; END LOOP; END;
-
How do reference a value in the ATTR5 column from a mapping FDMEE Script?
OK, I think I thought about it:
In Jython his:
fdmRow.getString ("ATTR5")
Post edited by: Robb Salzmann - figured it out. I thought I want to leave here in case someone else had the same question. Still available for other answers and suggestions :) points
Hello
There are a few points not specified in your question:
* How to reference the ATTR5 column in the strRecord mapping FDMEE Import Script argument?
-There are no FDMEE mapping import Scripts. You have FDMEE mapping of Scripts and Scripts to import FDMEE. They are different types of scripts
-strRecord is used in the Import Script. Is the 2nd parameter of the import script works... def funcname (param1, param2):
-ATTR5 is a column in table TDATASEG. It is accessible in the FDMEE mapping using fdmRow.getString("ATTR5") or simply ATTR5 scripts if you use #SQL mappings
If it was your original question, or you have any other problem?
Concerning
-
How to assign a value to an attribute column in the table in the ADF
Hi all
BindingContext ctx = BindingContext.getCurrent ();
DCBindingContainer bc = (DCBindingContainer) ctx.getCurrentBindingsEntry ();
Iterator DCIteratorBinding = bc.findIteratorBinding ("StudentVO1Iterator");
Line r = iterator.getCurrentRow ();
FacesContext facesContext = FacesContext.getCurrentInstance ();
Application app = facesContext.getApplication ();
ExpressionFactory elFactory = app.getExpressionFactory ();
ELContext elContext = facesContext.getELContext ();
ValueExpression valueExp =
elFactory.createValueExpression (elContext, "#{data.") StudentAMDataControl.dataProvider} "(,Object.class);"
AMEST StudentAMImpl = (StudentAMImpl) valueExp.getValue (elContext);
String newno = amest.getEstNoGenerate ();
System.out.println ("new number" + newno);
r.setAttribute ("StudentNo", newno);
BindingContext ctxdet = BindingContext.getCurrent ();
DCBindingContainer bcdet = (DCBindingContainer) ctxdet.getCurrentBindingsEntry ();
DCIteratorBinding iterdet = bcdet.findIteratorBinding("StudentDetailVO1Iterator");
Line rdet = iterdet.getCurrentRow ();
System.out.println ("row" + rdet); print null
rdet.setAttribute ("DtlStudentNo", newno);
in code above my header part can affect return value, but the level of detail, it cannot affect. which shows nullpointer exception. because the Row rdet object become null. Why does this happen? it comes out when I press a button.
I code in backing bean Tin and running on the commercial version of jdeveloper 11g 2...
help jumping... anyone who knows...
Thank you.A good starting point are the docs (http://docs.oracle.com/cd/E28280_01/web.1111/b31974/bcentities.htm#sm0126).
Example http://dstas.blogspot.de/2011/10/master-detail-data-presentation-and.htmlTimo
Maybe you are looking for
-
Suggestion for Sony RAW viewer
I would love to see the ability to export to a an editorial (i.e. prores or same mpeg2 or XAVC) friendly files rather than simply DXP open EXR or stacks.
-
Y470p, video driver and error 126 * SOLVED *.
* think about it. I had to manually set the gpu to high performance in the opposite case, adobe would continue to use Intel Hi I have a problem opening the Adobe programs that I have - I get the error code 126. I guess this is a video driver issue? D
-
How properly using USB 6251 to measure the DC voltage
Hi all I have a problem as in the http://forums.ni.com/ni/board/message?board.id=170&message.id=404676&query.id=250408section. I'm sorry for the repetition of the subject, but I read all your advice and have not yet solved the problem. My task very s
-
Mouse and keyboard not working only not to the login screen
Hi, I was recently infected with Antispyware Soft virus. In my attempt to remove it, my screen went black, so I had to restart my computer. Entering my login screen, I was unable to connect because my keyboard and mouse no longer works. I tried to st
-
Administrator account makes me crazy
At the beginning I didn't know I had a hidden administrator account. All I knew was that I could not download anything! I finally found my account administrator in safe mode. My only problem is it is the only place it shows up. I am trying to tak