Create another table based on data from table above

Hi all am using EJB 3.0 as technology.
I have a table where user insert records.
The field are as below
TableId, projectId, TaskId, TOdate, duration, comments.
I need to traverse this table and create another table that will display duration perday.
for example
Monday Tuesday Wednesday Thursday Friday
6hr 8hr 7hr 8hr 9hr
Thank you for your help regards
Lutchumaya

How-to information added to the example page.
I experimented (not altogether to my satisfaction) with APEX 4.0 sub-regions which won't be usable anywhere else at present, so haven't said anything about region layout. In earlier versions you could use 2 or 3 regions with suitable choices of region templates according to your preference.

Similar Messages

  • Create another table from existing table with distinct elements

    I have a table applying select clause on which gives following result.
    SQL> select *
    2 from BRANCH_MSTR;
    BRANCH_NO NAME
    B1 Vile Parle(HO)
    B2 Andheri
    B3 Churchgate
    B4 Sion
    B5 Borivali
    B6 Matunga
    B1 C.S.Pur
    B1 Shahidnagar
    B1 Shahidnagar
    I want to create another table ACCT_DTLS from this table which has only one column BRANCH_NO, but has only distinct elements.
    I tried this,
    SQL> create table ACCT_DTLS
    2 (BRANCH_NO)
    3 as
    4 select BRANCH_NO
    5 from BRANCH_MSTR;
    Table created.
    SQL> select 8
    2
    SQL> select *
    2 from ACCT_DTLS;
    BRANCH_NO
    B1
    B2
    B3
    B4
    B5
    B6
    B1
    B1
    B1
    9 rows selected.
    But its not working.

    HI Asit,
    try like this
    sql>create table table-name as (select distinct column-name from another-table);example
    SQL> create table temp_emp2 as (select distinct deptno from scott.emp);
    Table created.
    SQL> select * from temp_emp2;
        DEPTNO
            30
            20
            10

  • How to display data from a recordset based on data from another recordset

    How to display data from a recordset based on data from
    another recordset.
    What I would like to do is as follows:
    I have a fantasy hockey league website. For each team I have
    a team page (clubhouse) which is generated using PHP/MySQL. The one
    area I would like to clean up is the displaying of the divisional
    standings on the right side. As of right now, I use a URL variable
    (division = id2) to grab the needed data, which works ok. What I
    want to do is clean up the url abit.
    So far the url is
    clubhouse.php?team=Wings&id=DET&id2=Pacific, in the end all
    I want is clubhouse.php?team=Wings.
    I have a separate table, that has the teams entire
    information (full team name, short team, abbreviation, conference,
    division, etc. so I was thinking if I could somehow do this:
    Recordset Team Info is filtered using URL variable team
    (short team). Based on what team equals, it would then insert this
    variable into the Divisional Standings recordset.
    So example: If I type in clubhouse.php?team=Wings, the Team
    Info recordset would bring up the Pacific division. Then 'Pacific'
    would be inserted into the Divisional Standings recordset to
    display the Pacific Division Standings.
    Basically I want this
    SELECT *
    FROM standings
    WHERE division = <teaminfo.division>
    ORDER BY pts DESC
    Could someone help me, thank you.

    Assuming two tables- teamtable and standings:
    teamtable - which has entire info about the team and has a
    field called
    "div" which has the division name say "pacific" and you want
    to use this
    name to get corresponding details from the other table.
    standings - which has a field called "division" which you
    want to use to
    give the standings
    SELECT * FROM standings AS st, teamtable AS t
    WHERE st.division = t.div
    ORDER BY pts DESC
    Instead of * you could be specific on what fields you want to
    select ..
    something like
    SELECT st.id AS id, st.position AS position, st.teamname AS
    team
    You cannot lose until you give up !!!
    "Leburn98" <[email protected]> wrote in
    message
    news:[email protected]...
    > How to display data from a recordset based on data from
    another recordset.
    >
    > What I would like to do is as follows:
    >
    > I have a fantasy hockey league website. For each team I
    have a team page
    > (clubhouse) which is generated using PHP/MySQL. The one
    area I would like
    > to
    > clean up is the displaying of the divisional standings
    on the right side.
    > As of
    > right now, I use a URL variable (division = id2) to grab
    the needed data,
    > which
    > works ok. What I want to do is clean up the url abit.
    >
    > So far the url is
    clubhouse.php?team=Wings&id=DET&id2=Pacific, in the end
    > all
    > I want is clubhouse.php?team=Wings.
    >
    > I have a separate table, that has the teams entire
    information (full team
    > name, short team, abbreviation, conference, division,
    etc. so I was
    > thinking if
    > I could somehow do this:
    >
    > Recordset Team Info is filtered using URL variable team
    (short team).
    > Based on
    > what team equals, it would then insert this variable
    into the Divisional
    > Standings recordset.
    >
    > So example: If I type in clubhouse.php?team=Wings, the
    Team Info recordset
    > would bring up the Pacific division. Then 'Pacific'
    would be inserted into
    > the
    > Divisional Standings recordset to display the Pacific
    Division Standings.
    >
    > Basically I want this
    >
    > SELECT *
    > FROM standings
    > WHERE division = <teaminfo.division>
    > ORDER BY pts DESC
    >
    > Could someone help me, thank you.
    >

  • How to create another table with an exisiting table

    Hi,
    I want to create another table on the top of an existing table, my existing table has few constraints and checks, i want to create another table which should copy all checks and constraints from existing table.
    for example;
    <p>
    create table temp
    </p>
    <p>
    (idx number primary key,
    </p>
    <p>
    publish varchar2(250) not null,
    </p>
    <p>
    address varchar2(250) not null,
    </p>
    <p>
    rent number check (rent &gt;=0))
    --<strong>Required output</strong>
    </p>
    <p>
    create table temp1
    </p>
    <p>
    as select * from temp
    </p>
    <p>
    where 1=2
    the structure of the table received as an output has the following structure:
    </p>
    <p>
    CREATE TABLE TEMP1
    </p>
    <p>
    </p>
    <p>
    IDX NUMBER,
    </p>
    <p>
    PUBLISH VARCHAR2(250 BYTE) NOT NULL,
    </p>
    <p>
    ADDRESS VARCHAR2(250 BYTE) NOT NULL,
    </p>
    <p>
    RENT NUMBER
    </p>
    <p>
    </p>
    <p>
    where i could not find primary key and check constraint but i can see not null check. Is there anyway that i could get the all checks when i create another table on the top of an existing table.
    </p>
    Best Regards,

    A CTAS (CREATE TABLE AS SELECT ...) probably isn't what you're looking for since that doesn't handle constraints.
    Depending on the Oracle version, you can probably use the DBMS_METADATA package to get the DDL for the table and then modify the DDL to create the copy, i.e.
      1* select dbms_metadata.get_ddl( 'TABLE', 'TEMP' ) from dual
    SQL> /
    DBMS_METADATA.GET_DDL('TABLE','TEMP')
      CREATE TABLE "SCOTT"."TEMP"
       (    "IDX" NUMBER,
            "PUBLISH" VARCHAR2(250) NOT NULL ENABLE,
            "ADDRESS" VARCHAR2(250) NOT NULL ENABLE,
            "RENT" NUMBER,
             CHECK (rent >=0) ENABLE,
             PRIMARY KEY ("IDX")
      USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "USERS"  ENABLE
       ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "USERS"You'd then just need to replace the "TEMP" with "TEMP1".
    Justin

  • Create header file based on data in Data file

    Hi,
    For Data File: created an interface to extract data from table to data file.
    1) Now i want to create a header file which contains info like :
    Created On: #Rows Fetched:
    2) I also want to create a footer, which contains info like:
    SUM(AMOUNT) (amount is one of the columns of data file)
    How do i implement this using an interface?
    Thanks.

    Step 1. Create a Variable Header - Call the count using some thing like this SELECT COUNT(*)||CHR(10) FROM TABLE
    Step 2. Call it in OdiOutFile
    Step 3 . Call the Interface to load from table to File using [ IKM SQL to File Append  with create Header option - no ]
    Step 4. Create another Variable Footer - Call the sum in the Refreshing Tab
    Step 5. Call it in OdiOutfile with Append option Checked
    Note - Make sure you use the same File Name for all the three places.
    There are other ways too but this is simple way. Hope this helps.

  • How do you set up a default Date To based on Date From for report parameter

    I'm working on a report. I have been asked to set up a default Date To based on Date From for the report parameters. I mean when running a report, if an end user selects a value for parameter Date From, system will automatically populate the Date To parameter based on the Date From + 6 days.
    I guess there's gotta be something to do with Value Set. Do any of you guys know how to go about this?
    Any suggestion is greatly appreciated.
    Dennis

    You should be able to retrieve the value of other valueset using :$FLEX$.<valuesetname> I'm not sure about the exact syntax, it's been a while since i worked with applications.

  • Need to Create Search Help Based on Condtions from one table to another tab

    Hi All,
    I have a table like ZGROUP Which contains the data below
    Filed name Filed Name Filed Name
    ZGROUP ZTYPE ZTEXT
    Entries
    ABC P TEXT FOR
    C P SDFNSDFKLN
    DDDD PSG TEPRTPERERTWERT
    DEF P TEST
    FFFFF PSG
    SEF PS SDFSDFLASLDFNASDLFN
    XYZ PS TESTING
    Whree P is Product , PS- Point of Sales, PSG-Sales Group
    Now i am going to crate another ZPROUDCT TABLE
    FIELDNAME FIELDDESCRITPON
    PRODUCT PROD_DESC
    Entry
    abc pRELATED ENTRY
    My Questions
    1) ZGROUPS table has 3 kinds of data P, PSG, PS type records,
    1) In Table ZPROUDCT , I want to create search help only P records for Table Zproduct of the field Product FROM zGROUPS table
    2) In Table Zsales , I want to create search help only PS records from ZGROUPS table
    3) In Table ZPSG, I want to create search help only PSG records from table ZGROUPS
    is it possible to create search help from One Master Table(ZGROUPS) table to other tables based on conditions.
    Please help me.
    very urgent
    Regards,
    Raju

    if  <condition>
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR <field>
    SELECT <field>
             FROM <table>
             INTO TABLE i_tab
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'                  "function module to provide f4 help to sold-to-party
        EXPORTING
          retfield        = "XXXX"
          dynpprog        = sy-repid
          dynpnr          = sy-dynnr
          dynprofield     = '<field name>'
          value_org       = 'S'
        TABLES
          value_tab       = i_tab
    endif.
    lkike this u can check the condition and selec the data from table and assign it into one internal table and then call the FM it will give the f4 help to particular field
    reward if helpful
    regards,
    Khan.

  • How to create a view consisting of data from tables in2 different databases

    Using Oracle 10.2g
    I have 2 databases Gus and haggis on Comqdhb schema.
    glink indicates a databse link between Haggis and Gus
    In Gus there are tables student,subject,grade,school containing columns like upn...
    STUDENT
    upn
    academicYear
    SUBJECT
    subject
    GRADE
    examlevel
    grade
    SCHOOL
    sn
    In HAGGIS there are tables student,grade,teacher containing columns upn...desc below.
    STUDENT
    upn
    GRADE
    grade
    upn
    academicyear
    level
    Create view in your HAGGIS database which will join all of the exam grades together. You should have one view which will produce the following relation :
    examGrade(upn, subject, examlevel, sn, grade,academicYear)
    so I need to create a view which gets the data from both the tables in both the databases.
    create view as examGrade(upn, subject, examlevel, sn, grade,academicYear) as select s.upn
    But i am not getting how to select a column from 2 tables in different databases
    I mean if i said
    select upn from comqdhb.student@glink,comqdhb.student;
    select upn from comqdhb.student@glink,comqdhb.student
    ERROR at line 1:
    ORA-00918: column ambiguously defined
    help me out,Thank you.

    Thank you for the reply will follow up the code format
    Create views in your HAGGIS schema database which will join all of the exam grades together. You should have one view which will produce the following relation :
    examGrade(upn, subject, examlevel, sn, grade,academicYear)
    I understand that there wont be duplication when we use conditions
    If i query
    select count(upn)
    from   comqdhb.student@glink I get 9000
    but after the union
    create view examGrade(upn, subject, examlevel, sn, grade,academicYear)
    as
    select distinct s.upn as upn
    ,                  g.subject as subject
    ,                  g."LEVEL" as examlevel
    ,                  g.grade as grades
    ,                  '9364097'
    ,                  to_number(g.academicyear) as academicyear
    from             comqdhb.student s
    ,                   comqdhb.grade g
    where           s.upn=g.upn
    union
    select            s.upn
    ,                   sb.subject
    ,                   g.elevel
    ,                   g.grade
    ,                   s.acyr
    ,                   sc.sn
    from              comqdhb.subject@glink sb
    ,                   comqdhb.student@glink s
    ,                    comqdhb.gradevalues@glink g
    ,                    comqdhb.school@glink sc,
    ,                    comqdhb.studentingroup@glink sg
    ,                    comqdhb.teachinggroup@glink tg
    where            sb.sid=tg.sid
    and                tg.gid=sg.gid
    and                sg.upn=s.upn
    and                g."LEVEL"=tg.elevel
    and                s.school=sc.id
    and                sc.id=tg.id; returns
    count(upn) from exam gradeIt gets stuck actually sometimes it returns
    932002 some results.
    2:
    Another problem i am having which i am trying to solve and written up my ideas but haven't been getting the expected results.Hope you can help.Thank you.
    Information:
    =======
    All children take exams at the age of 16 called a General Certificate of SecondaryEducation (GCSE).
    They have to study and take exams in Mathematics, English and Science, and can take other subjects such as History, French, Art etc. Most students will study between 5 and 10 different subjects before taking their GCSEs.
    For each exam, a student is awarded a grade from A*, A, B,C,D,E,F,G,U,X An A* grade is the best grade achievable and an X is the worst grade.
    In order to analyze how students have performed, each grade is mapped to a numeric value as follows:
    Grade Numerical score
    A* 8
    A 7
    B 6
    C 5
    D 4
    E 3
    F 2
    G 1
    U 0
    X 0
    Now why i need this avgGCSE is because i have to create a view containing avgGCSE of the students it is used in the next question where a condition is avgGCSE is between 6.5 and 7
    In order to calculate the avgGCSE the idea is to calculate the grades of the students and map the grades to their corresponding scores/values
    add them all up and div by the total no of grades to get the avg.
    desc comqdhb.STUDENT@glink;
    STUDENT
    =======
    UPN
    FNAME
    CNAME
    DOB
    GENDER
    PREVIOUSSCHOOL
    XGCSE
    SCHOOL
    ACYR
    STUDENTINGROUP
    =============
    UPN
    GID
    STARTDATE
    ENDDATE
    GRADE
    GRADEVALUES
    ===========
    GRADE
    LEVEL
    VALUE
    I have a opinion that xgcse in STUDENT table refers to the avgGCSE which i want to calculate as when i asked my professor as to what xgcse he said that he forgot to take it out of the table and it is not necessary while creating avggcse.
    select *
    from comqdhb.student@glink
    where xgcse<6.5; Displaying a result
    returns:
    UPN FAMILYNAME COMMONNAME DATEOFBIR GENDER PREVIOUSSCHOOL XGCSE SCHOOL ACYR
    ===========================================================================
    1011 KIMBERLY ABBOT 07-JUL-79 f none 3.93500948 2 2
    select *
    from comqdhb.student@glink
    where xgcse between 6.5 and 7 and upn = 1386; Displaying a result
    returns:
    UPN FAMILYNAME COMMONNAME DATEOFBIR GENDER PREVIOUSSCHOOL XGCSE SCHOOL ACYR
    ===========================================================================
    1386 STEPHANIE AANNESSON 15-JAN-79 f none 6.88873 2 2 so if xgcse is the avgGCSE then upn 1011 has avggcse<6.5 and 1386 has avggcse >6.5
    my idea was backward strategy like so now if we find out upn 1368 has suppose xgcse(avggcse)>6.5 how to extract the avggcse for the particular upn We need to map grades from GRADEVALUES to grade in STUDENTINGROUP and map upn from studentingroup to upn in student to output the values for the corresponding grades from GRADEVALUES
    select grade
    from comqdhb.studentingroup@glink
    where upn = 1011;
    Result:
    GRADE
    =====
    D
    F
    B
    E
    C
    E
    E
    B
    8 rows selected. Mapping each grade to the corresponding value and calculating we get
    32/8=4 total(values to corresponding grades)/no of grades.
    But the xgcse for upn 1011 is 3.935 and i am getting 4!! maybe xgcse isn't avggrade but ? is the procedure by me correct for calculating avggcse
    select grade
    from comqdhb.studentingroup@glink
    where upn = 1386;
    Result:
    GRADE
    ======
    A*
    A*
    A*
    A*
    B
    A*
    A*
    A
    B
    B
    B
    11 rows selected. grade to the corresponding value and calculating we get
    79/11=7.12 total(values to corresponding grades)/no of grades.
    But the xgcse for upn 1011 is 6.88... and i am getting 7.12!!
    But another problem
    when i say
    select   g.value,g.grade
    from     comqdhb.gradevalues@glink g
    ,        comqdhb.studentingroup@glink sg
    where    g.grade=sg.grade
    and      sg.upn=1011;
    result:
    ======
    VALUE GRADE
    ===========
      100 B
      100 B
       80 C
       60 D
       40 E
       40 E
       40 E
       20 F
        6 B
        6 B
        5 C
    VALUE GRADE
    =============
        4 D
        3 E
        3 E
        3 E
        2 F
    16 rows selected.
    select   distinct g.value,g.grade
    from     comqdhb.gradevalues@glink g
    ,        comqdhb.studentingroup@glink sg
    where    g.grade=sg.grade
    and      sg.upn=1011;
    result:
    ======
    VALUE GRADE
    ============
         2 F
       100 B
         6 B
         3 E
        60 D
         5 C
         4 D
        80 C
        40 E
        20 F
    10 rows selected. I am getting only 8 for the query
    select grade
    from comqdhb.studentingroup@glink
    where upn = 1386; here its becomming 10 and also its displaying values as 100 and ...
    select distinct *
    from   comqdhb.gradevalues@glink;
    GRADEVALUES
    ===========
    LEVEL      GRADE           VALUE
    ================================
    a          A                 120
    a          B                 100
    a          C                  80
    a          D                  60
    a          E                  40
    a          F                  20
    a          U                   0
    a          X                   0
    g          A                   7
    g          A*                  8
    g          B                   6
    LEVEL      GRADE           VALUE
    ================================
    g          C                   5
    g          D                   4
    g          E                   3
    g          F                   2
    g          G                   1
    g          U                   0
    g          X                   0
    18 rows selected. I was hoping if i could map the grades and get the values and calculate avggrade by total(values)/count(values)that would be it but here there are values like 100...
    select  sum(g.value)/count(g.grade) as avggrade
    from    comqdhb.gradevalues@glink g
    ,         comqdhb.studentingroup@glink sg
    where  g.grade=sg.grade
    and     sg.upn=1386;
    avggrade
    ========
    37.4375 the avggrade cant be this big and when i map each grade i obtained for 1368 like a to 7+b to 6 so on i get avggrade 7.12
    kindly help.
    Edited by: Trooper on Dec 15, 2008 4:49 AM

  • Create a trigger to copy data from table A to table B

    Hi,
    I been trying with no success to create a trigger on table a , so when the user update or delete or insert data on that table, I would like to copy all data from table a to table b BEFORE, the statement execute, I am using Oracle database 10g XE. It's URGENT and I would appreciate any quick response.
    Thank you in advance.

    > All what I needed to do is to copy / beckup the tableA before any changes done to the table
    Why? You are not giving us a problem to look at, analyse, and assist with - you are giving us a solution. That solution says "backup table before changes are made".
    This solution sounds very strange in the context of a RDBMS. Even stranger when dealing with relational design as one would use date and time to keep track of how data is changing.
    This, and your implementation of the solution (using triggers and DDL inside it!), makes me question whether this solution is indeed at all a solution. I see flaws and problems all the way.
    What happens if two users inserts at the same time into table A? Two truncates will be fired on table B. Then the entire contents of A (and not the changes) inserted into table B? Ridiculous...
    Thus from my point of view, looking at what you have presented to the forum in this thread, you do not seem to have any grasp on how to correctly use a RDBMS, never mind use Oracle.
    Ignorance is not a problem. It is fairly easily curable. Which is why I referred you to the manuals.
    Alternatively, instead of asking the forum how to make a flawed solution works, how about instead telling us the actual problem you are trying to solve?

  • How to efficientl​y create a single waveform based on data from two other waveforms?

    I have a 1-D array of waveform with size = 4 that contain "raw" potentiometer voltage data.  I need to manipulate waveform data from index 0 & 1 using the formula shown below to derive a single waveform of angle data.   I need to do the same for index 2 & 3 as this is a redundant circuit.   I was hoping that the formula node can work on entire arrays and although it can take an array as input, it requires me to index the array in the formula so it becomes a scalar value.  
    Since the formula is relatively complex, I'd like to keep it in text form but have it automatically work on each point of the two input arrays.  This math is done inline with pulling data out of a DAQ and so I need it to be as efficient as possible so that I don't spend too much time on it and potentially overflow the DAQ buffer. 
    The naive solution would be to wrap the formula nodes with for loops, but I don't know if this is this is an efficient way to do this.  I would appreciate any suggestions on how best to tackle this.  
    Thanks!
    Solved!
    Go to Solution.

    Here's how I would do it with no formula nodes or loops requied:
    If you want to use the formula node, then you could run a loop inside each formula node while you index through the arrays.  The performance difference between formula nodes and the graphical approach should be insignificant.  Note that my approach assumes that the array sizes are the same.  You could also create a sub VI to contain the math so you don't have to maintain two copies of the same piece of code.
    Chris M

  • Create a workflow that pulls data from a list based on a person in the list and emails that person

    I am trying to create a workflow in SharePoint 2010 using SharePoint Designer. 
    I have a list [ExceptionList] of users each associated with a sponsor.  A sponsor can have multiple users aligned to them.  I need to create a workflow which emails the sponsor with their associated users.
    Example:
    John, Bill, and Kelly are listed with Bob as their sponsor.  I'd like an email sent that will pull the names of John, Bill, and Kelly into the email so that Bob can validate that he is still their sponsor.
    I know how to create the basic workflow email, but am not sure how to pull in the related names into the body of the email.  I assume I will need to build a string.
    Anyone know how to achieve this?
    Thanks in advance!

    Hi,
    According to your description, my understanding is that you want to use workflow to send an email to the sponsor with the users’ names who are belonging to the sponsor.
    I recommend to create another list to store the users’ names who are belonging to the sponsor and then email the sponsor with the values in the list.
    In my test, I created another list called test list and created two columns: user(store users’ names) and Sponsor(store sponsor’s name). Fill the list with all the sponsors and leave user field as blank.
    After that, create another workflow associated with the ExceptionList to get all the users’ names who are belonging to a sponsor to fill in the user field in the test list and set the workflow to start when an item is created.
    And then you can send email with the value in the user field in test list to the sponsor.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • How can I create a diagram where equal data from different cells will be added to one sector?

    Hi,
    I'm a new Mac user, so I have a lot of problems and questions every day. Moving to Mac from PC is not an easy thing)
    Here is my problem:
    I need to create a few diagrams for my science work, but can't correct one mistake. Every time one data from one cell from the table takes its own place in the diagram. But I need to ceparate equal data to show it is one section.
    An example:
    Sex
    Age
    Female
    18
    Female
    18
    Female
    18
    Female
    25
    Female
    30
    We need to create a diagram to show that we have
    60% - 18 years
    20% - 25 years
    20% - 30 years
    But Numbers doesn't show it that way. Here how it does:
    So please help me. How can I do that?

    Hi ProCauda,
    Some example data of people and their age:
    The COUNTIF function will give the number of people of each age.
    In another table, B2 contains this formula (and Fill Down to the bottom of B)
    =COUNTIF(Table 1::B,"="&A2)
    In this example, 3 people are 18 years old, 0 people are 19 years old, and so on. Use this table to calculate each age as the % of the total, then use that as the data for your diagram (graph, chart).
    Regards,
    Ian.

  • Customized report based on data from 2 different infoproviders.

    Hi Team,
    The scenario is as follows:
    We have an Datasource based on a ECC Table which contains data based on FISCAL YEAR and no period field such as X03, X06 & X09. these values are populated in INFOCUBE A. Also note that the ECC table itself does not contain any field which refers to Period.
    In my another INFOCUBE B, I have the value for the Period (ZZPERIOD) field on a Quaterly basis.
    Now the report requirement is:
    For the input value of ZZPERIOD = 201103, display value X03.
    similarly for X06 and X09.
    PLEASE ADVICE.
    Thanks & Regards
    Sneha

    I'm not sure you've understood my reply. Do you understand the notion of granularity? If not please read about this and understand it. Then you will have the answer you need.
    I'm assuming you have KFs in both cubes right? Now if Cube A is aggregated by Year - you cannot split these figures by anything other than Year.
    Just because you want to add other key figures from another cube (B) whose values sit at Cal Quarter does not mean that any coded rules you apply will result in correct figures when you drill down to Quarter. How do you propose to fix that? Answer: you can't, it's impossible without getting yourself in a lot of trouble with the business/your client.
    Your best bet is to add a characteristic into Cube A called 'Source of Data' and fill that in your transformations. Then you can load both data from A and B into the same cube A. When reporting, just use a restricted KF to pull out the values you want.
    If you drill down by Quarter of course Cube A KFs will be "not assigned" for the simple reasons I explained above.

  • Create Materialized View based on Results from LDAP Query

    Hi -- I'm trying to create a materialized view based on results from an LDAP query. Unfortunately, it looks like a materialized view can't be created based on a stored procedure, which is where the LDAP results are obtained (using nested loops).
    Does anyone have any idea how to do this without first kicking off a stored procedure that populates a temp table which would be used to create the materialized view? I'm trying to minimize the steps that the DBA's will need to go through when refreshing this new view.
    Thanks,
    ~Christine

    Can you give us more details about the stored procedure you're calling. It will help to know what parameters are involved and what data types they are.
    Off the top of my head though it looks like, at the very least, you would need a stored function that calls the stored procedure. I don't think there is any way to call stored procedures from CREATE ... commands. If you're going to create a stored function anyway ... well, you might as well just create a procedure that inserts values into a regular table instead of fussing with functions and materialized views. You'll probably want to schedule your new procedure to run periodically since it sounds like you'll need the values refreshed from time to time.

  • Creating iCal entries based on date/time appearing in text on any app

    One thing I like about iCal's integration with Apple Mail is that the mail client is able to sense dates and times in email messages and then allow you to create iCal entries. But it seems that this date and time sensing is only limited to Apple Mail when technically users could potentially want to create iCal entries when a date and time appears on any app, such as on a web page in a web browser, in a PDF, or a word processing document. It seems logical then for iCal to be integrated with OS X's text services, so that at least if I highlighted a date and time, I could right click on it and bring up an option to create an iCal entry on based on that date and time.
    Does anyone know if this feature is natively supported (for which I have yet to enable), or is there a third party app out there that will allow me to do this?

    Just a quick update. I tried the first two -- text2cal and Calendar Creator -- and they don't seem to work on OS X 10.6.6.
    However, on another note, I found some discussion regarding Snow Leopard's enhanced data detectors being natively able to do what I've been looking for. But I just can't seem to get it to work on my computer:
    "Enhanced Data Detectors now link dates, times and other items found in text to actionable items in other applications, like iCal. For example, a drop-down menu that automatically appears when you select the time or date parts in a text enables you to create a new iCal event from a selected date or show the date in iCal." From this link: http://www.geek.com/articles/chips/5-cool-snow-leopard-features-that-apple-doesn t-want-you-to-see-yet-20090520/

Maybe you are looking for

  • How can you minimize all open pdf files at once in Acrobat 10?

    My company just switched us to Acrobat 10 from 6.  Now if I have a number of pdf files open I have to minimize each of them individually.  Before all you did was click the minimize button and the program just minimized to the taskbar.  How do you do

  • How can i run simple HelloServlet  ? using tomcat 5.5.16 & jdk1.5.0.6 ?

    Hi I have the jdk 1.5.0.6 and tomcat 5.5.16 on my machine. The locations are as follows. 1) jdk ---> C:\j2sdk1.5.0_06 2) tomcat ---> C:\prgram files\Apache Software Foundation\Tomcat 5.5 3) IE 6.0 4) java class ---> C:\HelloWorld.java The Queries i h

  • IdeaPad Touchpad Responding Incorrectly

         I usually have the two-finger scrolling enabled on my Lenovo Ideapad S405. Today, however, my laptop decided that it would recognize single finger gestures as two-finger scrolling. Normal movements with the touchpad are near impossible as the mo

  • Creating Forms: How to use Printing to Submit Forms?

    Hello, I am using Acrobat 9 and I am new to creating forms.  I would like to create a form for users to fill out.  Because the form will contain some sensitive information, I would like the user to print out the form and then mail it or fax it to us.

  • Unit of Measurements of for Service Materials

    Hi, We want to create UOM for Service Materials like Per Well Per Month, Lumpsum. In SPRO-> General Settings-> Check Units of Measurement, do we need to create Dimension, ISO Codes before creating the UOM. While creating the UOM, what should we maint