OBIEE 11g - Aggregation With filter

Hi all ,
I have a reg where the condition to be applied in ONE COLUMN of a report is as follows
select count(*)
from (SELECT SUM(quantity),SUM(quantity_received) qty_rec ,SUM(quantity)-SUM(quantity_received) qty ,po_header_id
      FROM F_ERP_PO
      group by po_header_id)
where qty > 0
  and qty_rec <> 0     
.. I  have multiple columns in the reports with varying conditions
I tried out in different ways but could not bring the answer since this condition is just ofr one column and the next column has other conditions.
Kindly help me in simplifying this report . I am stuck with it for long
Thanks in advance,
Regards,
Niv d

Hi Chris,
Thanks for ur response.
I tried usinf FILTER() function in different ways. But I had a comparison like
FILTER("F1 Facts"."Total Revenue" USING (sum("PO"."Quantity") = sum("PO"."Quantity_Recieved") )) .
Here the error is like Cannot use aggregation with the USING clause .
I even tried with, Filter based on another request feature , it throws an error saying 'cannot use multiple select clause '
Any suggestions would be very helpful.
Regards,
Niv D

Similar Messages

  • OBIEE 11G: Issue with Agent

    Hello All,
    I am trying to make agent work in OBIEE 11G together with Active Directory settings but the agent are failling for some users. Some users are not able to send the ibots:
    We get the following message with Agent Failed:
    Agent ID: XXXXXXX
    No devices for user: XXXX
    Agent ID: XXXXXXXX
    No Content for user: XXXX
    Kindly note that I have already checked the My Account of these users and the email address is well present there.
    Can anyone help us investigate on this issue.
    Thanks and Regards

    Where do you have your LDAP configured
    Is it in RPD or in Weblogic?

  • How to use aggregator with filter  operator

    Hi,
    how can i use aggregation with filter operator. i have a table, form this table i have to calculate this valurs
    1. no of notes
    2. no of open notes where attribute =y (logic for one notes is count(notes) where attribute =y)
    2. no of closed notes where attribute =n
    for this i used like this
    table --> two filter operators 1 is for attribute =y and one is for attribute=n ----> to aggregaror operator. --- i am getting error.
    Regards,
    Jyothy

    Jyothy,
    Try this..
    U can use the below code in the aggregator without filters
    sum(decode(notes,'y',1,0) adn sum(decode(notes,'n',1,0)
    Regards,
    Sivarama

  • OBIEE 11g Issue with "group by"

    Hello,
    I have issues with the physical queries generated by OBIEE engine.
    All the facts are at detailed granular level. when I query the table, group by clause is excluded from the query. following is the sample query generated by OBIEE 11g engine.
    select 0 as c1,
    D1.c2 as c2,
    D1.c1 as c3,
    D2.c3 as c4,
    D2.c2 as c5,
    D2.c1 as c6
    from
    (select distinct T48494.SMBL as c1,
    T48494.EXP_DT as c2
    from
    VW_CONTRACT_DETAILS T48494
    where ( T48494.EXP_DT in (TO_DATE('2012-09-03 00:00:00' , 'YYYY-MM-DD HH24:MI:SS'), TO_DATE('2012-09-19 00:00:00' , 'YYYY-MM-DD HH24:MI:SS')) )
    ) D1,
    (select sum(T48494.TRADED_VOL) as c1,
    sum(T48494.TRADED_VAL) as c2,
    sum(T48494.TOTAL_TRADES) as c3
    from
    VW_CONTRACT_DETAILS T48494
    where ( T48494.EXP_DT in (TO_DATE('2012-09-03 00:00:00' , 'YYYY-MM-DD HH24:MI:SS'), TO_DATE('2012-09-19 00:00:00' , 'YYYY-MM-DD HH24:MI:SS')) )
    ) D2
    order by c3, c2
    I'm getting similar kind of issues(exclusion of group by from query) even when i query other fact tables as well. Is there any global change to be made?
    Regards,
    Kishore

    Does it mean you are expecting a group by on
    D1.c1, D1.c2?
    So query should like
    select 0 as c1,
    D1.c2 as c2,
    D1.c1 as c3,
    D2.c3 as c4,
    D2.c2 as c5,
    D2.c1 as c6
    from
    (select distinct T48494.SMBL as c1,
    T48494.EXP_DT as c2
    from
    VW_CONTRACT_DETAILS T48494
    where ( T48494.EXP_DT in (TO_DATE('2012-09-03 00:00:00' , 'YYYY-MM-DD HH24:MI:SS'), TO_DATE('2012-09-19 00:00:00' , 'YYYY-MM-DD HH24:MI:SS')) )
    ) D1,
    (select sum(T48494.TRADED_VOL) as c1,
    sum(T48494.TRADED_VAL) as c2,
    sum(T48494.TOTAL_TRADES) as c3
    from
    VW_CONTRACT_DETAILS T48494
    where ( T48494.EXP_DT in (TO_DATE('2012-09-03 00:00:00' , 'YYYY-MM-DD HH24:MI:SS'), TO_DATE('2012-09-19 00:00:00' , 'YYYY-MM-DD HH24:MI:SS')) )
    ) D2
    group by c3, c2 ---> added line
    order by c3, c2

  • OBIEE 11g integration with sharepoint or any with any other webserver possibilities

    HI All,
    Can we integrate OBIEE 11g Analysis and dashboards to SharePoint server ? If yes could you help us guiding in right way of implementing this request. Any kind of help on this is highly appreciated.
    Can we use existing Weblogic web server to build some internal web applications. (Work flow tools)
      Maker checker application:
    We have Ops users which they send the daily reports to Traders for approval. Based on the approvals, end of day data will be reload into DB for Month end reporting. Reports are generating from OBIEE  11g.
    Thanks,
    Pavan

    Hi,,
    Thanks for your update,
    Kindly provide any other document for obiee 11g integration part with Windows active directory
    Thanks
    Edited by: user11018780 on Feb 9, 2011 7:22 AM

  • Using OBIEE 11g Analytics with VPD database

    We are new to the OBIEE world. Our background has been in Discoverer for the past eight years. With Discoverer, the database handled all VPD issues. We simply had users create private database connections and Discoverer Plus would pass the user's credentials to the back end where a VPD policy would attach a predicate to a user's queries.
    So I guess our question is, How do we accomplish the same thing in OBIEE 11g for Analytics? We don's see any way to get around the need for a shared connection pool, and we cannot see any way to add a database login screen, nor would we want to.
    We are seeing things called initialization blocks and variables in the help files. We are assuming we will have to create some way of capturing the user's ID and passing it to the back end.
    We can't be the first ones to face this challenge, so any help is appreciated.
    Thanks in advance,
    Ken

    in the connection pool, you can use :USER and :PASSWORD and these will send the OBIEE login to the db, assuming each OBIEE user exists as a db user this should sort you out.
    Alternatively, you implement a psuedo-VPD using OBIEE Security filters, assuming you have access to the tables that VPD is using, you can hold the predicates to be applied in variables via INIT blocks and have OBIEE apply them on an as-needed basis. Check security filters in the documentation.

  • OBIEE 11g Prerequisites with SQL Server 2008 Express Edition

    Hi,
    I want to install OBIEE 11g with SQL Server Express Edition 2008.
    Is it possible to install OBI with SQL server express edition or not.
    Please send me prerequisites of OBIEE11g with SQL server.
    Thanks...................

    Hi,
    The link above gives a excel document with pre-requists, However if not working see below links;
    http://docs.oracle.com/cd/E23943_01/bi.1111/e10539/c3_requrmnts.htm and
    http://www.oracle.com/technetwork/middleware/ias/downloads/fusion-certification-100350.html
    In the second link serach for System Requirements and Supported Platforms for Oracle Business Intelligence Suite Enterprise Edition 11gR1 (11.1.1.3.0-11.1.1.6.0) ( xls)
    Don't forget to mark Correct.
    Thanks and Best of Luck,
    Kashi

  • OBIEE 11G help with report design

    Hi,
    I need to design a report in the following format
    Customer Number:
    Customer Name:
    Customer Address:
    Order Detail:
    Line number | Order No | Order description | Order Status
    The order detail will have multiple lines, I have to do this in both Excel and PDF, is it possible to do without Publisher, and just OBIEE 11G? If so please help on how to do it?
    Thanks for your time and help.

    Hi,
    You can have static text or narrative view to achieve the customer details.
    And use the table format for the order details.
    And give reports links where in, you can download to both excel and pdf.
    Hope this resolves.
    Regards
    MuRam

  • OBIEE 11g error in filter

    Hi,
    I have a problem in OBIEE 11.1.1.6
    I have a report where project No is a filter i.e in where condition.
    Now I have a project no like "ERP-HR STD&2012". Now this is not returning data getting error out. In OBIEE, whenever it see any & sign in the project number filter, it returns error. Now when I run the sql query(getting from nqsquery log) in PL/SQL developer or Toad, I get the correct result showing data.
    If some & or % sign appears in the filter data, OBI could not able to run request
    Please help.
    Thanks
    Titas

    Hi,
    Thanks for reply.
    Actually I am creating a bar chart report where in x axis I have project no. And I set project no as graph prompt. Now in the LOV of project no whenever I select one particular project "ERP -HR STD &2012", the report fails to produce graph. But every other LOV values are runnig fine with graph. Only wnehever it finds any project no containing & sign, it fails.
    Please help.
    Thanks
    Titas

  • OBIEE 11G help with report narrative and table view

    Hi,
    I have a report designed like the below, I have used "narrative view" for customer detail and "table view" for order detail. In the narrative view I can say row = 1 and it picks up the first record of the customer detail, but order detail shows all rows. How can I control it so the order detail shows only the detail record of the customer associated. Also how do I go to the second record and so forth. Please help. If this is not possible and if there are any alternates, please let me know. Thanks for your time and help.
    Customer Number:
    Customer Name:
    Customer Address:
    Order Detail:
    Line number | Order No | Order description | Order Status

    ssk1974 wrote:
    Hi,
    I have a report designed like the below, I have used "narrative view" for customer detail and "table view" for order detail. In the narrative view I can say row = 1 and it picks up the first record of the customer detail, but order detail shows all rows. How can I control it so the order detail shows only the detail record of the customer associated. Also how do I go to the second record and so forth. Please help. If this is not possible and if there are any alternates, please let me know. Thanks for your time and help.
    Customer Number:
    Customer Name:
    Customer Address:
    Order Detail:
    Line number | Order No | Order description | Order StatusWhy don't you do this?
    1) Build a dashboard prompt for Customer Number. and save to a PV.
    2) Build a report with all the columns for customer and order (in Criteria View) with a filter for the PV to capture the dashboard prompt.
    3) Build a pivot table with Customer Number and Customer Name in the Rows section. Put the Customer Address in the Measures section and change the Aggregation Rule to Max.
    This will serve as the summary table showing only the information of the customer selected.
    2) Build Pivot Table:2 with the Order details.
    3) In the Compound Layout, put Pivot table one on the top and Pivot Table:2 below it.
    When a customer is selected, you will have the customer data with the order details under it for that customer only.

  • Obiee 11g . problem with set default as columnname in interaction tab

    Hi Obiee gurus ,
    I have small problem with set default option in interaction tab in column properties. actually my problem is , i changed one column bold save as set default option bold and how to revert back to my column option. when i create new analysis with same name . it takes set default option for that column.
    can Please give some suggestion for this problem.
    regards
    Srinivas

    Hi Srinivas,
    i guess this will be same for 11G
    Refer
    http://blogs.oracle.com/siebelessentials//2008/08/remove_systemwide_default_sett.html
    thanks,
    Saichand.v

  • OBIEE 11g:  Inconsistencies with Master-Detail events and Navigate to BI

    Hi everyone,
    I'm getting some pretty annoying inconsistencies with the Navigate to BI Content action as well as the Master-Detail events. Basically the main issue I get is that 90% of the time, the click does nothing.
    It's a pretty simple setup, I am setting up bulb gauges to act like a fancy column selector. The bulb gauges are setup to pivot based on a Metric Type column. The goal is that if you click on "Metric 1" bulb a trend report should refresh to show Metric 1. If you click on the "Metric 2" bulb, the same trend report will show that metric.
    Here's how I implemented it:
    Dashboard Tab A -- Uses Navigate to BI Content
    1) I have a prompt on Fiscal month in dashboard tab A.
    2) I created the bulb gauge and put it in dashboard tab A
    3) Setup the interaction on the bulb measure to navigate back to Dashboard Tab A.
    3) Prompted the trend on Metric Type column and put it in dashboard tab A.
    4) In theory, clicking on the bulb, should navigate back to the same tab and update the trend report appropriately
    5) In reality, nothing happens.
    6) The only way I can get the navigate to work is if I first change the value in the fiscal month prompt and click Go. Then I click on the bulb and the navigation will work ONCE. After that it's broken again.
    Dashboard Tab B -- Use Master Detail -Events
    1) Pretty much same situation as dashboard A, but instead of navigate to BI Content, I use the master-detail events.
    2) Pretty much the same results. I cannot get it to consistently work, in fact the trick with the filter didn't do anything.
    3) One thing I tried was cleared my browser history completely (Mozilla Firefox) and then launched the page. It work for about 5 clicks and then stopped.
    Either way, neither of these are working properly for me.
    Has anyone else had these issues?
    -=Joe
    Has anyone else had an issue with this?

    So someone explained to me that master-detail events only occur within a single report. They cannot be used to communicate across two different reports.
    That is significantly less useful than I originally thought. I honestly that it was a method of communication for one report to update other target reports that are all listening on the same channel. That would have been a powerful feature. A single report refreshing other views in the same report is still useful, but not as much.
    That being said, I still don't understand what the heck is going on with the navigate to BI content feature. I've been testing it out. It works with pivot tables and regular tables. But the moment I add a graph, gauge or even a "Filter" view into the dashboard page, the click stops working. Really really strange stuff.

  • Is OBIEE 11g compatible with win 2003 sp2 64 bit OS

    What is the difference between software only installation and enterprise install? Our company has win2003 sp2 64 bit OS on the server. Is it compatible to OBIEE 11.1.5 g.
    Thanks,
    Sushil

    Hi,
    There no compatible with win 2003 sp2 64 bit OS, you can install.for more refer BI Certification Matrix:
    http://www.oracle.com/technetwork/middleware/ias/downloads/fusion-certification-100350.html
    Simple Install :- Demonstration and Evaluation for Single-User Development .
    software only install means it installs only the BI components not all the BI domain comoponents like java tools
    Enterprise install :-Enterprise Deployment for Hosted Development and Production (this type enables you to specify several more configuration settings than the simple
    FYI...
    Software only install refer my blog and installation steps for Enterprise Installation
    have a look for 4.5.2.3 Enterprise Install Procedure for New Installations on
    http://download.oracle.com/docs/cd/E21764_01/bi.1111/e10539/c4_installing.htm#CEGIAGBC
    For diff between Simple and Enterprise Installations?
    Refer: http://download.oracle.com/docs/cd/E21764_01/bi.1111/e10539/c2_scenarios.htm#CHDHFGEI
    Thanks
    Deva

  • OBIEE 11g Answers with UNIONs impossible to modify

    Hi Guys,
    I'm upgrading from OBIEE 10.1.3.4.1 to OBIEE 11.1.1.5; after the upgrade using the upgrade tools I find out a problem in the upgraded answers that presents UNIONS in the Criteria.
    The upgraded Answers that have UNIONS apparently works great, but if you try to modify them it is almost impossible, if you modify a formula in one of the criteria in union the same change has replicated in all other criteria.
    Did anyone find this problem?
    Any feedback to overcome it without rebuild all the answers from scratch?
    Regards,
    Daniele

    My two cents, and you might not like the answer...but OBIEE is an analysis tool, not an ETL tool. I'd suggest implementing this logic in your DW / mart load. Not that it can't be done in OBIEE...it just probably shouldn't be.
    My two cents!
    Scott

  • Obiee 11g problem with dimension time DATETIME

    Hi experts!
    I have a problem with a column of my time dimension. In my database I have a column called "DATE" and it has this format "01/12/2009 00:00:00" (property column is DATETIME) when I import this table in Oracle Administration I see the same format that my database but I want to see without any Hours,minutes...like this: "01/12/2009"
    How can I fix this??
    Thanks!!!

    Hi alex,
    check the column name your passing and then cast it....the error is not related to that i suppose as it is internal assertion.
    chk this http://tipsonobiee.blogspot.com/2009/06/error-nqserror-46036-internal-assertion.html
    UPDATED POST
    You can alternatively use oracle trunc function in the physical layer to trunc the timestamp.
    1) go to the table where the date column is coming in physical layer
    2) go to the general properties and select SQL and write the SQL of all the columns needed from that table like
    select x,y,z,trunc(date) from table_name.
    3) this truncates the timestamp
    UPDATED POST-2
    By the way which database are you using,if its oracle trunc works out....other databases it wont work
    select trunc(sysdate) from dual in your TOAD and check out.
    hope helps you,
    Cheers,
    KK
    Edited by: Kranthi.K on Jul 27, 2011 3:15 AM
    Edited by: Kranthi.K on Jul 27, 2011 4:01 AM

Maybe you are looking for

  • How can I delete a large group of songs from my iPhone?

    Seems that IOS 6 no longer allows me to select and remove songs from iTunes as it used to. The only way I can do it now is one song at a time on the phone which is insanely tedious for the amount of stuff I add and remove on a regular basis.

  • TiVo output to DVI?

    I'm curious, but not curious enough to fry my NVIDIA GeoForce 8800 GT without asking. If I hooked up a TiVo HD with a DVI to HDMI adapter, would I be able to view the output on my 30" ACD? Just wondering.

  • Guest Network in Bridged Mode?

    I'm wondering if you can use the Guest wifi network feature on an Airport Extreme that is in bridged mode. When I say bridged mode, I do NOT mean "extending" a wireless network (like many threads with a smiliar title seem to mean). What I mean is tha

  • No memory to decode image

    In my app on motorazr(BREW) I am trying to load the frame having some images when it says -"Information -No memory to decode image". But the app works fine on the emulator. I have two frmaes in the app.The image on the first frame is displayed but wh

  • Voice Control - does it learn and what's the "Wrong" command for?

    1) Like others, I find Voice Control laughably inaccurate sometimes when trying to get it to play an artist. I'm wondering if it "learns" and gets better the more you use it? 2) In the manual, there's a command you can called "wrong" or "nope". In wh