difference of dates according to the model described
Hello
Need help...
I have a table as below:
create table select TEST_CASETBL (ID, CASE_NUM, CHANGED_ON_DATE, AUDIT_FIELD, OLD_VAL, NEW_VAL)
111 1, 123-456', TO_DATE (January 9, 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'status', 'Open', 'Farm' of the DUAL union all select
110 1, 123-456', TO_DATE (August 30, 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'sub-statut', 'close', "the DUAL Union all select them
109 1, 123-456', TO_DATE (August 29, 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'sub-statut', 'Customer of work', 'close' from DUAL union all select them
108 1, 123-456', TO_DATE (August 26, 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'Sub-etat', 'plane', ' work customer "DUAL Union select all
107 1, 123-456', TO_DATE (24 August 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'sub-statut', 'work', 'air' Union DOUBLE select all the
106 1, 123-456', TO_DATE (August 22, 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'Sub-etat', 'review', 'work' Union DOUBLE select all the
105 1, 123-456', TO_DATE (August 20, 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'sub-statut', 'customer of work', 'revision' of union DOUBLE select all the
104 1, 123-456', TO_DATE (August 18, 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'sub-statut', 'work', ' client working "DUAL Union select all
103 1, 123-456', TO_DATE (16 August 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'sub-statut', 'New', 'Work' Union DOUBLE select all the
102 1, 123-456', TO_DATE (8 October 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'sub-statut', ", 'New' from DUAL union select all
101 1, 123-456', TO_DATE (8 October 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'Account', ", 'TestingAcc' from DUAL union select all
100 1, 123-456', TO_DATE (8 October 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'status', ", 'Open' from DUAL;
I would like to calculate the duration total (days ideally) to AUDIT_FIELD = 'under status', thus have a set of lines like:
New CASE_NUM review work customer close air it total by age
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
123-456 6 d 0 h 0 m 4 d 0 h 0 m 5 d 0 h 0 m 2d 0 h 0 m 2D 0 h 0 m 1 d 0 h 0 m 20 d 0 h 0 m
Here is the explanation of the pattern:
New:
diff (value ID:103 CHANGED_ON_DATE - 1 - value ID:102 CHANGED_ON_DATE - 1)
work:
diff (value ID:104 CHANGED_ON_DATE - 1 - value ID:103 CHANGED_ON_DATE - 1) + diff (value ID:107 CHANGED_ON_DATE - 1 - value ID:106 CHANGED_ON_DATE - 1)
customer work:
diff (value ID:105 CHANGED_ON_DATE - 1 - value ID:104 CHANGED_ON_DATE - 1) + diff (value ID:109 CHANGED_ON_DATE - 1 - value ID:108 CHANGED_ON_DATE - 1)
Review:
diff (value ID:106 CHANGED_ON_DATE - 1 - value ID:105 CHANGED_ON_DATE - 1)
air transport:
diff (value ID:108 CHANGED_ON_DATE - 1 - value ID:107 CHANGED_ON_DATE - 1)
close:
diff (value ID:110 CHANGED_ON_DATE - 1 - value ID:109 CHANGED_ON_DATE - 1)
Sum of the age
sum (new + customer work + work + review + air + close + total age)
Note:
If lets say 2 rows below does not exist in table
111 1, 123-456', TO_DATE (January 9, 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'status', 'Open', 'Farm' of the DUAL union all select
110 1, 123-456', TO_DATE (August 30, 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'sub-statut', 'close', "the DUAL Union all select them
then
"close:" should be
diff (current_date - value ID:109 CHANGED_ON_DATE - 1).
That is because the status of CASE_NUM is still 'open' not yet closed and there is no subreport flip of 'close' another value
I would appreciate any idea how to solve this, ideally as an SQL
Thank you
If the seconds and fractions of a second can be simply thrown away:
with
test_casetbl as
(select id 111-1', 123-456' case_num, to_date (January 9, 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss') changed_on_date, audit_field 'status', 'Open' old_val, 'Closed' new_val Union double all the)
Select ' 110-1, 123-456', to_date (August 30, 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'sub-statut', 'close', "Union double all the
Select ' 109-1, 123-456', to_date (August 29, 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'sub-statut', 'Customer of work', 'close' Union double all the
Select ' 108-1, 123-456', to_date (August 26, 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'sub-statut', 'air', 'Client working' double Union all
Select ' 107-1, 123-456', to_date (24 August 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'Sub-etat', 'work', 'plane' from dual union all
Select ' 106-1, 123-456', to_date (August 22, 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'Sub-etat', 'review', 'work' of all the double union
Select ' 105-1, 123-456', to_date (August 20, 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'sub-statut', ' customer work ', 'review' Union double all the
Select ' 104-1, 123-456', to_date (August 18, 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'sub-statut', 'work', ' client working ' double Union all
Select ' 103-1, 123-456', to_date (16 August 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'registered void', 'New', 'Work' from dual union all
Select ' 102-1, 123-456', to_date (8 October 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'sub-statut', ", 'New' dual union all
Select ' 101-1, 123-456', to_date (8 October 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'Account', ", 'TestingAcc' from dual union all
Select ' 100-1, 123-456', to_date (8 October 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'status', ", 'Open' double
)
Select case_num,
-regexp_replace (ltrim (regexp_replace (numtodsinterval (new, 'day'),'\s(\d{2}):(\d{2}):. *', had \1h \2m'),'+0'), '00 (.)', '0\1'))
-- regexp_replace (ltrim (regexp_replace (numtodsinterval (work, 'day'),'\s(\d{2}):(\d{2}):. *', had \1h \2m'),'+0'), '00 (.)', '0\1') work, )
-regexp_replace (ltrim (regexp_replace (numtodsinterval (customer_working, 'day'),'\s(\d{2}):(\d{2}):. *', had \1h \2m'),'+0'), '00 (.)', '0\1') customer_working,)
- regexp_replace (ltrim (regexp_replace (numtodsinterval (review, 'day'),'\s(\d{2}):(\d{2}):. *', had \1h \2m'),'+0'), '00 (.)', '0\1') review,)
- regexp_replace (ltrim (regexp_replace (numtodsinterval (air, 'day'),'\s(\d{2}):(\d{2}):. *', had \1h \2m'),'+0'), '00 (.)","0\1") air,)
- regexp_replace (ltrim (regexp_replace (numtodsinterval (close_it, 'day'),'\s(\d{2}):(\d{2}):. *', had \1h \2m'),'+0'), '00 (.)', '0\1') close_it,)
- regexp_replace (ltrim (regexp_replace (numtodsinterval (new + work + customer_working + review + air + close_it, 'day'),'\s(\d{2}):(\d{2}):. *', had \1h \2m'),'+0'), '00 (.)', '0\1') total_age)
regexp_replace (ltrim (regexp_replace (numtodsinterval (work, 'day'),'\s(\d{2}):(\d{2}):. *', had \1h \2m'),'+0'), "0 (\d.)", "\1") work,)
regexp_replace (ltrim (regexp_replace (numtodsinterval (customer_working, 'day'),'\s(\d{2}):(\d{2}):. *', had \1h \2m'),'+0'), "0 (\d.)", "\1") customer_working,)
regexp_replace (ltrim (regexp_replace (numtodsinterval (review, 'day'),'\s(\d{2}):(\d{2}):. *', had \1h \2m'),'+0'), "0 (\d.)", "\1") review,)
regexp_replace (ltrim (regexp_replace (numtodsinterval (air, 'day'),'\s(\d{2}):(\d{2}):. *', had \1h \2m'),'+0'), "0 (\d.)", "\1") air,)
regexp_replace (ltrim (regexp_replace (numtodsinterval (close_it, 'day'),'\s(\d{2}):(\d{2}):. *', had \1h \2m'),'+0'), "0 (\d.)", "\1") close_it,)
regexp_replace (ltrim (regexp_replace (numtodsinterval (new + work + customer_working + review + air + close_it, 'day'),'\s(\d{2}):(\d{2}):. *', had \1h \2m'),'+0'), "0 (\d.)", "\1") total_age)
(select case_num, change_name, sum (duration) duration
from (select case_num, changed_on_date, change_name, change_type,
-case when change_type = 'start '.
and lnnvl (lead (change_type) (case_num partition, change_name order of changed_on_date)! = 'stop')
then nvl (lead (changed_on_date) (case_num partition, change_name order of changed_on_date), sysdate)-changed_on_date
the end time
from (select case_num, changed_on_date, lower (old_val) old_val, lower (new_val) new_val
of test_casetbl
where audit_field = 'under status.
)
UNPIVOT (change_name for change_type (old_val as 'stop', 'start' new_val))
)
Case_num group, change_name
)
Pivot (max (duration) for change_name in ('News' as new 'work' as work, "client works ' as customer_working, 'review' as review, 'air' under the air name, 'close' as close_it))
CASE_NUM | NEW | WORKING | CUSTOMER_WORKING | REVIEW | AIR | CLOSE_IT | TOTAL_AGE |
---|---|---|---|---|---|---|---|
123-456 | 6 d 0 h 0 m | 4 d 0 h 0 m | 5 d 0 h 0 m | 2D 0 h 0 m | 2D 0 h 0 m | 1 d 0 h 0 m | 20 d 0 h 0 m |
Concerning
Etbin
changed to allow zero delete for h and m
Tags: Database
Similar Questions
-
Cannot see reverse data warehouses in the model
Hi all
I am trying to reverse both PeopleSoft custom defined in an Oracle database tables and bring them to ODI.
However, even if the reversal of the process itself (standard and custom) doesn't give any errors, I can't see the data stores in the model.
I connect to the Oracle database using a user id that is not sysadm. This user had only read access to the two tables and sys.dba_objects (initially, while doing a reversal on measure, it was an error which I understand that sys.dba_objects need to access) above.
I am able to query and read data from tables using sql developer using this new user.
I believe also that the topology has been set up properly and I could do a ping of the database by using the user successfully when you set the physical schema.
Advice as to why I can't see data warehouses in the model even after the overwhelming success?
Help any will be appreciated.
Thanks in advance,
VivekYes,
The latter request must show any xxxx of the user table, and he did not.
Take a look if the objects you need to reverse are not synonymous. If that's true, if they are public or private and the true owner of the table referenced by the synonym...
Cezar Santos
http://odiexperts.com -
Scale to record data according to the time
Hello
I NI 9237, OR cDAQ-9172 and a set of scales. I downloaded the VI 'load_cell_null_off_shuntcal' on the web. And now I need one of no to save the load cell data according to time in an EXCEL file (column of the first hour and second column is load). And how to control the rate of data acquisition? Are there examples of this application? Any help would be appreciated!
Thank you!
Melody
-
Update the field Date according to the date of another field
Hi I have a field called "contract end Date" which I update manually according to the contract, and a field called "notify contract end Date" I want to be updated automatically with the "end of contract date" - 45 days.
Is this possible via workflow? can someone give me the syntax that works? If I want to manually insert the value of the field 'Date to end the contract to notify' it will overwrite it?
Thank you, DavidHello!
Create your workflow on your object type, select the before saving the trigger modification event, put the following condition:
[< contract end date >] <>MEADOW ("< the contract end date > '")
And in action, update the field End Date of the contract to notify with end Date of contract - 45 and check the replacement value. You contract end Date field must be with the type date.
I hope this will help, do not hesitate to ask for more!
Max
-
Insert data according to the length of column in table
Hello
If the length of the characters is more than one defined causes error. It's very embarrassing especially when get data dynamically
and our query does not insert information that we expect.
While trying to find the solution an idea came to my mind that, before insertion, so we check that the next data is greater than the specified length
Take only the amount of characters that can be inserted and ignore the rest.
I thought that the query as follows but failed.
Is it possible to insert data up to the amount this column length defined by ignoring the obsolete characters and if the dataSQL> insert into cvDetails(cv_id,objectives) values(9687,substr("Hello",1,3950)); insert into cvDetails(cv_id,objectives) values(9687,substr("Hello",1,3950)) * ERROR at line 1: ORA-00984: column not allowed here
length is less defined length of column, and then insert it as it is?
Thank you in anticipationHello
Do not use double quotes as the string delimiters:
SQL> create table test_nsa (str varchar2(10)); Table created. Elapsed: 00:00:00.88 SQL> insert into test_nsa values (substr('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',1,10)); 1 row created. Elapsed: 00:00:00.08
-
synchronize data dictionary with the model does not generate the DDL
Hello
I followed the instruction from the link below
Re-engineering of your database by using the Data Modeler 3.1
Here's what I did.
1. the tables imported using import-> MS SQL 2012 data dictionary (used jDTS 1.3.1)
2. Add new column to one of the imported tables of the Data Modeler
3. click on synchronize data dictionary button
4. compare the contextual model poster! indicating there is gap, but the DOF Preview button is disabled.
Would you advise me what I got wrong?
Best,
Yong
MODIFY the script is only supported for Oracle databases.
-
View data - how to the model to be displayed to the nearest 0.01%?
I'm trying to get a calculated value to display within 0.01%. The forumla is simple: 288/12237 = 2.35%. However, when I put the data model to one of the options per cent, the only number that returns the calculation is 2%. How can I get the return as 2.35% value?
Hello
Use this display mode:
NUM {z, zzz, zz9.99 '%'}
-
extract data according to the date and time
Hi all
create table orders
(number of order_id,
number of customer_no
ORDER_DATE date,
primary key constraint orders_pk (order_id))
Insert orders (order_id, order_date, customer_no)
Select 1,7508, to_date (September 15, 2013 22:09 ',' dd/mm/yyyy hh24 ') of double
Union
Select 2,7508, to_date (September 16, 2013 00:09 ',' dd/mm/yyyy hh24 ') of double
Union
Select 3,7508, to_date (September 16, 2013 11:09 ',' dd/mm/yyyy hh24 ') of double
Union
Select 4,7508, to_date (September 24, 2013 05:00 ',' dd/mm/yyyy hh24 ') of double
-need to recover all the commands which made between 15:00 and 08:00 the next day.
I want that my results will look like:
time of orders
time of orders order_id time Hader 4 September 15, 2013 15:00 ' - 16/09 / 2013 08:00 1 15/09/2013 22:09 '. 2 September 16, 2013 00:09 23/09/2013 15:00-24/09/2013 08:00 4 23/09/2013-05:00 ". Please your help.
Naama
My final request-
WITH t1 as
(
Select 1 order_id, 7508, to_date (September 15, 2013 22:09 ',' dd/mm/yyyy hh24 ') double dt
UNION all
Select 2,7508, to_date (September 16, 2013 00:09 ',' dd/mm/yyyy hh24 ') of double
UNION all
Select 3,7508, to_date (September 16, 2013 11:09 ',' dd/mm/yyyy hh24 ') of double
UNION all
Select 4,7508, to_date (September 24, 2013 05:00 ',' dd/mm/yyyy hh24 ') of double
)
SELECT
(CASE
WHEN To_Char (dt, 'hh24') > 12 THEN
(To_Char (Trunc (dt) + 15/24, "dd/mm/yyyy hh24")) | » -'|| (To_Char (trunc (dt + 1) + 8/24, ' dd/mm/yyyy hh24'))
WHEN To_Char (dt, 'hh24')<12>12>
(To_Char (trunc(dt-1) + 15 / 24, "dd/mm/yyyy hh24")) | » -'|| (To_Char (trunc (dt) + 8/24, ' dd/mm/yyyy hh24'))
END)
time_of_orders, order_id, To_Char (dt, ' dd/mm/yyyy hh24') order_time, header4 NULL
FROM t1
WHERE
DT > = (CASE WHEN To_Char (dt, 'hh24') > 12 THEN
Trunc (dt) + 15/24
WHEN To_Char (dt, 'hh24')<12>12>
Trunc(DT-1) + 15 / 24
end)
AND
DT<=>=>
BOX WHEN To_Char (dt, 'hh24') > 12 THEN
Trunc (DT + 1) + 8/24
WHEN To_Char (dt, 'hh24')<12>12>
Trunc (dt) + 8/24
(end);
It is tested... check my post below.
-
Screen presentation of appeal change on site according to the model of used appeal
Hello
How do I make a field (in my case, Ref_Composite) be not read that in the customer portal if the customer has selected Service request model?
I tried to do this in the designer, but the Call presentation screen is independent of the chosen model call. I'm working on the VSM 9.0.9
Thank you
Hi Ujaua,
I think you need to create a copy of the form "Call Submission" for the set of particular screen (in this case "Request for Service"):
1. in the designer, select screens for appeal [ScreenSet = All, screen design = Customer Portal]
2. Select (do not open) 'call' form and press the create"" button.
3. in the screen Details of the form of the dialog box choose these values: create = name = screen call memory, configured screen = Service request copy of = call call presentation, and then click OK.
4. then you will have a specific form to display defined "Request Service" call statement in the customer portal and you will be able to change by your requests.
Gytis
-
How to calculate the data according to the fiscal
I want to dispaly the result for the accounting year from April to March for any accounting year (Accounting year is from April to March). I have a table INVOICE. CREATE TABLE INVOICE ( IN_NO NUMBER, IN_DT DATE, IN_DETAILS VARCHAR2(20 BYTE) ) I want to calculate display the result for accounting year from April 2010 to March 2011, and from April 2011 to MArch 2012. What statement should i use to filter the data as above ? Sanjay
user12957777 wrote:
I want to dispaly the result for the accounting year from April to March for any accounting year (Accounting year is from April to March). I have a table INVOICE. CREATE TABLE INVOICE ( IN_NO NUMBER, IN_DT DATE, IN_DETAILS VARCHAR2(20 BYTE) ) I want to calculate display the result for accounting year from April 2010 to March 2011, and from April 2011 to MArch 2012. What statement should i use to filter the data as above ? Sanjay
You should now learn to use correctly
tags select to_char(add_months(in_dt,-3),'YYYY') FISCAL_YEAR FROM INVOICE;
-
To filter the data according to the year of the field date of a table
Hi I have a table
I want to select this table ID values by comparing the year in the area of set_date.TABLE T1(ID NUMBER, SET_DATE DATE)
To do this, I wrote
It returns no rows.select id from t1 where set_date like '%2010%' ;
But the following code does not work
Although the second code works there is an inability in these two codes because I do not specify to correspond to the year. It is quite possible that 10 can be present anywhere else, and this query returns all the lines. So how to filter the lines by year?select id from t1 where set_date like '%10%' ;
Hello
Here's a way
select id from t1 where extract(year from set_date) = 2010 ;
Concerning
Peter -
Using SQL query, create data according to the requirement
Hello
Here is my table
CREATE TABLE Test_Data ( Test_Id VARCHAR2(10), Start_Date DATE, end_date DATE ); INSERT INTO Test_Data VALUES ( 'A1', To_Date('10-OCT-2013','DD-MON-YYYY'), To_Date('11-OCT-2013','DD-MON-YYYY') ); INSERT INTO Test_Data VALUES ( 'A2', to_date('05-APR-2014','DD-MON-YYYY'), to_date('05-APR-2014','DD-MON-YYYY') ); commit
Nauru output like:
ID Date Date_Part A1 OCTOBER 10, 2013 1 A1 OCTOBER 10, 2013 2 A1 OCTOBER 10, 2013 3 A1 OCTOBER 10, 2013 4 A1 OCTOBER 11, 2013 1 A1 OCTOBER 11, 2013 2 A1 OCTOBER 11, 2013 3 A1 OCTOBER 11, 2013 4 A2 APRIL 5, 2014 1 A2 APRIL 5, 2014 2 A2 APRIL 5, 2014 3 A2 APRIL 5, 2014 4 Help, please.
Something along these lines perhaps, but I suggest that you create your own collection types.
Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing options
SQL > WITH test_data AS
2 (SELECT 'A1' test_id, to_date (October 10, 2013 ',' MON-DD-YYYY "") start_date,)
3 to_date (11 October 2013 ',' MON-DD-YYYY "") end_date
4 DOUBLE
5. ANY TRADE UNION
6. SELECT 'A2', to_date (5 April 2014 ',' MON-DD-YYYY "").
7 to_date (5 April 2014 ',' MON-DD-YYYY "")
8 DOUBLE)
9. SELECT td.test_id 'ID', da.column_value 'Date', pa.column_value 'Date_Part '.
10 test_data TD,
TABLE 11 (CAST (MULTISET
12 (SELECT td.start_date + LEVEL - 1
13 DOUBLE
14 CONNECT BY LEVEL<= td.end_date="" -="" td.start_date="" +="" 1)="">=>
da 15 sys.odcidatelist)).
16 pa TABLE (sys.odcinumberlist (1, 2, 3, 4));
ID Date Date_Part
-- --------- ----------
A1 10 OCTOBER 13 1
OCTOBER 10, 13 2 A1
OCTOBER 10, 13 3 A1
A1 10 OCTOBER 13 4
OCTOBER 11, 13 1 A1
OCTOBER 11, 13 2 A1
OCTOBER 11, 13 3 A1
OCTOBER 11, 13 4 A1
A2 5 APRIL 14 1
APRIL 5, 14 2 A2
APRIL 5, 14 3 A2
APRIL 5, 14 4 A2
12 selected lines.
SQL >
-
Selection of data according to the requirement
Hello
I HAVE A STRUCTURE OF TABLE AND ITS VALUES AS BELOW.
create table test
(code varchar2 (10))
usable varchar2 (2));
insert into test ('CV001', 'V') values;
insert into test ('CV002', 'V') values +
Insert test values ('CV002', ' don't);
insert into test ('CV003', 'V') values;
insert into test ('CV004', 'V') values;
insert into test ('CV005', 'V') values;
insert into test values ('CV006', ' don't); +
Insert test values ('CV006', ' don't);
insert into test ('CV007', 'V') values +
Insert test values ('CV007', ' don't);
insert into test ('CV007', 'P') values;
insert into test ('CV008', 'V') values;
insert into test ('CV009', 'V') values;
Insert test values ('CV0010', ' don't);
insert into test ('CV0010', 'P') values +
I want to choose the code using the following condition.
"If you find 2 or more records with the same code, you take that is usable in alphabetical order the letter higher."
In this case, I would take records "BOLD" italics between above documents with the same code. (highlighted in bold)
I'm unable to reach higher.
Any help would be appreciated.
Thank you
MaheshHello Manu,
simple function max:
SELECT code, MAX (usable) usable FROM test GROUP BY code; CODE USABLE ---------- ------ CV003 V CV006 N CV009 V CV0010 P CV001 V CV004 V CV007 V CV002 V CV008 V CV005 V
If case you want to take only the code having 2 or more records, you can use the HAVING clause:
SELECT code, MAX (usable) usable FROM test GROUP BY code HAVING COUNT(*)>= 2; CODE USABLE ---------- ------ CV006 N CV0010 P CV007 V CV002 V
Kind regards.
AlPublished by: Alberto Faenza on December 12, 2012 12:11
-
ODM deals Mining Type according to the algorithm
Running of the ODM 3.0.04 version.
In the node template, the user can select an algorithm and then select the "Advanced" button to display the "Advanced Configuration" dialog box. The Advanced Settings dialog box allows the user to change the 'Mining Type' (for example numeric or categorical) of an attribute. It is, of course, something you have to do much since ODM often guess the Type mines incorrectly. However, dialog boxes require the user to repeatedly change the Type of Mining for each active algorithm - that is, all four algorithms for a Classification model node. I do not believe that the Type mines is a function of the algorithm. For example, if an attribute is yes/no in a classification algorithm, it is always a yes/no attribute for the following classification algorithm.
I suggest doing the part of mining Type selection node of data rather than the node class Build Source.
Is there somewhere other than this forum where we need to incorporate these kinds of suggestions and wishes?Hello
This feature is already scheduled, but it is not well documented or obvious.
Here are the steps:
1. the nodes of generation model using a set of heuristics to determine whether to exclude columns from the model of construction process or possibly to change the type of mining (digital to categorical only).
2. run the node model to build everything first to see what Data Miner provides for the usage parameter data.
3. to display the parameters of use of data resulting, you go to the advanced settings of the main Editor dialog box dialog box.
For each model, please uncheck the 'Auto' in the main grid at the top of the dialog box.
You should now see the details of the setting for use of the data for each model.
There may be variability as to whether the column is included or not for an algorithm given restrictions of data algorithm type.
The type of mining will not vary according to the models.
4. to change a specific setting for more than one model, select all models in the main grid you want change or do ctl - a if you want to select all models.
Then go to the detail grid and change the settings.
In this way, you can change the type of mine once, for all models.
You can also include/exclude columns or turn off the automatic preparation of the data in the same way.
I will not disable the automatic data preparation, as this could occur in the model build failure if you haven't posted for the preparation of the data required on your own.Of course, if you can ignore steps 1 and 2 If you don't want Data Miner to a first cut in these settings.
For the moment, I made a request to improve the online help for the settings for using data to better explain this behavior.Thank you, Mark
-
Data filtering of the subsidiary ledger which are loaded into the tables of BAW of EBS
Hi all
Thank you for taking the time to read this post.
Environment
Applications of Oracle's BI 7.9.6 (financial and analytical project)
Oracle E-Business Suite 11.5.10
Question
I would like to be able to filter the source EBS 11.5.10 (mainly by the operational unit) that are loaded in the BAW. I've implemented financial analytics and project analytics and to the departure I intended according to the instructions described in the documentation of Oracle Oracle BI Configuration Guide Applications for Informatica PowerCenter section 5.2.2.4 users how to specify the great book or series of books for which GL Data is extracted, but then realized that it wasn't relevant to the General Ledger and would not impact the subsidiary ledgers.
I want to filter a (large) special operational unit (org_id) whose business do not want to include in their BI reporting at this stage.
Is it possible to do easily thanks to the configuration? I don't really want to be change all workflow or deletion at the .rpd level.
I can implement security OU_ORG to limit the data that end users have visibility to display, but my goal is not to fill the BAW tables withthis data in the first place (mainly as a result of the quality of the data volumes and data) which are perform my execution Plans.
Kind regards
Gary.Gary, this can be done by a simple configuration. For the moment, this done as a customization. Basically, you need to add a filter to the mappings of extract (SDE) that you want to limit the data.
Maybe you are looking for
-
I clicked on it: nothing...I searched my messages: nothingI tried Firefox and the web for that person... nothing...I closed and reopened my mailbox mailbox: nothing.I'm sure it's a spam message, but I deleted the spam, was unavailable and closed on m
-
Equium U400 Windows Vista graphical glitch
Hi all I ve recently purchased the above machine and I would have been very happy with it if it wasn't graphical glitch. It usually appears after a few minutes of work, and it blurs the colours, to look like twisted enough (IE background is for examp
-
Lenovo y50-70 extremely boring stutter LAG!
So I've only had this laptop for a week already and I look forward to all of its features, except that I experience extreme stuttering gal. The stutter lag effects games, software, etc... The shift goes something like this: Hello you are t-t-t-t-t-t-
-
bluetooth Windows search does not find my sd10 headset motorola
Recently bought this Motorola SD10 HD bluetooth headset to listen to internet radio on my laptop Dell Latitude E6410. The headset pairs easily with my HTC Droid phone, but I'm unable to pair it with my laptop. The search function of Windows blue
-
Hello I was randomly to the blue with message IRQL_NOT_LESS_OR_EQUAL (tcpip.sys) followed by a reboot screen. I downloaded a few files dump on Skydrive , which is accessible via http://sdrv.ms/15XYdiz Based on previous questions by other members, I h