Greater than operator for obiee analysis

Hi ALL,
Just want to ask if it is possible to use date for the greater than operator in creating obiee analysis?
for example: I want to get months greater than January 2015 for specific measure.
Thanks in advance

but I'm using Oracle 9i r2
The question is why greter than, lesser than, does not workWorks on 9.2.0.8:
SQL> select * from v$version where rownum = 1
BANNER                                                         
Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
1 row selected.
SQL> with mydata as
   select xmltype('<Values><Value>data1</Value><Value>data2</Value></Values>') MyXmlColumn from dual
select * from mydata t where existsNode(t.MyXmlColumn, '/Values/Value') < 3
MYXMLCOLUMN                                                              
<Values>                                                                 
  <Value>data1</Value>                                                   
  <Value>data2</Value>                                                   
</Values>                                                                
1 row selected.

Similar Messages

  • Greater than operator for date in obiee analysis

    Hi all,
    I just need your help. is it possible to use the greater than or less than operator (in filter) for date in creating analysis?
    FOr example: I need to have the greater than months from "January 2015" for specific measure.
    Thanks!

    Somehow the person records for this person have become corrupted. Have you any idea how that might have happened? Options:
    1) Someone or some program has issued a direct table update on per_all_people_f
    2) Someone has used Help > Diagnostics > Examine to modify the data
    3) An Oracle bug. This one is unlikely but could happen if using an unusual form (Shared Person Form, for example) and perform a weird combination of actions/keystrokes. But you'd need to be able to reproduce it if you want Oracle to fix it.
    If you're support contract is invalid or you don't have a support contract your options are limited. You can either:
    a) Bring your patch level up-to-date and then raise an SR. If Oracle agree to provide a script to fix it they'll probably just do direct table updates to resolve this record.
    b) Fix this yourself using direct table updates. This obviously isn't supported either. If you do this, make sure you know what you're doing and get it 100% right first time. BE VERY CAREFUL!
    Obviously I strongly recommend option b.

  • Exchange 2010 SP2 RU2 - Indexing backlog reached a critical limit of 48 hours or the number of items in the retry queue is greater than 10000 for one or more databases

    We have been getting intermittent SCOM alarms for our Exchange 2010 MBX server citing "Indexing backlog reached a critical limit of 48 hours or the number of items in the retry queue is greater than 10000 for one or more databases"
    I see events in EventViewer that SCOM is triggering on, but not whats generating the events or how else to test for them.
        get-eventlog -computername SERVERNAME -logname "Application" -after "03/14/2013" | ?{$_.eventid -eq "5604"} | select MachineName,EventID,EntryType,Message | ft -autosize
    One MS Forum post online says it is a bug in RU4, unclear if it may also be a bug in RU2 (our installed version).
        http://social.technet.microsoft.com/Forums/en-US/exchangesvradmin/thread/9dcb3011-9327-4935-9479-62b38a6ddd87
        "I was looking for the same error and found this.. it basically says that this is a bug in RU4 and RU4-v2...and it needs to be removed."
    tests using troubleshooting scripts find no issues with search indexer,
        [PS] C:\Program Files\Microsoft\Exchange Server\V14\scripts>.\Troubleshoot-CI.ps1
        Get-EventLog : No matches found
        At C:\Program Files\Microsoft\Exchange Server\V14\scripts\CITSLibrary.ps1:622 char:40
        + $msftesqlCrashes = get-eventlog <<<< -computername $Server -after $StartTime -logname "Application" -source $msftesqlServiceName | where {$_.eventId
        -eq $msftesqlCrashEventId}
            + CategoryInfo : ObjectNotFound: (:) [Get-EventLog], ArgumentException
            + FullyQualifiedErrorId : GetEventLogNoEntriesFound,Microsoft.PowerShell.Commands.GetEventLogCommand
        Name IsDeadLocked CatalogStatusArray
        SERVERNAME False {DATABASENAME\SERVERNAME, DATABASENAME\S...
        [PS] C:\Program Files\Microsoft\Exchange Server\V14\scripts>
    and tests against searches on each DB themselves show no issues and respond typically within 3 seconds.
        [PS] C:\Program Files\Microsoft\Exchange Server\V14\scripts>Test-ExchangeSearch | ft Server, Database, ServerGuid, ResultFound, SearchTimeInSeconds, Error -AutoSize
        Server Database ServerGuid ResultFound SearchTimeInSeconds Error
        SERVERNAME DATABASENAME b16e3461-257c-40dd-a9ad-99a5f41a927e True 2.937
    I also tried to check the Performance Viewer for the MSExchange Search Indexer and MXExchange Search Indices but am unsure which of the many metrics would indicate this issue.
    We have had no reports of search issues from our users and have been unable to duplicate any impairment in our testing.
    Does anyone else have any suggestions for tests to check or steps to take on this alert? Is it simply a false alarm or a timeout of other sorts during testing? We have 80 DAGs on this server (as well as all our servers, some of which have also reported the
    same alert) and the Test-ExchangeSearch command times out before completely testing all DAGs.

    Hi IAMChrisL,
    Any updates?
    Frank Wang
    TechNet Community Support

  • Urgent - suddenly getting lots of 'server too busy to support requests greater than 0 for this database' error 10929

    Have been using an application with no problem and no recent changes. Suddenly today (around 09:15 UK time) users started getting frequent error messages:
    Resource ID : 1 The request minimum guarantee is 0, maximum limit is 180 and the current usage for the database is 0. However the server is currently too busy to support request greater than 0 for this database.
    Server is jhzx0qn7ud.database.windows.net
    This has now continued for ~ 6 hours.

    Hello,
    Can you connect to the SQL database from the Windows Azure Management Portal and SSMS? Did you try to break the database connection and then retry request after 10 seconds?
    Please refer to the following article about this error:Resource Governance
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Greater than operator in Hana

    Hi, I have a quey inside a Xml File and I need to use the Comparasion Operator for "Greater than" in this way : &gt;
    Question: Does Hana Syntax support  &gt; ?

    Hi there,
    Was '>' or '<' not working from XML? I used a > operator in a calculated column  and then exported the HANA model to see the XML file of it. It has something like this below:
    <formula>IF(&quot;EMP NO &quot; >=3,&quot;EMPLOYEE NAME&quot;,&quot;GENDER&quot;)</formula>
    Regards,
    Krishna Tangudu

  • Xpath query using greater than operator

    I'm trying to evaluate some xml to determine if it matches some criterium.
    MyXmlColumns contains the following kind of data "<Values><Value>data1</Value><Value>data2</Value><Values>"
    When I execute the following query I get zero rows returned when it should match some rows containing this data.
    select * from mydata
    where existsNode(MyXmlColumn, '/Values/Value[. > "data1"]') = 1
    The question is why greter than, lesser than, does not work, and if there is any alternative.
    If I use equals operator, or greater than but using a number it works.
    I know that I can use XmlExists function but I'm using Oracle 9i r2 so it's not an option.
    Thanks in advance for any suggestion.

    but I'm using Oracle 9i r2
    The question is why greter than, lesser than, does not workWorks on 9.2.0.8:
    SQL> select * from v$version where rownum = 1
    BANNER                                                         
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    1 row selected.
    SQL> with mydata as
       select xmltype('<Values><Value>data1</Value><Value>data2</Value></Values>') MyXmlColumn from dual
    select * from mydata t where existsNode(t.MyXmlColumn, '/Values/Value') < 3
    MYXMLCOLUMN                                                              
    <Values>                                                                 
      <Value>data1</Value>                                                   
      <Value>data2</Value>                                                   
    </Values>                                                                
    1 row selected.

  • Greater than operator in SQL

    Hi friends,
    A table has 2 colums A and B.How i can return a flag ,say 1 if A is greater than B or 0 if A is less than B,by using SQL.
    Can any one help me out.
    thanks and regards,
    Ajith

    select a,b,case when a > b then 1
                    when a=b   then 0
                    else -1
               end FLAG
    from table;                                                                                                                                                                                                                                                                               

  • Date Greater Than Operator

    I am comparing two date fields from two tables. Both are in DATE format. The dates look like this: 22-Apr-2006 07:00:10 AM and 01-Jun-2007 12:00:00 AM. I am adding this statement to a WHERE clause:
    and vendors.vend_obsolete_date > document_xref.acceptance_date;
    In this particualr case, I should get no result because the 1st date came before the 2nd date. But when I run my program, it seems to be ignoring my > statement. Is using a greater than sign the proper syntax to compare if the 1st date field is bigger (came after) another?
    Thanks!

    Greater than works on DATE columns, no problem. A simple test confirms it.
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jul 9 17:50:52 2007
    select 'oops, something is wrong' as result
    from   dual
    where
      to_date( '22-Apr-2006 07:00:10 AM', 'dd-Mon-yyyy hh12:mi:ss AM' )
      > to_date( '01-Jun-2007 12:00:00 AM', 'dd-Mon-yyyy hh12:mi:ss AM' )
    no rows selectedThere must be something else about your query or data that's causing the anomaly.
    Joe Fuda
    SQL Snippets

  • Less Than operator not working, Greater Than operator works comparing dates

    I need to compare dates to conditionally display a row. If the DateDueJulian_ID5<= AsOfDate_ID47 display otherwise don't. I get all rows but if I reverse the logic >= the condition works and only displays the one matching row.
    I am using the Template Builder 10.1.3.4.1 and WORD 2007.
    Any help is appreciated!
    Thanks
    XML Source:
    <Header_Section_S3>
    <Delinquency_Report_ID225>DELINQUENCY NOTICE</Delinquency_Report_ID225>
    <VersionName_ID270>0001</VersionName_ID270>
    <Report_or_Video_Title_ID53></Report_or_Video_Title_ID53>
    <Remit_To_Text_ID68>Remit To:</Remit_To_Text_ID68>
    <RemitToAddressLine1_ID2>XXXXX</RemitToAddressLine1_ID2>
    <XX_XX_XX_ID259>2010-08-25</XX_XX_XX_ID259>
    <Date__ID258>Date</Date__ID258>
    <RemitToAddressLine2_ID5></RemitToAddressLine2_ID5>
    <RemitToAddressLine3_ID8></RemitToAddressLine3_ID8>
    <As_of_Date__ID46>As of Date</As_of_Date__ID46>
    <AsOfDate_ID47>2007-11-29</AsOfDate_ID47>
    <A_R_Delinquency_Notice_Detail_Join_S2>
    <DocVoucherInvoiceE_ID1>1897265</DocVoucherInvoiceE_ID1>
    <DateInvoiceJ_ID3>2007-10-11</DateInvoiceJ_ID3>
    <DateDueJulian_ID5>2007-12-10</DateDueJulian_ID5>
    <NameRemark_ID7></NameRemark_ID7>
    <AmountOpen_ID11></AmountOpen_ID11>
    <AddressNumber_ID17></AddressNumber_ID17>
    <UniqueKeyIDInternal_ID19></UniqueKeyIDInternal_ID19>
    <KAV_CustomerPONumber_ID23></KAV_CustomerPONumber_ID23>
    </A_R_Delinquency_Notice_Detail_Join_S2>
    <A_R_Delinquency_Notice_Detail_Join_S2>
    <DocVoucherInvoiceE_ID1>1897265</DocVoucherInvoiceE_ID1>
    <DateInvoiceJ_ID3>2007-10-11</DateInvoiceJ_ID3>
    <DateDueJulian_ID5>2007-11-10</DateDueJulian_ID5>
    <NameRemark_ID7></NameRemark_ID7>
    <AmountOpen_ID11></AmountOpen_ID11>
    <AddressNumber_ID17></AddressNumber_ID17>
    <UniqueKeyIDInternal_ID19></UniqueKeyIDInternal_ID19>
    <KAV_CustomerPONumber_ID23></KAV_CustomerPONumber_ID23>
    </A_R_Delinquency_Notice_Detail_Join_S2>
    RTF:
    <?for-each:Header_Section_S3?>
    <?if:DateDueJulian_ID5 <= AsOfDate_ID47?>
    <?DocVoucherInvoiceE_ID1?>
    <?DateDueJulian_ID5?>
    <?AsOfDate_ID47?>
    <?end if?>
    <?end for-each?>

    Found the solution! Use Date_Diff.
    <?if:xdoxslt:date_diff('d',DateDueJulian_ID5,AsOfDate_ID47,$_XDOLOCALE,$_XDOTIMEZONE)>=0?>

  • CcBPM - switch with a condition (greater than) in XI 7.0

    Hello.
    I have this BPM that must have a switch condition like:
    IF <field xpto> of the received message is greater than 0.
      branch 1.
    ELSE.
      branch 2.
    ENDIF.
    In XI 7.1 is easy, because the condition editor has logical expressions like >, <, etc ...
    In XI 7.0 we don't have that, but in SAP help I read:
    You want to formulate the following condition: The booking number (BookingNumber) is greater than 0100.
    Since the greater than (>) operator is not available in the condition editor, you can use the following solution: You define the relevant logical expression in the expression editor by means of an XPath predicate, and assign it to a node element. Using the condition editor you then just query the existence of this node element (by using the existence operator (EX)).
    This means you first create the following expression in the expression editor:
    /FlightBookingOrderConfirmation [BookingID/BookingNumber > 0100]
    Using the condition editor, you then formulate the following condition:
    (/FlightBookingOrderConfirmation [BookingID/BookingNumber > 0100] EX)
    The meaning of this condition is as follows:
    A node element FlightBookingOrderConfirmation exists, to which the following applies: The content of the subelement BookingID/BookingNumber is greater than 0100.
    In my example, the xpath for the variable is:
    /p4:EventMessage/p4:MessageBody/p5:Order/p5:Totals/p5:TotalGrossAmount
    But i'm not getting how to use the bracket condition.
    Regards,
    Valter Oliveira.
    Edited by: Valter Oliveira on Mar 10, 2009 6:04 PM

    Hi, valter:
    Existence operator (EX) is to check if the node exist in your source message or not.
    It is used in Conditional Editor, mostly in the conditional routing in ID.
    IF <field xpto> of the received message is greater than 0.
    branch 1.
    ELSE.
    branch 2.
    ENDIF.
    If your branch 1 or 2 is a send step, then you can use the conditional routing to substitute BPM logic.
    otherwise, you can not use conditon editor to replace your BPM logics.
    Regards.
    Liang

  • ROWNUM with Greater than symbol..!

    Hi
    Can any one explain why ">" greater than operator not working with ROWNUM.
    FOR EXAMPLE:
    SELECT * FROM EMP where rownum > 2;
    But the less than operator is working.
    SELECT * FROM EMP where rownum < 2;
    Please clarify this.
    Thanks in advance.
    Regards
    Sathya

    Hello,
    " … since something like a rownumber actually doesn't exist …"I’m pretty sure the OP is referring to the pseudo-column ROWNUM, which generated automatically by the db systems, for every query. This value, starting with 1, is being attached to every record which satisfy the where clause condition. Hence, for the first record to be assigned a rownum, the where clause must consider rownum=1 as a valid condition.
    " Rownum needs to be "generated" in a subquery first "I don't see any problem with the following code (with no subquery):
    select * from emp
    where rownum <=3;This query will display the first 3 fetched (not sorted) records from the emp table.
    Regards,
    Arie.

  • Powerpivot - Count greater than

    I have a pivottable that shows a unique purchase order, list of Products and the number of each sold (quantity)
    I want to write a measure that counts the number products sold greater than 10.  I need that measure to provide a subtotal for the total quantities greater than 10, for each PO as well.  Can anyone help??

    I didnt work, this is what i got.  However, It did subtotal to 3
    ProductGroup
    Sum of Qty
    Measure 7
    Au Jus
    1
    Beans
    2
    Bowls
    35
    3
    Peppers
    10
    Pesto
    3
    Popcorn
    1
    Seasonings
    1
    Shakers
    6
    Single Pack
    5
    Snacks
    2
    Sparkling Apple Based Juice
    2
    Taco Shells
    1
    Teas
    1
    Tomatoes
    1

  • Greater than 4000 characters in OBIEE 11g

    Dear all,
    I have a table, just one column.
    In Analysis, I designed a table with this column content the data as text greater than 4000 characters.
    Can I show all of them in OBIEE ?
    Can I change the column datatype?
    Anyone help me to resolve this issue.
    Thanks and Regards,
    David,...

    I guess you will have problem displying them in OBIEE since (The data type would be long);
    You can not use long datatype column in below cases;
    1. A value of datatype LONG was used in a function or in a DISTINCT, WHERE, CONNECT BY, GROUP BY, or ORDER BY clause. A LONG value can only be used in a SELECT clause
    2. It can not be used in expressions or conditions
    3. It can not be used in select lists of subqueries or queries combined by set operators
    Make sure your generated query is not doing the above things. First thing Distinct will come in the obiee queries by default. Try to avoid distinct,group by,order by in your reports. Direct database request for the report can help you in this case.
    Mark Correct if it helps.
    Regards,
    Kashi

  • Calculationg current and past year for a Analysis report in obiee 11.5

    Dear All,
    Need some help here.
    I am a beginner in OBIEE and need some help to build a report in obiee 11.5 as described below;
    I need to create a PnL report such that I show current years profit and loss AND prior year profit and loss figures in a report side by side for comparitive analysis for user.
    My data is an essbase database, and have a years dimension with values 'current year' , 'F08', and 'Prior Year'. and other measurs such as revenue, % revenue, gross profit, cost of sales, operating expenses etc. (I am using 107 from oracle downloads) for obiee 11.5
    There is another dimesion called time period with members as Q1, Q2, Q3, and Q4, and each having respective months (e.g. Jan, Feb, Mar for Q1 etc)
    I also have a scenario dimension with members as Actual, plan, Forecast, Wht -if..
    Now I need to create a this report.
    I created this report based on approch no 1 below;
    Appraoch 1
    - Create two analysis reports with all the above columns.
    - specify filter for year column equal to current year for first report
    - specify filter for year column equal to prior year for second report
    - create a dashboard with a promt (radio button) based on column scenario
    - create two sections placed side by side below the promt and place above two reports in those two sections so that they appear side by side
    Nw when I run this dashboard, it works fine, and shows me the current and prior data for actual, plan etc...
    BUT....
    I need to create the same reports using a single analysis report instead of two separate reports with hardcoded values for year filter.
    Now I tried use AGO funtions on but , it requires a column with numerical value so that it can calculate the past year, but in my case year is a column hving text value and hence i cant use it.
    I would like to know how to build such a report using any other variable or function or any rpd level modifitions.
    If I had a year dimesion with numeric values, then how would I use to calculate the past year once u select current year .?
    Let say values are 2012, 2011, 2010 etc. so If I select 2012 as current year, I should get data for 2012, and 2011, if I select 2011, then I should get data for 2011 ,and 2010.
    Please help me to build logic either at analysis level or at repository level
    Thanks and Regards
    Santosh

    Hi,
    As per I understand your requirement,
    In Pivot table, place 'Year' in pivot columns instead of rows.
    Create an SQL filter on Year and put the condition as:
    *"Year" BETWEEN @{Presentation_Variable} - 1 AND @{Presentation_Variable}*
    You will get the result for selected year and the previous year.
    Hope it helps..
    Regards,
    A.K.

  • Seeing the detailed sql  with db table names for an analysis in OBIEE 11g?

    Hello All,
    I am trying to see the detailed sql for an analysis to see which tables my analysis is hitting back in the database. Currently all i see is the subject area name with bunch of s_0, S_1,S_2.... but i want to see the actual table names which the Analysis is pulling the data from, I am new to OBIEE. Any help or advise with the steps in order to accomplish my goal is greatly appreciated.
    Thanks,
    Ravi.
    Edited by: user1146711 on Aug 23, 2011 3:24 PM
    Edited by: user1146711 on Aug 23, 2011 3:30 PM

    Hi ravi,
    You can check in the presentation services by going to Administration/manage session/view log for the specific report that you are running.
    You can even check the SQL in log file NqQuery.log in your installation folder C:OracleBI\server\log\NqQuery.log
    Check this Courtesy by gerard http://gerardnico.com/wiki/dat/obiee/manage_session_log
    hope answered.
    Cheers,
    KK

Maybe you are looking for

  • Nano not playing downloadeds from itunes music

    Help! I downloaded a song (for the first time) from ITunes music into my library. However, when i go to play the song on my Ipod it lists the song and the album cover but quickly goes back to the menu screen. I am unable to play the song on my ipod N

  • Upgrade 2.1.0.00.39 to 3.0.1.00.07

    Hello, I installed 2.1 (10XE) and then immediately did an apex upgrade to 3.0.1 Now, I cannot log in to apex_admin using the user name and password I used with SQL Plus to run the apex upgrade. However, I can log into APEX itself only on the local bo

  • Problems with the latest Windows 7 Conexant HD Audio Drivers For WIndows 7

    Hi, I have a Toshiba Satellite P305-S8997E with the Conexant High Definition SmartAudio 211 speakers. I have recently upgraded with the Windows 7 32/64-bit audio drivers posted within the last week in the Drivers section, and have had a few problems

  • Apple Mail DB with plenty of multiple messages

    Over the last year or so, I have noticed that my Apple Mail DB (currently version 7.3) is increasing in size at an alarming rate. Now it is almost 150 GB (!!!) and as you can imagine, it is almost unmanageable. However, I have noticed that every sing

  • Pages is not compatible on my ipad??

    I started downloading pages for my ipad, the app was slow in downloading than stalled near the completion. I got charged by the app store $9.99 and it doesn't work. when i try to re-instal it it saids pages is not compatible with my ipad...... Now wh