How to group them by for a single column of OBIEE 11 g

Hello

I have a pivot table, where I dimensions such as Desc, date and columns 1 did. (OBIEE version 11117)

I need the data to be included in the format, made wise date 2 months and total of the first made of the month

January 1, 152 January 1531 January 15February 1, 152 February 1528 February 15
up to the date ofIn total, Jan
A36123456
B917368163
C918459153
D1319586210

When the Date parameter, Till Date = Jan 2nd, 15, (running report date parameter).

I create the time dimension, where based there is if I take the year then it works but if I take months or a date, it does not work.

[nQSError: 27037] Level pending: "D0 time." "" Time of H0. "" month_mon ". (HY000)

Ask your Suggestions or help

Total of jan can be derived as below

case when 'D0 time. " "" date_day "BETWEEN TIMESTAMPADD (SQL_TSI_DAY, DAYOFMONTH (your_date}) *-(1) + 1, (your_date)) AND TIMESTAMPADD (SQL_TSI_DAY, TIMESTAMPADD (1), (SQL_TSI_MONTH, 1, TIMESTAMPADD (SQL_TSI_DAY, DAYOFMONTH (your_date) *-(1) + 1, (Your_date))) then 'Fact_value' end of another null)

Tags: Business Intelligence

Similar Questions

  • Display all rows for a single report to OBIEE 11 g

    Hi all

    Do we not have any way to display all the default lines for a single report to OBIEE 11 g rather than the 25 regular lines and clicking on all the lines. Without changing the configuration on instanceconfig.xml.

    Please advice.

    Thank you
    VidyaS.

    Can tell me why its not correct?

    If the answer is something pls let me know I would like to learn!

  • Click for a single column in DataGrid event

    I can add an event listener for a DataGrid of type ListEvent.ITEM_CLICK, which is triggered when the user clicks on any part of an entire row in a DataGrid. I want to trigger a click for a single column event. I want only to run a function when the user clicks in just the first column in the data grid and not run raise the event if they click in any other column. Any help would be appreciated.

    EU: event.columnIndex

  • How show only last row value in a column of OBIEE

    Hi Experts

    How show only last row value in a column of OBIEE


    Thank you
    V

    Hello
    Pull column criteria, which you want to display only last row. Filter Advanced sql apply now to this column as a.
    RCOMPTE ("customer D1". "C1 Cust Name") = MAX (RCOMPTE ("customer D1". " Cust C1 Cust Name name')) here is the column where I applied the filter.
    So, it gives only last row in the name column of the Cust.

    Awarded points if the answer
    Reference: http://forums.oracle.com/forums/ann.jspa?annID=939

    Kind regards
    Srikanth
    http://bintelligencegroup.WordPress.com/

  • How to choose different lines for a single sale order and ship individually

    I have a customer order of lets say 10 broadside of this same article for quantities of 10 each which means 100 quantities.

    When I use the release sales order form it will take the entire order and forward it.

    But I need to take the line and then generate a delivery against it and then to ship and invoice it.

    Need to know how to do this

    You can take different lines for a single sales order and ship individually using FORM of TRANSACTION of DELIVERIES.

    Navigation: OM RESP > order management > shipping > Transactions

  • Concepts: how much writing on disk for a single update

    (I use 10.2.0.5 but I think that this applies to any version)

    After reading lots of documentation on Oracle I started to think how often Oracle 'written' for a single update statement.

    The following is correct?

    For an update statement:
    (1) the original data are written in tables UNDO space
    (2) this is protected by a write first to REDO log
    (3) the new data is written to the table space
    (4) this is also protected by an entry first in the redo log
    (5) after that fills in the redo log, it is copied to an archived log
    (6) at the time of the backup that Archives archiving log is also best once more

    So for a single update, I count at least six entries of the same data?
    It is probably what makes the robust Oracle.

    user12204556 wrote:
    (I use 10.2.0.5 but I think that this applies to any version)

    After reading lots of documentation on Oracle I started to think how often Oracle 'written' for a single update statement.

    The following is correct?

    For an update statement:
    (1) the original data are written in tables UNDO space

    Yes

    (2) this is protected by a write first to REDO log

    Yes

    (3) the new data is written to the table space

    No, your data still haven't write (immediately) to datafiles (your tablespaces logically). When point of control (when manually to CHANGE the point of VERIFICATION SYSTEM, SWITCH of NEWSPAPER, when the buffer cache is full, STOP IMMEDIATELY in backup database tablespace mode) then your blocks of data will apply to data files.

    (4) this is also protected by an entry first in the redo log

    Yes

    (5) after that fills in the redo log, it is copied to an archived log

    YesIn ARCHIVELOG mode()

    (6) at the time of the backup that Archives archiving log is also best once more

    YES.

    So for a single update, I count at least six entries of the same data?

    These are not same data! This is the mechanism of oracle database. Cancel the information generated immediately and ensure uniformity reading (to restore). Redo information just, contain no information. It comes to redo change agent who used methods of recovery (media and instance) and finally your data updates do not immediately write data by DBWR because files there is reason of performance.

  • How many groups of disks for + DATA?

    Hi all

    Made Oracle recommends that a group of disks asm wholesale/shared for all databases?
    In our case we're going to 11.2 and 10 g rac against 11.2 ask...

    Am I right to say that I need to set the compatibility of the asm to 10 in order to be able to use the same disk?
    It is a good idea? Or should I create another group of disks for the db 10g?
    I guess that there are features that are not available when compatibility is reduced to 10g...

    Yes, it is possible but not recommended because the ASM would distribute the e/s in such a way to disc 1 would get 4 times requests for disk 2, which is probably not what you want in terms of performance.

    Bjoern

  • How to set the color for a particular column in the table in advance?

    How can we set the color for a particular column in advance table based on a few feteched of vo in process request query parameter?

    Hello

    Reference http://oraclearea51.com/blog/dynamically-color-the-rows-in-an-oa-framework-advanced-table.html

    and prev thread. Can color us the lines in the column of a table

    It will be useful.

    Kind regards
    GYAN

  • Filters for a particular column in obiee 11g

    Hello
    I've created a report having 10 columns to measure and filter per month is less than (months in particular) that works perfectly. In fact, my requirement is in a single column to filter equal to the particular month. If it is possible please tell me how. Thanks in advance!

    Hello

    Goto Edit form for that particular column.

    and use the FILTER (measure_column for HELP (condition)).

    for example:

    FILTER ("XXXXX". "measure_column" USING ("OLIVER" ".") " D5. ""' The Times'."" Month' = particular_month))

    Try this... It works very well.

  • How the group using SQL for the desired output.

    Hi all

    I am currently using oracle 10.2.0.4.0

    Create a table script:
    CREATE TABLE FORTEST
    ( gpno VARCHAR2(10 BYTE),
      classnumber  VARCHAR2(10 byte),
      age_min NUMBER,
      age_max NUMBER,
      amount NUMBER)
    INSERT statement:
    insert into fortest  (GPNO,classnumber,age_min,age_max,amount) values
    ('G123' , 01,0,29,1) 
    insert into fortest  (GPNO,classnumber,age_min,age_max,amount) values
    ('G123' , 01,30,35,2) 
    insert into fortest  (GPNO,classnumber,age_min,age_max,amount) values
    ('G123' , 01,36,40,3) 
    insert into fortest  (GPNO,classnumber,age_min,age_max,amount) values
    ('G123' , 02,0,29,1) 
    insert into fortest  (GPNO,classnumber,age_min,age_max,amount) values
    ('G123' , 02,30,35,2) 
    insert into fortest  (GPNO,classnumber,age_min,age_max,amount) values
    ('G123' , 02,36,40,5) 
    insert into fortest  (GPNO,classnumber,age_min,age_max,amount) values
    ('G123' , 03,0,29,1) 
    insert into fortest  (GPNO,classnumber,age_min,age_max,amount) values
    ('G123' , 03,30,35,2) 
    insert into fortest  (GPNO,classnumber,age_min,age_max,amount) values
    ('G123' , 03,36,40,3) 
    insert into fortest  (GPNO,classnumber,age_min,age_max,amount) values
    ('G124' , 01,0,29,1) 
    insert into fortest  (GPNO,classnumber,age_min,age_max,amount) values
    ('G124' , 01,30,35,2) 
    insert into fortest  (GPNO,classnumber,age_min,age_max,amount) values
    ('G124' , 01,36,40,3) 
    power required:
    gpno    classnumber    age_min    age_max    amount
    G123    1,3                0        29        1
    G123    1,3                30       35        2
    G123    1,3                36       40        3
    G123    2                  0        29        1
    G123    2                  30       35        2
    G123    2                  36       40        5
    G124    1                  0        29        1
    G124    1                  30       35        2
    G124    1                  36       40        3
    as for gpno g123, classnumber 1 and 3, the rates are the same in all the age_min and age_max they need to be grouped.
    even if gpno 123 classnumber 2 has the same rates as the classesnumber 1 and 3 for the age groups 0 to 29 and 30 to 35,
    rates are different for ages 36 to 40. so it should not be placed together. How can I do this in SQL

    any help is appreciated.

    Thanks in advance.

    Hello

    Thorny problem!

    Unfortunately, LISTAGG was created to the Oracle 11.2. About half of the complexity here is the aggregation of chain, i.e. forming the list of the classnumbers, as '1.3', using only functions available in Oracle 10.2.

    Here's a solution:

    WITH     got_gpno_classnumber_cnt   AS
    (
         SELECT     gpno, classnumber, age_min, age_max, amount
         ,     COUNT (*) OVER ( PARTITION BY  gpno
                                      ,            classnumber
                          )   AS gpno_classnumber_cnt
         FROM    fortest
    --     WHERE     ...     -- If you need any filtering, this is where it goes
    )
    ,     pairs          AS
    (
         SELECT    a.gpno
         ,       a.classnumber
         ,       MIN (b.classnumber)
                    OVER ( PARTITION BY  a.gpno
                              ,                    a.classnumber
                      )     AS super_classnumber
         FROM       got_gpno_classnumber_cnt  a
         JOIN       got_gpno_classnumber_cnt  b  ON   a.gpno     = b.gpno
                                      AND  a.age_min     = b.age_min
                                    AND  a.age_max     = b.age_max
                                    AND  a.amount     = b.amount
                                    AND  a.gpno_classnumber_cnt
                                            = b.gpno_classnumber_cnt
         GROUP BY  a.gpno
         ,            a.classnumber
         ,       b.classnumber
         HAVING       COUNT (*)     = MIN (a.gpno_classnumber_cnt)
    )
    ,     got_rnk          AS
    (
         SELECT DISTINCT
                 gpno, classnumber, super_classnumber
         ,     DENSE_RANK () OVER ( PARTITION BY  gpno
                                   ,                    super_classnumber
                                   ORDER BY          classnumber
                           )         AS rnk
         FROM    pairs
    )
    ,     got_classnumbers     AS
    (
         SELECT     gpno, classnumber, super_classnumber
         ,      SUBSTR ( SYS_CONNECT_BY_PATH (classnumber, ',')
                       , 2
                     )     AS classnumbers
         FROM     got_rnk
         WHERE     CONNECT_BY_ISLEAF = 1
         START WITH     rnk             = 1
         CONNECT BY     rnk             = PRIOR rnk + 1
              AND     gpno             = PRIOR gpno
              AND     super_classnumber  = PRIOR super_classnumber
    )
    SELECT DISTINCT
           g.gpno
    ,       c.classnumbers
    ,       g.age_min
    ,       g.age_max
    ,       g.amount
    FROM       got_gpno_classnumber_cnt  g
    JOIN       got_classnumbers         c  ON   c.gpno        = g.gpno
                                 AND  c.classnumber  = g.classnumber
    ORDER BY  g.gpno
    ,            c.classnumbers
    ;
    

    Out (just as you requested):

    GPNO       CLASSNUMBERS       AGE_MIN    AGE_MAX     AMOUNT
    ---------- --------------- ---------- ---------- ----------
    G123       1,3                      0         29          1
    G123       1,3                     30         35          2
    G123       1,3                     36         40          3
    G123       2                        0         29          1
    G123       2                       30         35          2
    G123       2                       36         40          5
    G124       1                        0         29          1
    G124       1                       30         35          2
    G124       1                       36         40          3
    
  • How your group .asl styles in a single file to save?

    I have created several .asl style and would like to combine them into a single file?  As 'rose' 'green' etc. ?

    LOSD in the palette styles choose Add rather than replacement and keep them all together as a new set.

    Mylenium

  • How to display three LOVs for a single name

    I have an obligation to indicate three LOVs in a form to be displayed alongside (instead of each item in a separate column). The name is common for all three LOVs cascading and I also have other items of apex in the same form that appears as two components of apex by each line. The display format is something like...

    Item1: Tex Item2 field: text field

    Item3: Radio button Item4: text field

    Item5: Text box

    Item6: LOV1 LOV2 LOV3

    any ideas are appreciated.

    Thank you
    Surya

    Surya:

    It's easy to do. Here's how

    Set the first LOV as you normally would.
    For the second and third LOVs define the following attributes
    Label: Leave it blank
    Start on a new line: NO
    Field: NO

    CITY

  • How to submit multiple releases for a single application


    "I just continue to add beams.

    Yes pretty much.  I think it's better terminology, that you submit multiple beams for the 'liberation '.  Beams can be targeted by device and/or the OS level, so it's easy to create a version keyboard and touch screen using non-automatique operation weighing - although I'm not sure whose side the torch fits in!

  • How to group JDev extension for distribution

    Hello

    I created an extension of JDeveloper on 11 GR 1 material. The extension will give an option under 'Run' in the popup menu jdeveloper. I am able to run the JDeveloper extension, by using the 'Run the Extension' option. Now, in order to distribute, I created a zip file with record jar and meta-inf of the project with bundle.xml. If I import the zip of the "check for updates", I can see the name of the extension by clicking next. After the reboot, I don't see the option which should be less "Run".

    Please can anyone suggest what Miss me?

    Thank you

    Hello

    Please check the minimum and maximum version attribute. You can try removing the as well.

  • Lists of Word imported with numbers - how to make them disappear in a single shot?

    It is very annoying.

    I went through all the styles and deleted all the imported Word lists.

    I know that I can go to Type > bullets and numbers > define lists

    http://snag.gy/sHTjw.jpg

    But you cannot select several them.

    And that pressing DELETE brings to the top

    http://snag.gy/vBnD0.jpg

    Here's what my Panel looks like when I'll list:

    http://snag.gy/dVnSs.jpg

    I just want to remove all together.

    One of the ideas?

    Ah I see, my proposed script deletes * all * lists. Try #2: put the name of your choice in the variable at the top, and it don't delete lists named 'Word imported... ". "and leave others alone.

    replaceWith = "blah";
    count = app.activeDocument.numberingLists.length-1;
    while (count > 0)
    {
      if (app.activeDocument.numberingLists[count].name.match(/^Word Imported/))
        app.activeDocument.numberingLists[count].remove(app.activeDocument.numberingLists.item(replaceWith));
      count--;
    }
    

Maybe you are looking for