Changes to Derived Logical Column not reflected in Answers

Before I go off my rocker and stab myself with my IPhone lightsabre... :-)
I created a new logical column for an existing table in my BM, deriving from an existing column (a datetime field called ESTIMATEDCLOSE) as follows:
MONTHNAME(Sales.OPPORTUNITY.ESTIMATEDCLOSE) || ' - ' || CAST(Year(Sales.OPPORTUNITY.ESTIMATEDCLOSE) AS CHAR(4))
...which should give me something like "Jan - 2008". The problem is that it returned something like "2008/01/31 00:00:00" in Answers - completely unexpected.
I decided to start out small and try something simpler, changing my derived column to be only Sales.OPPORTUNITY.ESTIMATEDCLOSE. This returned "2008/01/31 00:00:00" in Answers - sort of expected.
Then I changed it to MONTHNAME(Sales.OPPORTUNITY.ESTIMATEDCLOSE). This also returned "2008/01/31 00:00:00" in Answer!!!
It almost seems as if a derived logical column is cached in some weird way and changes to the formula is not reflecting in answers. Thinking that something so simple must work and I made a simple mistake somewhere I have spend a good part of the past day playing around with this and trying every possible solution I can think of - no luck. The odd thing is that I would rename my logical column and this will be reflected in Answers, but changes to the derived expression is not reflected.
- I deleted the column and started all over - no luck
- tried creating derived columns using different datetime expressions or even just concatenating strings to each other - no luck.
- Restarted all the Oracle services, thinking it's a cach'ing issue - no luck.
- I rebooted the server - no luck.
Once, when I started out with only MONTHNAME(Sales.OPPORTUNITY.ESTIMATEDCLOSE) I got back correct values in Answers (Jan, Feb, Mar..) and I thought the problem was finally gone. So I added || ' - ' || CAST(Year(Sales.OPPORTUNITY.ESTIMATEDCLOSE) AS CHAR(4)) to the derived formula. Guess what, Answers kept on giving me back only the Month names, completely ignoring my updated formula.
Anybody else ran into this problem? Something so simple should surely work...

John,
Yes, cleared the cache (from Dashboard Administration) and also used nqcmd Call SAPurgeAllCache. Restarted BI Server. Still no luck.
I tried your formula and then only got back "2008/01/31" (just the date without the timestamp) - very strange.
Then I noticed the following amazing thing (by accident):
I started with a request in Answers that does not contain my derived column and then add my derived column to the report. The text would be all wrong in this column (Jan, Feb, March). Then I add the same column again to the report and the second added column will magically show the correct strings (Jan - 2008) !!! Even stranger is that the moment I added the same column again to the report, the text on the first column would also magically jump to the correct values (Jan - 2008).
I did a bit more testing and created a blank request and added my derived column as the only column - this time it will show the correct values immediately. It does seem like it's tied to the content already in the request. I went a step further and saved my buggy request and added it to a Dashboard - it worked perfectly in the Dashboard.
Must be something buggy here in Answers when working with derived columns. I'm on 10.1.3.4...

Similar Messages

  • DIfference b/w expression builder logical column and derived logical column

    Hi Experts,
    Can anyone tellme the difference between expression builder (when we double click the logical column) of derived logical column and expression builder of logical column( we see this in column mapping of LTS) ??
    Thanks in advance.

    Hi,
    Formula given in the "expression builder of logical column( we see this in column mapping of LTS)" is performed on the physical layer of the RPD. I guess it is calculated in the Physical Query which is good for performance.
    Formula in the expression builder of derived column is calculated in the BMM layer i.e in the logical query.
    Regards,
    Amrutha.

  • Derived Logical Column throws an error

    Hello
    I get the 46036 error from Answers when I add a field that I created in the BMM of the RPD. We are on OBIEE 10.3.4.2. I added a logical column to a table and applied a filter for a particular age band. I can check the change in without any errors but when I use that field with that expression I get the nQSError.
    *[nQSError: 46036] Internal Assertion Condition pExpr->IsValueExpr(), file*
    Ahsan/Naveen, any ideas on this? You guys have been always helpful with my questions.
    Thanks,
    Dan

    Not sure if this helps but found a few things online on this..may just require a resave or re-import of the specific report (http://tipsonobiee.blogspot.com/2009/06/error-nqserror-46036-internal-assertion.html). If you are on Solaris 64 there is also a bug associated with this. "[nQSError 46036] Internal Assertion Error" After Upgrading to OBIEE 10.1.3.3.2 [ID 566463.1] suggesting to change the following parameter:
    A workaround is to make only off line changes.
    The bug states the following:
    "The solution was to set the following in NQSConfig.INI
    SERVER_THREAD_STACK_SIZE = 1024 KB"
    This is not the same exact OBIEE version. Try these 2 suggestions and let us know how it goes.

  • Logical column not in hierarchy is shown as being drillable?

    I have a hierarchy created, lets say customer. Within all the levels, logical column "customer zipcode" is not added. By default then, this column would be associated with the detail or lowest level. When I create a report in answers with just this column, it shows up drillable whereby it drills to the lowest level which is apart of by default. So my question is why is this logical column drillable if it is not associated explicitly in the hierarchy?

    Thanks for the reply. Later yesterday I figured out the problem. It took some unit testing and trial and error; but, this is what I gathered during testing.
    1. logical columns for hierarchy table source that are not explicitly added to a level in the hierarchy is by default put in lowest level and they are not drillable because of that.
    2. If you add a logical column which is derived off other logical columns through an expression (for example concatenating col_nm||'('||col_cd||')' in the lowest level, add it as a key and set the key for "use for drilling" then this too will make all logical columns drillable to that. Don't know why but could be a bug.
    3. If you set preferred drill path for the lowest level to another hierarchy level, then those logical column(s) will be drillable. Probably because they are not at the lowest level any more since there is another level down now due to the preferred drill path.
    So in the end since the lowest level drillable column has to be a logical column which is built through expression and the fact that this lowest level needs to drill to another level in another hierarchy due to business requirements I am stuck with all columns not in the hierarchy being drillable. The fix around this though is to go to all these columns that are now drillable, set the aggregation rule to 'no interaction' and save as system-wide default.

  • IPhone 4 with iOS5; Changes in iTunes to music not reflected on iPhone.

    It's really odd.  I plug in my iPhone, open iTunes, make changes to playlists (add or delete, etc.) and add or delete actual songs to my iPhone (via iTunes), etc., but none of this gets reflected on my iPhone when I unplug from computer and open the Music app.  When I open the Music app, all the old playlists and songs are still there.  But when I plug the iPhone back into my computer and open iTunes and click on my device, all the changes are reflected (on iTunes after clicking on my device).  I push Sync and let the phone Sync but it still does not reflect any of the changes when I unplug.  What is even crazier is I go back to the iPhone and I can still click on songs to play them, even after I have deleted them through iTunes on my iPhone, and they no longer show up on my device through iTunes.  Anyone have any suggestions?
    This never happened prior to upgrade to iOS5 or backing up to iCloud.

    I am just updating as I was finally able to get this to work.  I went back and synced two more times with iTunes.  The first time still did not make any changes to my iPhone.  The second time, the sync hung (at least an hour later it was still syncing on step 5 of 5), but I "ejected" anyway.  And this time the changes were reflected in my iPhone.  I don't know why the first two Syncs did not make the changes, even though they Synced without issue.

  • Changes in Crystal reports are not reflecting after publishing

    Dear SDN Mates,
    We are facing problem with Crystal reports. After making the changes in the crystal reports, it is not reflecting in the portal after publishing. Still it is showing the older version of the report.
    Can anyone please help me on this.
    Thanks and Regards
    Arun S

    Hello Prathamesh,
    After publishing the report, we require some changes in the report and doing some modifications in crystal report and again we are publishing this report. After publishing the report for second time, those changes are not reflecting in the BOE portal.
    This is happening for all reports. Can you please suggest me on this.
    Thanks and regards
    Arun S

  • Changes made to files are not reflecting

    File updates not reflected. I modified content, added data validation and saved the file back - next day file is still the way it was before modification.
    Other file, another site but similar situation.
    Content changed - form added but next day the change is not reflected.
    SharePoint 2013
    Please help.
    Thanks
    Pj

    HI Alex,
    Answers to your questions inline below:
    So you are editing a file, modifying the content in there and saving it but the changes are being lost?
    Ans: Yes.
    1. Have you checked the file immediately after closing it to see if the changes lasted?
    Ans: I am not sure, if I checked the files immediately after. I think the changes were saved properly because I didn't get any error.
    I managed to print out a file with a new element on one day but on the next day in the same file, I saw that element was not there.
    I sometimes open the files through the Newsfeed tab, does that matter? My understanding is that the system is going to the original location to open the file
    2. Do the changes then disappear later that day at some point?
    Ans: That is my understanding.
    3. Does this happen just for those files?
    Ans: So far I have observed it for two of the files only.
    4. Do you have versioning or publishing enabled on those lists? Versioning will let you see who changed it when and approval or publishing might be hiding things?
    Ans: Versioning is enabled, publishing - not.
    When I go to check versions to see, if maybe someone overwritten my change and retrieve the previous version, there is no previous version with the changes i made
    the previous day.
    Thanks.

  • Changes made in EMS are not reflected in EMC

    Hello all,
    I realise that this is 2013 discussion, but I could not find a 2010 section.
    My problem is simple: any change that I make inside the Exchange Shell is simply not reflected in the Console. It doesn't appear there. It can't be searched for. Nothing.
    I'd like to know how to fix this. Exchange is very broken when it is operating like this, and I pretty much cannot do anything. Customer GALs are exposed to each other, etc.... because changes won't occur even though the shell says they have.

    Hi
    What changes are you making? Some changes do take time as replication etc. happens in the backend. Have you tried restarting the server? do you see any changes after that?
    Please also check the Application log for errors.

  • Changes made in BOM are not reflected in Configurator.

    Hi all,
    When i update minimum and maximum quantities in BOM, the new values are not reflected in the configurator.
    I have found a patch (patch# 4410573) for this issue in metalink and applying that patch did not resolve the issue.
    I have logged an SR with Oracle for this and Oracle support have asked me to run "Refresh Single Configuration Model" concurrent program and see if the changes are reflected.
    This program has 2 parameters one for folder and the other for Configuration Model Id.
    When i try to run the program, for any of the folders, the value set for the parameter Configuration Model Id does not show any values and hence i am unable to run the program.
    We don't have a separate instance for COnfigurator.
    Do i need to do any set up so that my Configuration model is reflected in the LOV?
    Can anyone please help me on this?
    Oracle Apps version: 11.5.10.2
    Configuration software build: 11.5.10.25.43A
    Regards,
    Sreekanth

    Hi Jason,
    Please see my comments below
    Jason said*
    Support is correct. If you haven't run the Refresh a Single Configuration Model concurrent program for your model, then the new BOM attributes will not be visible in your model. Changes to items/BOMs are not directly reflected in the configuration model. You must "refresh" the model to see the changes.*
    Even without running the "Refresh a Single Configuration Model" concurrent program, in some scenarios, changes are being reflected in Configurator.
    Ex:
    When i change only minimum and maximum quantities, the changes i.e. new minimum and maximum values are not reflected in Configurator.
    But, when i also change any of the following fields along with minimum and maximum quantities, new values are being updated in Configurator with out running the refresh program.
    effectivity_date, disable_date, component_quantity, planning_factor, component_yield_factor and optional class
    Can you please explain this?
    Also, i have already tried executing the query by commenting the enclosing_folder check. But still, the query is not retrieving any records.
    Basically, the sub-query that fetches devl_project_id itself is not retrieving any records.
    Jason said:+
    Based on the SQL above, the only criteria for importing a model is that the item under the folder must be:+
    a. A Model (PRJ = Project)+
    b. The Model cannot be deleted (Deleted_flag must be '0')+
    c. And the model must have been imported from Oracle apps, e.g. it cannot be a non-BOM model (orig_sys_ref is not null)+
    Can you please tell how can i check whether model is imported into configurator or not and if it is imported from where is it imported?
    Regards,
    Sreekanth
    Edited by: Sreekanth Munagala on May 12, 2011 8:52 AM

  • Changes to the infoobject are not reflecting in the query Desinger level.

    Hi All,
    We removed some Attributes to one characteristic and transported into QA.
    The removed attributes are not getting in BEx query designer in Dev, But we are getting those removed attributes in the context menu of that particular Char in BEx Designer in QA.
    We checked in the Characteristic level, those removed Attributes are not there in Info object level but still those Attributes are displaying in BEx designer level in QA.
    And info object showing as gray color even though we activated the info object, We think this may be the cause to not reflect the changes to BEx Designer level.
    Can any one suggest us to resolve the issue.
    Thanks & Regards,
    Raju. E

    Hi Raju
    Go to transation RSRT enter one of the reports and click to Generate Report. If this solves your problem then you can go to Environment\generate queries directly to regenerate the impacted queries.
    Cheers
    Tansu

  • Changes made from application are not reflecting in Database and vice versa

    I am updating changes from my Application. However the data in not reflected in the DB. I logged in and can see no change. However, the changes are being reflected in the Application, even after a server restart. Any ideas on this ?? its wierd !!

    SELECT   c.sql_text sqltext
        FROM v$session a, v$sqltext c
       WHERE a.SID = :session_id AND a.sql_address = c.address(+)
    ORDER BY a.status, a.last_call_et, A.SID, A.username, C.pieceSQL_ADDRESS
    SQL_HASH_VALUE
    SQL_ID
    SQL_CHILD_NUMBER
    Check this to see the last executed sql in your database , make sure you connect to right database with right schema
    Last executed sql

  • Changes made in RFC is not reflected in data services

    Hi,
    I am using a data service based on SAP R/3 RFC in my view
    In my RFC i have some import parameters
    and some export parameters
    and when place a data service which is based on this RFC on the view  for the first time , I am getting the import parameters and export parameters correctly
    but the issue comes
    when ever some one make changes in RFC and activating it again.
    those changes are not reflected in data service (ex: a new import parameter is added or a parameter name is changed  in the RFC, this is not reflected in data service)
    i tried with deleting the existing data service and creating a new data service based on modified RFC
    but even iam getting the data services details as pervious one ( as old data servie which  i used at firt time)
    why this is happening
    how to solve this issue
    regards
    Srinivas

    Hi,
    Yes you need to restert the J2EE engine. Because when you  imort it first time then it holdes it in cache  memory. It will not be updated untill you restert the server. You restert the server then try it , you will get the right result for updated RFC.
    Thanks
    Chandan

  • Changes made in jsp are not reflected

    webpages are not reflected after modifying jsp pages
    what i need to do??
    thanks in advance

    Hi
    Thanks for your reply,
    I am using CQ 5.5 and was installed service pack 2.
    1. We make package from SVN or through maven build to the CQ dev server.
    2. JSP changes perfect but /var/classes java files contains old code(i.e new JSP file complitation is not happening )
    3. Only when we restart server, /var/classes reflecting with new code other /var/classes have old code only.
    What is best procedure to re-compile JSP with out Restart server.

  • BMM derived logical column - bounced visit

    In Web Metrics, a "bounced visit" is when a session views only one page on a website and then leaves. In my fact table, I capture the "total pages" viewed for each session and I define this metric in my Business Model with an aggregation rule of "sum". I'm trying to use this metric to derive the "bounced visit" metric but I'm running into issues.
    Session ID Total Pages
    1179860475     5
    1179861625     1 <= This is a bounced visit
    1179861920     7
    1179866260     2
    1179868693     13
    If I define "bounced visits" as
    CASE WHEN "total pages" = 1 THEN 1 ELSE 0 END
    What I see in the session logs is:
    CASE WHEN sum("total pages") = 1 THEN 1 ELSE 0 END
    The aggregation of the "total pages" is being done first and then the derived metric is being calculated. This leads to incorrect results. Is there anyway of solving this in the business model? I know that I can go back to the ETL, calculate a "bounce visit" metric, store it in the fact, build out aggregates, etc. I was looking for a short term solution.
    Other things I've tried:
    1) make a copy of the "total pages" column and turning off the aggregation, call it "total pages - no aggregation"
    this leads to queries of the form:
    select distinct T22583.TOTAL_PAGES as c1
    from
    WEB_SESSIONS_A1 T22583
    order by c1
    2) Create a logical column based on "total pages - no aggregation"
    bounced visit = CASE WHEN EnterpriseWarehouse."Web Sessions"."Total Pages - no aggregation" = 1 THEN 1 ELSE 0 END
    This leads to [nQSError: 14020] None of the fact tables are compatible with the query request Web Sessions.bounced visit.

    Cool. I now have two approaches to solve the problem. Thanks for your help. Using your technique, the new logical column shows up in the Logical Table Source screen and I can define an expression for that logical column. The second approach leaves the table type as a Physical table. This has some benefits as I've noticed that the queries that are generated when the table type is defined as a Select statement end up retrieving all of the columns, even though I only needed to act on one of them.

  • Derived logical column using Row values in OBIEE11g

    Hi Experts
    I have a requirement whereby I need to create say 100 new logical column in obiee using the row values of one dimension.
    For eg. say I have dimension values like A and B in one of the table ,  I need to create logical columns like C=A+B and D = A/B and E = AxB as such when the user drags this to the analysis the calculation should happen automatically.
    The problem is they are in the rows and not the coulmn , so I can't do plain calculation like sales per Unit = Sales/Units - as Sales and Units are two differnet measure column.
    How to achieve this in RPD.
    Regds

    Hi
    Pls. find below the examples :
    You have a dimesion called KPI which has soem KPIs.
    KPI           Measure Values
    KPI1          10
    KPI2          20
    KPI3          50           
    etc
    Now I need to calulate a driven KPI i.e KPI10 which is KPI10 = KPI2/KPI3 , and I need to do that in RPD.
    I know I can do it in Front end analaytics by using Pivot or Selection steps . But I want to do it in RPD.
    Regds

Maybe you are looking for

  • Anyone's mini throw up this video pattern?

    Brand new Mac mini 5,1 running 10.7.2. Randomly, it will crash every few hours and throw up this semi-checkboard pattern on my monitor, which is a Samsung 2333SW. The dark areas are approx. 2" x 2" and they're made up of a series of horizontal 1/4" l

  • How to change name of AX in iTunes

    I changed the name of both of my AXs via Airport Utility, one named 'Living Room' and one named 'Shop', now when I open iTunes to stream AirTunes, they are both named as 'Living Room', so therefore I cannot select one of the AXs, since it thinks it's

  • How to use bind_variable for connectivity between Oracle and SQLServer 2005

    The code specified below could be used as an example of how to call a remote SQLServer 2005 procedure from Oracle. The problem I am facing is that I am not able to use the dbms_hs_passthrough.bind_variable without exceptions. Could someone help me ou

  • Quesiton about jme development with eclipse

    hi, I am using eclipse for jme development with sun's wirless toolkit 2.5 . the jad file MIDP version field is MIDP 2.1 due to which i am unable to install this file on Nokia phone (E70). I unable to find how to solve this problem . I can install the

  • Disable Reconciliation event similar to deleteDetectedAccounts

    Hi, I would like to know whether there is any method or functionality we can use to create a reconciliation event of type "Disable". Currently we are using "deleteDetectedAccount" method in tcReconciliationOperationsIntf and it is deleting the accoun