Subtracting DATETIME in OBIEE 11g

hi Experts,
I have a requirement in which it will calculate the total number of days delayed:
The scenario is:
Planned End Date = 11/11/2012
Actual End Date = 11/15/2012
So the expected output will be = 4.
how can I do this aggregation if the Data Type si DATETIME?
Thanks,

That is the correct syntax. Just replace the Planned End Date and Actual End Date with the required columns.
for ex
TIMESTAMPDIFF(SQL_TSI_DAY, "Calendar"."Time Id", "Calendar"."End Of Cal Month")

Similar Messages

  • Row subtraction in obiee 11g

    Hi ,
    I want to display my report as given below. I have achieved till displaying the values using pivot table in obiee 11g
    India
    Product     amount
    a     50
    b     35
    America
    Product     amount
    a     100
    b     50
    Can someone help me to achieve the below substraction of rows in obiee 11g ?
    India
    Product     amount
    a     50
    b     35
    a-b     15
    America
    Product     amount
    a     100
    b     50
    a-b     50
    Thanks,
    Pavni

    Hi...
    Follow the steps:
    1)Create a Pivot view
    India
    Product amount
    a 50
    b 35
    America
    Product amount
    a 100
    b 50
    2) Click on selection steps:
    Under the product column click on Then, New Step... ->      Add Groups or Calculated Items -> New Calculated Item
    or (else u can select this option New Calculated Item from result pane besides New View)
    Display Label Name: a-b
    Values From: Product
    Function: Custom
    Here u should select and write condition like
    Product a - Product b
    Click ok, then save....
    See the result......
    Mark as a correct it helps u....
    Thanks

  • OBIEE 11G Calculation the Correct Way

    Hi All,
    My requirement is like this that I want to calculate value Gross Profit which is simple Total Revenue - Total Expense. Now I want this to act as a Hierarchy i.e Gross Profit should be drill able to Total Revenue followed by Total Expenses. For this I created a Accounts Dimension table since no Drill Down facility is available on Fact Table(Therefore I had to move my Accounts to Dimension table rather than Fact Table). Now the problem is that there is no minus based aggregation present in OBIEE BMM layer because of which my all other sum based aggregation work correctly except where there is a negative based aggregation required like in the case of Gross Profit. Kindly Suggest what is the correct way to approach this problem. I am working on OBIEE 11g in this case.
    Warm Regards
    Abhishek Kapoor

    Financial reporting is difficult in BI because of the user preference of how to see signs on different accounts and requirements for adding/subtracting depending on the type of account.
    A few ways to approach:
    a. Use case statement to make total rev and total expense columns. Subtract to build a gross profit column. You can do this in the presentation services front end or the BMM.
    b. If you have opposite natural signs for rev and exp, you can create an account hierarchy in the account table which will net out to gross profit. Ex:
    Column 1 – account number
    Column 2 – hierarchy level 1, ex Gross Profit
    Column 3 – hierarchy level 2, ex Rev or exp
    Column 4 – account name
    Etc…
    c. Remember you can always build your own drilldown using navigation links to a report instead of the built-in drilldown.
    Good luck!

  • How to remove the "Sign Out" in OBIEE 11g?

    How to remove or hide the "Sign Out" option from Dashboard in OBIEE 11g?
    Edited by: Siva Prasad on Jul 6, 2011 6:20 AM

    Hi Amit, Following z the file.. Plz check it out....
    <html xmlns:sawm="com.siebel.analytics.web/message/v1" xmlns:sawpg="oracle.bi.ps.page/v1" sawpg:cacheable="false">
    <head>
    <title><sawm:messageRef name="kmsgBIEEHomeTitle"/></title>
    <sawm:messageRef name="kuiFrameworkHeaderHead"/>
    <link href="fmap:catalog.css" type="text/css" rel="stylesheet" />
    <link href="fmap:home.css" type="text/css" rel="stylesheet" />
    <link href="fmap:uicomponents/obips.FormFields/obips.FormFields.css" type="text/css" rel="stylesheet" />
    <link href="fmap:uicomponents/obips.FloatingWindow/obips.FloatingWindow.css" type="text/css" rel="stylesheet" />
    <link href="fmap:uicomponents/obips.Dialog/obips.Dialog.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="fmap:common/dragdropframework.js"></script>
    <script type="text/javascript" src="fmap:common/layout.js"></script>
    <script type="text/javascript" src="fmap:common/obips.TabCircler.js"></script>
    <script type="text/javascript" src="fmap:common/obips.XMLDOM.js"></script>
    <script type="text/javascript" src="fmap:webserviceproxies/catalogmanager.js"></script>
    <script type="text/javascript" src="fmap:uicomponents/obips.FormFields/obips.FormFields.js"></script>
    <script type="text/javascript" src="fmap:uicomponents/obips.FloatingWindow/obips.FloatingWindow.js"></script>
    <script type="text/javascript" src="fmap:uicomponents/obips.Dialog/obips.Dialog.js"></script>
    <script type="text/javascript" src="fmap:uicomponents/obips.UberBar/obips.UberBar.js"></script>
    <!--Please don't add this back. obips.Toolbar is deprecated! <script type="text/javascript" src="fmap:uicomponents/obips.Toolbar/obips.Toolbar.js"></script>-->
    <script type="text/javascript" src="fmap:uicomponents/common/obips.TextDialog.js"></script>
    <script type="text/javascript" src="fmap:uicomponents/common/obips.MessageDialog.js"></script>
    <script type="text/javascript" src="fmap:uicomponents/common/obips.ConfirmDialog.js"></script>
    <script type="text/javascript" src="fmap:common/datetime.js"></script>
    <script type="text/javascript" src="fmap:common/list.js"></script>
    <script type="text/javascript" src="fmap:catalog/catalogaction.js"></script>
    <script type="text/javascript" src="fmap:catalog/catalogmanagerhelper.js"></script>
    <script type="text/javascript" src="fmap:catalog/actionhandlerimpl.js"></script>
    <script type="text/javascript" src="fmap:catalog/actionlinksrender.js"></script>
    <script type="text/javascript" src="fmap:catalog/catalog.js"></script>
    <script type="text/javascript" src="fmap:catalog/itemproperties.js"></script>
    <sawm:if name="session.syndicate" op="equals" value="workspace">
    <script type="text/javascript" src="fmap:common/workspacesyndicatebase.js"></script>
    </sawm:if>
    <script type="text/javascript" src="fmap:common/alertsui.js"></script>
    <sawm:resourceBundle path="common/saw.alertsui.xml"/>
    <script type="text/javascript" src="fmap:home/bieehome.js"></script>
    <script type="text/javascript">
    function NQOnLoadEvent()
    //render header
    <sawm:messageRef name="kuiFrameworkHeader" >
    <sawm:setParam name="helpUrl"><sawm:fileMap path="biee0124.htm"/></sawm:setParam>
    <sawm:setParam name="helpCaption"><sawm:messageRef name="kuiBIHContextHelp" /></sawm:setParam>
    <sawm:setParam name="title"><sawm:messageRef name="kmsgBIHHomeTabTitle"/></sawm:setParam>
    </sawm:messageRef>
    <sawm:messageRef name="kmsgMostRecentItemsScript" />
    var tDownloadLinks = [
    <sawm:if test="officeURL">
    {text:'kmsgBIHOracleBIForMSOffice', url:<sawm:json>officeURL</sawm:json>, desc:'kmsgBIHOracleBIForMSOfficeDesc'},
    </sawm:if>
    <sawm:if test="smartViewURL">
    {text:'kmsgBIHSmartViewForMSOffice', url:<sawm:json>smartViewURL</sawm:json>, desc:'kmsgBIHSmartViewForMSOfficeDesc'},
    </sawm:if>
    <sawm:if test="privileges.Publisher.developReport">
    {text:'kmsgBIPDownloadTemplateBuilderForWord', url:saw.commandToURL('xmlpObjectTasks')+'&amp;Action=downloadTool&amp;_xaction=downloadtb', desc:'kmsgBIPDownloadTemplateBuilderForWordDesc'},
    {text:'kmsgBIPDownloadAnalyzerForExcel', url:saw.commandToURL('xmlpObjectTasks')+'&amp;Action=downloadTool&amp;_xaction=downloadae', desc:'kmsgBIPDownloadAnalyzerForExcelDesc'},
    </sawm:if>
    null
    var tSESUrl = "";
    <sawm:if test="sesSearchURL">
    tSESUrl = <sawm:json>sesSearchURL</sawm:json>;
    </sawm:if>
    saw.home.start(tDownloadLinks,tSESUrl);
    window.onload = NQOnLoadEvent;
    //list of object types that current user can create
    saw.catalogaction.setCreateList(<sawm:json>system.catalogObjectTypeManager.creatableTypes</sawm:json>);
    <sawm:if name="session.syndicate" op="equals" value="workspace">
    var tSyndicate = obips.workspace.HomePageSyndicate.createSyndicateObject();
    </sawm:if>
    </script>
    <sawm:resourceBundle path="catalog/privileges.xml"/>
    <sawm:resourceBundle path="catalog/saw.catalog.xml" inline="false"/>
    <sawm:resourceBundle path="home/bieehome.xml" inline="false"/>
    </head>
    <body>
    <div id="idBIEEHomeBodyDiv">
    <!--Round corner -->
    <table cellspacing="0" cellpadding="0" class="BIHRoundCorner">
    <tr>
    <td class="RoundCornerCell">&amp;nbsp;</td>
    <td class="TopCell">&amp;nbsp;</td>
    </tr>
    </table>
    <div class="BIEEHome">
    <table id="idBIEEHomeTable" class="BIEEHomeTable" cellspacing="0" cellpadding="0">
    <tr>
    <!-- left pane -->
    <td class="BIEEHomeLeft">
    <div class="BIHPaneContainer">
    <table width="100%" cellspacing="0" cellpadding="0">
    <!-- Create... -->
    <tr id="idCreate"><td class="BIHActionSectionHeader">
    <sawm:messageRef name="kmsgCreateSectionHeader"/>
    </td>
    </tr>
    <tr id="idBIHCreateActionList">
    <td class="BIHActionList">
    <div id="idHomeCreateLinks"></div>
    </td>
    </tr>
    <!-- Browse Catalog... -->
    <tr id="idBrowseCatalog">
    <td class="BIHActionSectionHeader">
    <sawm:messageRef name="kmsgBrowseCatalogSectionHeader"/>
    </td>
    </tr>
    <tr id="idBIHBrowseActionlist">
    <td class="BIHActionList">
    <div id="idHomeBrowseCatalogSection">
    <a id="idCatalogFolders" class="BIHFavoriteFolderLink" href="javascript:void(null)" onclick="saw.home.onAllContentClick(event); return false;">
    &lt;img border="0" alt="<sawm:messageRef name="kmsgBIHCatalogFolders"/>" title="" class="GetStartedActionIcon" src="<sawm:fileMap path="common/favorite_folder_s.png"/>" />
    <span><sawm:messageRef name="kmsgBIHAllContent"/></span>
    <img border="0" alt="Drop down" title="" src="fmap:uicomponents/obips.Menubar/dropdown_md.gif"/>
    </a>
    <a id="idMyRequests" class="BIHFavoriteFolderLink" href="javascript:void(null)" onclick="saw.home.openURL(saw.commandToURL('catalog') + '&amp;Action=search&amp;name=*&amp;type=queryitem1&amp;path=' + saw.encodeURIComponent(saw.getSessionInfos().user.homeDir),event); return false;">
    &lt;img border="0" alt="<sawm:messageRef name="kmsgCatalogFavoriteFolderMyRequest"/>" title="" class="GetStartedActionIcon" src="<sawm:fileMap path="common/favorite_search_s.png"/>" />
    <span><sawm:messageRef name="kmsgCatalogFavoriteFolderMyRequest"/></span>
    </a>
    <a id="idMyReports" class="BIHFavoriteFolderLink" href="javascript:void(null)" onclick="saw.home.openURL(saw.commandToURL('catalog') + '&amp;Action=search&amp;name=*&amp;type=bipReport&amp;path=' + saw.encodeURIComponent(saw.getSessionInfos().user.homeDir),event); return false;">
    &lt;img border="0" alt="<sawm:messageRef name="kmsgBIHMyReports"/>" title="" class="GetStartedActionIcon" src="<sawm:fileMap path="common/favorite_search_s.png"/>" />
    <span><sawm:messageRef name="kmsgBIHMyReports"/></span>
    </a>
    <a id="idMyScorecards" class="BIHFavoriteFolderLink" href="javascript:void(null)" onclick="saw.home.openURL(saw.commandToURL('catalog') + '&amp;Action=search&amp;name=*&amp;type=bsc&amp;path=' + saw.encodeURIComponent(saw.getSessionInfos().user.homeDir),event); return false;">
    &lt;img border="0" alt="<sawm:messageRef name="kmsgBIHMyScorecards"/>" title="" class="GetStartedActionIcon" src="<sawm:fileMap path="common/favorite_search_s.png"/>" />
    <span><sawm:messageRef name="kmsgBIHMyScorecards"/></span>
    </a>
    <sawm:if test="system.config['Alerts/Enabled'] &amp;&amp; privileges.Access['Global Delivers']">
    <a id="idMyIBotSubscriptions" class="BIHFavoriteFolderLink" href="javascript:void(null)" onclick="saw.home.openURL(saw.commandToURL('catalog') + '&amp;Action=favorite&amp;targetid=mySubscription',event); return false;">
    &lt;img border="0" alt="<sawm:messageRef name="kmsgBIHMyIBotSubscriptions"/>" title="" class="GetStartedActionIcon" src="<sawm:fileMap path="common/favorite_search_s.png"/>" />
    <span><sawm:messageRef name="kmsgBIHMyIBotSubscriptions"/></span>
    </a>
    <a id="idMyIBots" class="BIHFavoriteFolderLink" href="javascript:void(null)" onclick="saw.home.openURL(saw.commandToURL('catalog') + '&amp;Action=search&amp;name=*&amp;type=coibot1&amp;path=' + saw.encodeURIComponent(saw.getSessionInfos().user.homeDir),event); return false;">
    &lt;img border="0" alt="<sawm:messageRef name="kmsgBIHMyIBots"/>" title="" class="GetStartedActionIcon" src="<sawm:fileMap path="common/favorite_search_s.png"/>" />
    <span><sawm:messageRef name="kmsgBIHMyIBots"/></span>
    </a>
    </sawm:if>
    </div>
    <div class="BIHManageJobsLink">
    <sawm:if name="privileges['Admin: General'].ManageJobs">
    <a class="BIHFavoriteFolderLink" href="javascript:void(null)" onclick="saw.home.openURL(saw.commandToURL('ViewJobs'), event); return false;">
    <span><sawm:messageRef name="kmsgBIHManageMarketingJobs"/></span>
    </a>
    </sawm:if>
    <sawm:if test="privileges.Publisher.developReport || privileges.Publisher.administerServer">
    <a class="BIHFavoriteFolderLink" href="javascript:void(null)" onclick="saw.home.onBIPReportSchedules(event); return false;">
    <span><sawm:messageRef name="kmsgBIHManageReportsSchedules"/></span>
    </a>
    <a class="BIHFavoriteFolderLink" href="javascript:void(null)" onclick="saw.home.onBIPJobHistory(event); return false;">
    <span><sawm:messageRef name="kmsgBIHManageReportsJobHistory"/></span>
    </a>
    </sawm:if>
    </div>
    </td>
    </tr>
    <!-- Get Started... -->
    <tr id="idGetStarted">
    <td class="BIHActionSectionHeader">
    <sawm:messageRef name="kmsgGetStartedSectionHeader"/>
    </td>
    </tr>
    <tr id="idBIHGetStartedLinks">
    <td class="BIHActionList">
    <!--To custom the links, add a kuiHomePageGetStartedLinks custom message. -->
    <sawm:choose>
    <sawm:when name="getStartedMsg">
    <sawm:messageRef name="kuiHomePageGetStartedLinks" />
    </sawm:when>
    <sawm:otherwise>
    <a class="BIHGetStartedLink" href="javascript:void(null)" onclick="obips.launcher.launchNewWindow('http://download.oracle.com/docs/cd/E14571_01/index.htm','_blank'); return false;">
    &lt;img border="0" alt="<sawm:messageRef name="kmsgBIHHelpIntroduction"/>" title="" class="GetStartedActionIcon" src="<sawm:fileMap path="common/introtooraclebi_lg_qualifier.png"/>" />
    <span><sawm:messageRef name="kmsgBIHHelpIntroduction"/></span>
    </a>
    <a class="BIHGetStartedLink" href="javascript:void(null)" onclick="obips.launcher.launchNewWindow('http://download.oracle.com/docs/cd/E14571_01/index.htm','_blank'); return false;">
    &lt;img border="0" alt="<sawm:messageRef name="kmsgBIHHelpDoc"/>" title="" class="GetStartedActionIcon" src="<sawm:fileMap path="common/quicktour_lg_qualifier.png"/>" />
    <span><sawm:messageRef name="kmsgBIHHelpDoc"/></span>
    </a>
    <a class="BIHGetStartedLink" href="javascript:void(null)" onclick="saw.home.onDownloadDesktopTools(event)" id="idBIHDownloadToolsLink">
    &lt;img border="0" alt="<sawm:messageRef name="kmsgBIHDownloadBIDesktopTools"/>" title="" class="GetStartedActionIcon" src="<sawm:fileMap path="common/downloadBIdesktopapps_lg_ena.png"/>" />
    <span><sawm:messageRef name="kmsgBIHDownloadBIDesktopTools"/></span>
    <img border="0" alt="Drop down" title="" src="fmap:uicomponents/obips.Menubar/dropdown_md.gif"/>
    </a>
    <a class="BIHGetStartedLink" href="javascript:void(null)" onclick="saw.home.onHelpTOCs(event); return false;">
    &lt;img border="0" alt="<sawm:messageRef name="kmsgBIHHelpTOC"/>" title="" class="GetStartedActionIcon" src="<sawm:fileMap path="common/helptopics_lg_qualifier.png"/>" />
    <span><sawm:messageRef name="kmsgBIHHelpTOC"/></span>
         <img border="0" alt="HelpTOCDropdown" title="" src="fmap:uicomponents/obips.UberBar/dropdown_md.gif"/>
    </a>
    <a class="BIHGetStartedLink" href="javascript:void(null)" onclick="obips.launcher.launchNewWindow('http://www.oracle.com/technology/tech/bi/index.html','_blank'); return false;">
    &lt;img border="0" alt="<sawm:messageRef name="kmsgBIHOraTechNetwork"/>" title="" class="GetStartedActionIcon" src="<sawm:fileMap path="common/otn_lg_qualifier.png"/>" />
    <span><sawm:messageRef name="kmsgBIHOraTechNetwork"/></span>
    </a>
    </sawm:otherwise>
    </sawm:choose>
    </td>
    </tr>
    </table>
    </div>
    </td>
    <!-- right pane -->
    <td class="BIEEHomeRight" cellspacing="0" cellpadding="0">
    <table width="100%">
    <!-- Alerts -->
    <tr id="idHomeAlertsRow">
    <td class="BIHListSectionHeaderIconCell">
    &lt;img border="0" alt="<sawm:messageRef name="kmsgViewsAlerts"/>" title="" src="<sawm:fileMap path="common/alert_lg_qualifier.png"/>" />
    </td>
    <td>
    <div class="BIHListSectionHeader">
    <sawm:messageRef name="kmsgViewsAlerts"/>
    </div>
    <div id="idHomeAlerts">
    </div>
    </td>
    </tr>
    <!-- Recent -->
    <tr>
    <td class="BIHListSectionHeaderIconCell">
    &lt;img border="0" alt="<sawm:messageRef name="kmsgBIHRecent"/>" title="" src="<sawm:fileMap path="common/recentupdate_lg_qualifier.png"/>" />
    </td>
    <td>
    <div class="BIHListSectionHeader">
    <sawm:messageRef name="kmsgBIHRecent"/>
    </div>
    <div id="idNoRecentItems">
    &lt;img border="0" align="middle" class="MsgErrorImg" alt="<sawm:messageRef name="kmsgBIHNoRecent"/>" title="" src="<sawm:fileMap path="uicomponents/common/title_info.png"/>" />
    <span class="BIHNoRecentItems"><sawm:messageRef name="kmsgBIHNoRecent"/></span>
    </div>
    <div id="idRecentDashboards" class="BIHRecentSubHeader">
    <sawm:messageRef name="kmsgBIHRecentDB"/>
    </div>
    <div id="idHomeDashboards" class="BIHRecentDBDiv"/>
    <div id="idRecentOthers" class="BIHRecentSubHeader">
    <sawm:messageRef name="kmsgBIHRecentOthers"/>
    </div>
    <div id="idHomeMRU"/>
    </td>
    </tr>
    <!-- Favorites -->
    <tr>
    <td class="BIHListSectionHeaderIconCell">
    &lt;img border="0" alt="<sawm:messageRef name="kmsgBIHFavorites"/>" title="" src="<sawm:fileMap path="catalog/mostpopular_lg_qualifier.png"/>" />
    </td>
    <td>
    <div class="BIHListSectionHeader">
    <sawm:messageRef name="kmsgBIHFavorites"/>
    </div>
    <div id="idNoFavoriteItems">
    &lt;img border="0" align="middle" class="MsgErrorImg" alt="<sawm:messageRef name="kmsgBIHNoRecent"/>" title="" src="<sawm:fileMap path="uicomponents/common/title_info.png"/>" />
    <span class="BIHNoRecentItems"><sawm:messageRef name="kmsgBIHNoFavorites"/></span>
    </div>
    <div id="idHomeFavorites"/>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </div>
    </div>
    <sawm:messageRef name="kuiStaticsPreloadIFrame"/>
    </body>
    </html>
    Edited by: Siva Prasad on Jul 6, 2011 10:39 PM
    Edited by: Siva Prasad on Jul 6, 2011 11:10 PM
    Edited by: Siva Prasad on Jul 6, 2011 11:58 PM

  • Different calculation on each column in table in obiee 11g report??

    Hi ,
    I have to display values in a table for measures in obiee 11g report which should hold different calculation on each column. For ex:
    Result 1:
    Flag  Display   Transaction  Amount
      C      'A'                 2              3
      C      'B'                 3               0
           SubTotal1            5             3
    Result 2:
    Flag  Display   Transaction  Amount
      H      'C'                 2              11
      H      'D'                  0              0
           SubTotal2          2             11
    Result 3:
    Flag  Display   Transaction  Amount
      H      'C'                 1              0
      H      'D'                  1            0
           SubTotal3          2            0
    Final Result:(Transaction shd hold :-subtotal1-subtal2 , Amount should hold:-subtotal1-subtal2+subtota3)
    Flag   Display               Transaction         Amount
    C    'total tran(1-2)              3                     8
           Total Amnt(1-2+3)'     
    Please help me how can i achieve this ... ??? I am new to OBIEE 11g.
    Thanks,
    Pavi

    There are a few things I cannot understand; I'm assuming Transaction and Amount are fact columns. Then how do they have different values for the same values of Flag and Display ??
    Anyway, sub total can be achieved by going to edit view for the table and from columns and measures area under the Layout pane click on the summation icon and select After.  This will automatically display a grand total value at the bottom of each fact column.
    Now, to get the final result, say Total Transaction you can add a dummy column and edit its formula.
         Total Transaction = trans_subtotal1 - trans_subtotal2 and
         Total Amount = amt_subtotal1 - amt_subtotal2 + amt_subtotal3
         Now if we could say that trans_subtotal1 is the total of transaction value when Flag = 'C' or something like that then you can get this value of subtotal1 by using the formula FILTER(SUM("Subject Area"."Folder".Transaction Column") USING (DESCRIPTOR_IDOF("Subject Area"."Folder"."Flag column") = 'C')).  Similarly we can obtain subtotal2 and subtract them to get the total transaction value.  But I am sure if we can do this because for the same values of Flag and Display, Transaction has different values.  But by using the above formula, the values we obtain for subtotals 2 and 3 will be the same.  So calculating Total Amount would be a problem.
    The above formula is obtained by going to edit formula and selecting the filter option at the bottom of the edit dialog box.
    Hope I made my point clear

  • Usage Tracking in OBIEE 11g - S_NQ_DB_ACCT and S_NQ_ACCT

    Hi Experts,
    How to fetch the physical query using usage tracking in OBIEE 11g, i hope in OBIEE 11g there is a feature to capture the physical query using S_NQ_DB_ACCT.
    I have imported the table S_NQ_ACCT and S_NQ_DB_ACCT in to RPD.
    Please let me know how to join these two tables(Using which Key).
    Thanks.

    Hi,
    Which version are you using it?
    If you in obiee11.1.1.6.0 and above version refer,
    CREATE TABLE [dbo].[S_NQ_ACCT](
         [USER_NAME] [varchar](128) NULL,
         [REPOSITORY_NAME] [varchar](128) NULL,
         [SUBJECT_AREA_NAME] [varchar](128) NULL,
         [NODE_ID] [varchar](15) NULL,
         [START_TS] [datetime] NULL,
         [START_DT] [datetime] NULL,
         [START_HOUR_MIN] [char](5) NULL,
         [END_TS] [datetime] NULL,
         [END_DT] [datetime] NULL,
         [END_HOUR_MIN] [char](5) NULL,
         [QUERY_TEXT] [varchar](4000) NULL,
         [QUERY_BLOB] [ntext] NULL,
         [QUERY_KEY] [varchar](128) NULL,
         [SUCCESS_FLG] [numeric](10, 0) NULL,
         [ROW_COUNT] [numeric](10, 0) NULL,
         [TOTAL_TIME_SEC] [numeric](10, 0) NULL,
         [COMPILE_TIME_SEC] [numeric](10, 0) NULL,
         [NUM_DB_QUERY] [numeric](10, 0) NULL,
         [CUM_DB_TIME_SEC] [numeric](10, 0) NULL,
         [CUM_NUM_DB_ROW] [numeric](10, 0) NULL,
         [CACHE_IND_FLG] [char](1) NOT NULL,
         [QUERY_SRC_CD] [varchar](30) NOT NULL,
         [SAW_SRC_PATH] [varchar](250) NOT NULL,
         [SAW_DASHBOARD] [varchar](150) NOT NULL,
         [SAW_DASHBOARD_PG] [varchar](150) NOT NULL,
         [PRESENTATION_NAME] [varchar](128) NOT NULL,
         [ERROR_TEXT] [varchar](250) NOT NULL,
         [IMPERSONATOR_USER_NAME] [varchar](128) NOT NULL,
         [NUM_CACHE_INSERTED] [numeric](10, 0) NULL,
         [NUM_CACHE_HITS] [numeric](10, 0) NULL
    ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
    this one is working fine and no issue.
    Thanks
    Deva

  • Login issue in OBIEE 11g

    Hi Experts,
    We are using OBIEE 11g
    We are facing the strange issue while accessing the presentation services login page.
    I had uploaded the RPD file using EM,it is working for 1 hour with out any issue.
    After some time the fallowing error is coming. then we are not able to access presentation services,
    I had observed all the services are down in EM>Capasity manage ment tab.
    Longing screen is coming ,but after entering the credentials ,it is showing login into…but not at all opening the window.
    Error connecting to the Oracle BI Server: Could not connect to the Oracle BI Server because it is not running or is inaccessible. Please contact your system administrator.
    Error Codes: WH4KCFW6:OPR4ONWY:U9IM8TAC
    Odbc driver returned an error (SQLDriverConnectW).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred.
    [nQSError: 12002] Socket communication error at call=Connect: (Number=0) Call=NQRpc: An unknown socket communications error has occurred.
    [nQSError: 12010] Communication error connecting to remote end point: address = SERVERNAME.com; port = 9706.
    [nQSError: 12008] Unable to connect to port 9706 on machine SERVER_NAME.com.Please have your System Administrator look at the log for more details on this error. (HY000)
    Thanks in advance.

    Hi ,
    I normally do this to fix this problem
    1>Disable the network , keep the loopback adaptor enabled and then restart the services.
    2> You can enable the network after services are restarted.
    If you want a more practical solution and dont want to disable network again and again, then you would find the blog below useful.
    http://www.rittmanmead.com/2012/08/obiee-fmw-and-networking-on-dhcp-hosts/
    Hope this help.
    Thanks,
    Maqsood

  • I cant able to create a new Analysis and Dashboard prompt in OBIEE 11g

    Hi Gurus,
    i try to create a new Analysis in OBIEE 11g in (brower: ie,Google chrome, Mozila), i got the error "*unterminated string literal*" and "*Exception at function updateSelectionsPanel: unterminated string literal*".
    and i try to create a new Dashboard Prompt using column prompt when i select the column i don't get the filter form and not to be add the column prompt in the Dashboard Prompt.
    Thanks,

    Moving this discussion to the Adobe Creative Cloud forum.
    Kriskristferson if you are facing difficulties with your order then please contact our support team directly at Contact Customer Care.

  • Error while using between operator with sql stmts in obiee 11g analytics

    Hi All,
    when I try to use between operator with two select queries in OBIEE 11g analytics, I'm getting the below error:
    Error Codes: YQCO4T56:OPR4ONWY:U9IM8TAC:OI2DL65P
    Location: saw.views.evc.activate, saw.httpserver.processrequest, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
    Odbc driver returned an error (SQLExecDirectW).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 27002] Near <select>: Syntax error [nQSError: 26012] . (HY000)
    can anyone help me out in resolving this issue.

    Hi All,
    Thank u all for ur replies, but I dint the exact solution for what I'm searching for.
    If I use the condition as
    "WHERE "Workforce Budget"."Used Budget Amount" BETWEEN MAX("Workforce Budget"."Total Eligible Salaries") AND MAX("Workforce Budget"."Published Worksheet Budget Amount"",
    all the data will be grouped with the two columns which I'm considering in the condition.
    my actual requirement with this query is to get the required date from a table to generate the report either as daily or weekly or monthly report. If I use repository variables, variables are not getting refreshed until I regenerate the server(which I should not do in my project). Hence I have created a table to hold weekly start and end dates and monthly start and end dates to pass the value to the actual report using between operator.
    please could anyone help me on this, my release date is fast approaching.

  • Error while deploying new RPD in obiee 11g

    Hi ,
    Getting the below error , while activating changes , after deploying a new RPD through EM :
    Message SEVERE: Element Type: JEE_SERVER, Element Id: 01HW447397:bi_server1, Operation Result: UNEXPECTED_ERROR, Detail Message: Exception occured during setting configuration values.
    Supplemental Detail Underlying cause of exception was:
    oracle.bi.management.exceptions.ConfigMBeanRTException
    Failed to generate edit filename for: C:\WINDOWS\ODBC.INI; java.io.IOException: Access is denied
    Report on underlying changes made is:
    INFO: Element Type: JEE_SERVER, Element Id: 01HW447397:bi_server1, Operation Result: APPLYING_CONFIGURATION_CHANGES, Detail Message: null
    FINE: Element Type: ORACLE_INSTANCE, Element Id: 01hw447397:instance5, Operation Result: APPLYING_CONFIGURATION_CHANGES, Detail Message: null
    FINE: Element Type: BI_INSTANCE_DEPLOYMENT, Element Id: 01hw447397:instance5:coreapplication, Operation Result: APPLYING_CONFIGURATION_CHANGES, Detail Message: null
    FINER: Element Type: SYSTEM_COMPONENT, Element Id: 01HW447397:coreapplication_obis1, Operation Result: MODIFIED_ATTRIBUTE, Detail Message: Attribute: RepositoryName set to value: PaintDesign_BI0008.rpd (was: DipTest_BI0005.rpd)
    FINE: Element Type: BI_INSTANCE_DEPLOYMENT, Element Id: 01hw447397:instance5:coreapplication, Operation Result: APPLYING_ENDPOINT_CHANGES, Detail Message: null
    FINER: Element Type: SYSTEM_COMPONENT, Element Id: 01HW447397:coreapplication_sawbridge, Operation Result: MODIFIED_ATTRIBUTE, Detail Message: Attribute: sawservers set to value: 01hw447397:9710 (was: )
    FINER: Element Type: SYSTEM_COMPONENT, Element Id: 01HW447397:coreapplication_obips1, Operation Result: MODIFIED_ATTRIBUTE, Detail Message: Attribute: JavaHostProxyHost set to value: 01hw447397 (was: )
    FINER: Element Type: SYSTEM_COMPONENT, Element Id: 01HW447397:coreapplication_obips1, Operation Result: MODIFIED_ATTRIBUTE, Detail Message: Attribute: JavaHostProxyPort set to value: 9810 (was: )
    FYI , I succesfully checked in the RPD , tried restarting all BI services and re-login into EM . But the error still exists .

    Thanks for your replies !!
    In any of the RPD deployments I'm getting the same error , not for some particular RPD .
    FYI , yesterday (before this issue) I had a issue with starting presentation services , so as adviced in forum I replaced the files sawguidstate and sawguidstate.atrin the location:
    <Instance_Home>\instances\<instance_name>\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obips1\catalog\<project>\root\system\mktgcache\<name>
    with the same files from a backup or from another working OBIEE 11g (11.1.5)instance.
    plese refer : Re: Unable to start presentation services , in OBIEE 11g
    Is this causing the deployment issue ?

  • Error while deploying RPD in OBIEE 11g (11.1.1.3)

    Hi Friends,
    At times while deploying RPD in OBIEE 11g, I am getting an error, "_*Supplementary information regarding operation: DOMAIN, UNEXPECTED_ERROR;/tmp/zipped-directory.zip (Permission denied)*_".
    We have installed OBIEE over a LINUX machine. I tried to locate this file in the server but was not able to find any such thing. This error happens at random and I am unable to predict the occurrence of this error.
    Can someone guide me how to resolve this issue?

    You have to disable the central configuration:
    http://download.oracle.com/docs/cd/E14571_01/bi.1111/e10541/disable_em.htm#BEIIAEGD
    Change your repository in the file nqsconfig.ini
    and
    change the password if needed in the credential store ...
    http://gerardnico.com/wiki/_detail/dat/obiee/obiee11g_credential_store.jpg?id=dat%3Aobiee%3Acredential
    But if you can't open EM, it will be very difficult and may be you must have to add resource (memory, ...) to your server.
    Regards,
    -Amith.

  • Error while exporting to PDF document in OBIEE 11g

    Hi
    In OBIEE 11g we are facing an issue regarding exporting a few reports to pdf. It is resulting in following error: "Error generating PDF document".
    The reports are placed on a dashboard which has a prompt too. However, when we remove the prompts, the export is working fine.
    We will really appreciate any help in this regard.
    Thanks.

    Hi,
    Looks like this is a sort of known bug with PDF creator in 11g. Try implementing the below solution:
    To configure the Javahost service, edit the Javahost service configuration parameters in the
    instanceconfig.xml file. The parameters are
    identified by their relative path starting from the /WebConfig/ServerInstance node
    For example:
    <JavaHost>
    <PDF>
    <InputStreamLimitInKB>50000</InputStreamLimitInKB>
    </PDF>
    </JavaHost>
    After changes restart Siebel Analytics Java Host and Siebel Analytics Web services
    If it doesn't work try to create same report in xml publisher as presentations services in obiee has limited capacities in printing out reports.
    Refer to this thread for related useful information: Error in creating a PDF
    Hope it helps.
    Thanks,
    -Amith.

  • Creation of report in OBIEE 11g

    Hi
    I need to create a reportin dashboard
    so, i added page for this, but where i can found subject areas in OBIEE 11g so that i can create a report on this page based on that subject area.
    can anyone help me in this.
    Thanks
    Mannu

    Manu,
    For Creating New Reports,
    1.Got to -> New ->Analysis you will have your Presentation Tables under Select Subject Area
    Click on your Subject Area -> you'll get list of tables under the Subject Area
    2. Expand the Folders and click the required column.
    3. Click on Result tab - > you'll get Title and Table View
    4. Format your Table view and Title View
    5. Save your New Report in Shared Folders (You may create your own folder under Shared folder)
    View the Reports on Dashboard.
    1.Got to -> New ->Dashboard -> you will have New Dashboard Window
    Name - Give the name of your Dashboard
    Select Location - /Shared Folders/Standard Dashboard/
    Click Ok -> you'll get Empty Dashboard window.
    2. Edit the Dashboard -> Drag and Drop your Saved reports from Shard Folder under Catalog
    3. Click on Save button (Top Right) and save your dashboard -> click run [Green right Arrow(Top Right)].
    4. Now you'll have your report in your dashboard page.
    Rename Dashboard Page
    Edit the Dashboard - > Click Properties Nedt to X Symbol -> Dashboard Properties
    -> You'll have the Dashboard Properties window -> Select the Dashboard Page -> Rename
    Prompts:
    1.Got to -> New ->Dashboard Prompt-> you will have your Presentation Tables under Select Subject Area
    Click on your Subject Area -> you'll get the Untitle Prompt Window
    -> Click + symbol -> Column Prompts ->you'll get list of tables
    2. Expand the Folders and click the required columns from the list (the Columns should be your Report's table).
    3. Save your New Prompts in Shared Folders.
    Note: The Prompt columns should be Is Promptd in your Reports Filters.
    Thanks,
    Balaa...

  • OBIEE 11g install failed on Windows 7 - 64 bit

    I am trying to install OBIEE 11g in my Windows 7 - 64 bit laptop.
    It is failing during configuration at the step
    Starting Managed Server: bi_server1
    The log file is showing following error ....
    Starting Managed Server : bi_server1
    In public start
    ASWLServer.start ...
    LOADING DLL : C:\FusionMW\Oracle_BI1\install\config\\StartUtil64.dll
    getDomainRuntimeMBeanServerConnection ...
    Connecting to Domain runtime ...
    trying to connect to vikas-PC 7001
    Successfully connected to the Domain Runtime ...
    getDomainRuntimeMBeanServerConnection ...
    Connecting to Domain runtime ...
    trying to connect to vikas-PC 7001
    Successfully connected to the Domain Runtime ...
    oracle.as.provisioning.exception.ASProvisioningException
         at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:872)
         at oracle.as.install.bi.biconfig.standard.StandardWorkFlowExecutor.executeHelper(StandardWorkFlowExecutor.java:31)
         at oracle.as.install.bi.biconfig.standard.StartStopManagedServer.doExecute(StartStopManagedServer.java:56)
         at oracle.as.install.bi.biconfig.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:79)
         at oracle.as.install.bi.biconfig.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
         at oracle.as.install.bi.biconfig.BIConfigMain.doExecute(BIConfigMain.java:110)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: oracle.as.provisioning.exception.ASProvWorkflowException
         at oracle.as.provisioning.weblogic.ASWLServer._start(ASWLServer.java:1196)
         at oracle.as.provisioning.weblogic.ASWLServer.start(ASWLServer.java:999)
         at oracle.as.provisioning.engine.WorkFlowExecutor._startStopServersAndApps(WorkFlowExecutor.java:815)
         at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:484)
         at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
         ... 14 more
    Please help
    Thanks in advance,
    Vikas Agarwal

    Greetings Vikas.
    Dou you solve this issue?
    I got the exact same message but setting the second node of a Forms 11.1.2.1 Installation. But the message I got is the same that you have:
    Successfully connected to the Domain Runtime ...
    oracle.as.provisioning.exception.ASProvisioningException
      at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:872)
      at oracle.as.install.classic.ca.standard.StandardWorkFlowExecutor.execute(StandardWorkFlowExecutor.java:65)
      at oracle.as.install.classic.ca.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:26)
      at oracle.as.install.classic.ca.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
      at oracle.as.install.classic.ca.ClassicConfigMain.doExecute(ClassicConfigMain.java:124)
      at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:371)
      at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:88)
      at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:105)
      at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
      at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:64)
      at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:160)
      at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
      at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:86)
      at java.lang.Thread.run(Thread.java:662)
    Caused by: oracle.as.provisioning.exception.ASProvWorkflowException
      at oracle.as.provisioning.weblogic.ASWLServer._start(ASWLServer.java:1196)
      at oracle.as.provisioning.weblogic.ASWLServer.start(ASWLServer.java:999)
      at oracle.as.provisioning.engine.WorkFlowExecutor._startStopServersAndApps(WorkFlowExecutor.java:814)
      at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:483)
      at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
      ... 13 more

  • Applying decode function in obiee 11g

    DECODE(A.AC_CCY,'INR',DECODE(DRCR_IND,'D',-1,1)*A.LCY_AMOUNT,DECODE(DRCR_IND,'D',-1,1)*A.FCY_AMOUNT),
    DECODE(DRCR_IND,'D',-1,1)*A.LCY_AMOUNT,
    Can any one help me how to decode the above sql statement in obiee 11g.
    Edited by: 925104 on Apr 3, 2012 12:48 AM

    you can achieve it by using CASE WHEN condition END function in obiee. nested case also supported by obiee.
    check the below link Decode Join  Condition in OBIEE RPD
    Thanks
    Jay.
    Edited by: Jay on Apr 3, 2012 12:56 PM

Maybe you are looking for

  • Disk repair and startup\dvd drive issues

    i'm running 10.6 on a 2ghz macpro - disk repair has found problems on the startup disk. i know i need to boot from another disc to repair the system drive, but i'm having problems doing so. the dvd drive won't startup from either my original installa

  • Customer Coversion Using Interface Table - Error during update

    I need to import customers from legacy applicatiion and is planning to use standard customer interface for that. For testing, I am able to create customers with hardcoded values. But while I try to update the same customer record (again using hard co

  • DataGrid Header Problem

    Dear All, I have some problem with accessing DataGrid HeaderText, When one column is visable false. "Click on column content and the code will show col # and header name. Do the same After Hide Colun  is clicked" Please check the following code <?xml

  • When I shake my iPhone 5 there is a loud thumping type sound.

    Any ideas ? Vibrate motor ? Battery? No Idea what's going on but it is very loud and you can feel the Shift in weight when moving / shaking phone. Thanks for any and all help :)

  • SSIS Auditing on Table

    Hi  I need to record insert & update changes made to a SQL 2005 table with no primary key, is this possible? The logging events in SSIS seem related purely to validation, execution and errors. Thanks