Defining keys in OBIEE

Hello all,
To make a long story short..... I have a fact table with different values (GL_BALANCES) which are pointing to different dimension tables. One of the columns look like this:
0201
0404
040*B* (!!!))
Notice the 040B. The B in this ID will actually cause big problems since I am using level based measures. When it says 040B it will give the wrong result for all rows, when I change it to for example 040 (removing B) it gives the corrrect result for all rows. E.g. having a letter in the ID/KEY will generate an erroneous result in Answers (I have chekced that the SQL is fine and fetches correct values) .
Anyone know why this is the case and is there anyway to make it work with letters in the key?? I used a lot of time finding this error since the fact table has 4-5 million rows.

I found the problem. The hierarchy was the problem. Seems to be extremely sensitive about the sorting.

Similar Messages

  • Defining Key -field and data fields

    Hi all
    i have to define Key-Fields and data-Fields for a DSO(say DSO3).
    DSO1 is a combination of DSO2 and DSO3..
    DSO1 and DSO2 are SAP defined DSOs.
    DSO3 is a User defined DSO.
    my assumption:
       DSO3 has 30 fields
       DSO2 has 16 fields.
       can i create the DSO3 with remaining 14 fields which is there in DSO1?
       or i have to create the DSO3 with 30 fields(all DSO1 fields).
    can any body explain....
    Thanks & Regards
    krishna

    The problem is not how many fields you create where, the issue is where is the data is going to come from.
    Since you data is going from DSO3 to DSO1and if the field is already getting populated in DSO1 from DSO2, then you don't have to worry about populating those fields again, unless and otherwise you want to overwrite them.
    Remember any fields exist in both DSO3 and DSO2 which overlapping will be overwritten by the latest update.
    Again, going back to your question, you should consider does your datasource has missing fields (14 of them).
    thanks.
    Wond

  • How to define keys in target DSO

    hi gurus!!
    ..can you please extrapolate on how to define key in target DSO and transformation logic.. (please refer to below discussion from for scenario from earlier posting)
    thanks in advance
    I have data from 3 datastore objects which I need to update one infocube. However, I need the data to come together to form one line per record. I've found that if I update the cube directly from the 3 DSO I get 3 lines rather than one, and if I update them all to a DSO and then to the cube, the same thing happens because I take the data from the change log.
    If I go via an InfoSet, I can not do a delta upload to the cube.
    I need this to run a min of once an hour.
    Any tips or advice would be greatfully recieved.
    Thanks
    Alice
    answer:::::
    You need to have an common key fields set in all of the three transformations.
    In your case it is probably:
    The key in target DSO is: k1..k3
    ODS1 - updates key k1, leaves k2, k3 empty
    ODS2 - updates key k2, leaves k1, k3 empty
    ODS3 - updates key k3, leaves k1, k2 empty.
    If you have it that way, you will end up with three records, instead of one.
    k1, empty, empty
    empty, k2, empty
    empty, empty, k3
    To resolve this, all of the source DSO must be able to determine and set a common key part in the transformations.
    Target ODS:
    Key K1,
    ODS1 - updates K1, key figures/characteristics from ODS1
    ODS2, updates K1, key figures/characteristics from ODS2
    ODS3, updates K1, key figures/characteristics from ODS3
    result:
    K1, key figures/characteristics from ODS1, then
    K1, key figures/characteristics from ODS2 - result is - previous record's key is overwritten, but the key figures/characteristics are mapped to the correct infoobjects (depending on how you set the transformation....)
    K1, key figures/characteristics from ODS3 - as for ODS2.
    The final result:
    K1, key figures/characteristics from ODS1, key figures/characteristics from ODS2, key figures/characteristics from ODS3.

    Hi,
           As thomas said you maintain your keys same as your source DSO's  in the target DSO.This is how the procedure goes when no specification for the keys are given.So maintain same keys which are in the sources.
    Regards
    Karthik

  • Launch programs with User defined Keys?

    Im using 10.6.4 on a Macbook Pro and on the 1 screen im using 3 different programs at once (2 music programs and Parallels / Windows Program)
    Is there a quick way to flip between the 3 very quickly as I like to view all 3 very quickly and chop and change between them on the Macbook Pro screen
    I use Apple + Tab but this gets tedious trying to flip around between them going left and right
    Does 10.6.4 allow you to user define keys to certain programs so you can launch and they become active?
    ie: F1 - launch program 1, F2 - Launch Program 2 etc
    So 1 button push makes a certain program active?
    I was used to Windows, whereby everything stayed in a dock at the bottom and you could just launch any program at any time
    I love Mac OS X but the only way I can find is either the Apple+Tab which gets tedious, or a Hot corner which i have set up and "spreads out" the programs : then again with hot corners your still having to chase around all your open windows!
    Is there a quick easy solution for having up to 3 programs at once and instant access that I don't know about? With audio editing, i chop and change edits to see how they fit between programs so this would be invaluable
    I'm pretty sure OSX would have something under the bonnet to do this?
    Thanks

    pitchfork wrote:
    I was used to Windows, whereby everything stayed in a dock at the bottom and you could just launch any program at any time
    Hi,
    Um, so far as I'm aware this is the same behaviour in OS X. Launched programs that are not added to the Dock are appended to the right of the Dock, but applications in the dock do not move randomly - unless you count the fact that the Dock expands to include newly-added or -launched applications. To achieve what I think you're referring to, simply add the applications you use frequently to the Dock permanently, and use the same behaviour you were accustomed to in Windows to switch applications.
    However, if you want to create a simple keystroke to switch to another application (whether open already or not), then try creating a new Automator Service to activate a given application, and assigning a keystroke to it. I've never actually created a working Automator action before, but I believe the following should work:
    1) Launch Automator
    2) Select "Library" in the left-hand column, and type "Applescript" in the search box.
    3) There will be only one result, "Run Applescript." Drag this into the right-hand column.
    4) Copy and paste the following script to replace the words "(* Your script goes here *)":
    tell application "Amadeus Pro"
    activate # switch to your application, launch if necessary
    end tell
    5) Replace "Amadeus Pro" with the name of the application you want to switch to. KEEP the inverted commas.
    6) Make sure the drop-down menu in the top-right is set to "any application."
    7) Choose "Save" from the File menu, and assign an appropriate name; this is how your Service will appear in the Services menu. You can now close Automator.
    8) Finally, assign a shortcut in System Preferences » Keyboard » Keyboard Shortcuts » Services.
    Give that a shot and see whether you're happy with it. Rinse and repeat with the names of the other applications if satisfied
    Hope that helps,
    S.

  • Flexible Planning:User defined Key Figures

    We had created custom fields and included in custom table to be used in field catalogue.Canwe view this table as source table ?If so what has tobe done to view this as source table?

    Dear colleague,
    it depends on which application do you use. Each Module has its own table to introduce the customer fields. PLease follow the below stps which are an exmaple for PM module. IF you work with other application , you have to find the Append in which introduce your fields.
    For example:
    MM uses  MCBEST or MCMSEG,--> MCMSEGUSR
    PP uses MCAFKO or MCAFPO..>MCAFKOUSR
    SD uses MCBVAP-> MCVBAPUSR , MCLIPS, MCVAK,
    Find the useful include of your application,
    Once you have the valid table to introduce the fields, you can use the following steps for you application instead of PM:
    If you want to update key figures as self-defined value or quantity key figures in the  Information System, you must define them as fields in the communication structure MCIPMCO based on the data elements you have already defined. Because you should not change the communication structure MCIPMCO as a SAP standard object, you must define an append structure for the structure MCIPMCOUSR, which contains all self-defined key figures. You can make this definition in the data dictionary.
    Procedure
    Choose the menu bar sequence Tools ® ABAP Workbench ® Development ® Dictionary on the SAP initial screen.
    This brings you to the initial screen for the Dictionary.
    Select Structure and enter MCIPMCOUSR.
    Choose the menu bar sequence Dictionary object ® Change.
    Choose the menu bar sequence Goto ® Append Structures on the Structure screen.
    A dialog box appears.
    Enter the name of the append. Make sure that the name of the data object begins with Z as defined in the naming convention for customer objects.
    Choose Continue.
    On the screen Table/Structure: Change Fields, you can enter the description of the append and define the fields. You should ensure that the names of the fields begin with ZZ and contain no more than 10 characters. Use the active data element you have created to define field meaning and attributes.
    As these are either quantity or value fields, you must maintain the reference to a unit. Position the cursor on a field name and double click. Then enter the following data:
    Reference table: MCIPM
    Reference field: WAERS
    If the field has the data type CURR.
    Reference table: MCIPM
    Reference field: SUNIT
    If the field has the data type QUAN.
    Choose Copy.
    Choose the menu bar sequence Table ® Activate if you have edited all fields.
    I hope it helps.

  • [39001] Logical table TABLE has no defined key

    Hi Experts,
    When i am doing the consistency check in BMM layer it is showing an warning message that
    *[39001] Logical table fact has no defined key.*
    also it is showing fact as dimension table(i.e. it is showing the fact table as white colour).
    how to clear this warning .
    Thanks in Adavance,

    Do ensure that, Is there any snow flake schema.
    a is the dimension of fact and fact is the dimension of b, so b alone is the real fact table.
    a->fact->b
    In this case fact will be in white color and b alone in yellow color.
    Regards,
    Anitha.B

  • User defined keys on Msoft laser 5000 launches wrong programme

    Running Firefox 4.01 and Fast dial 3.4, pressing user defined key 1, which is set to open office calc.exe. opens itunes.exe

    It doesn't sound like a Firefox problem somehow. See http://support.microsoft.com/kb/303091

  • Use of New logical Level Key in OBIEE

    Hi all,
    can anybody tell me what is the use of newlogicallevel key in hierarchies(OBIEE).
    why we need to set a newlogical level key for each level in hierarchies.
    pls explain in detail....
    regards
    bharath

    You may get info as below if you use Admin tool help file
    Level keys. Each logical level (except the topmost level defined as a Grand Total level) needs to have one or more attributes that compose a level key. The level key defines the unique elements in each logical level. The dimension table logical key has to be associated with the lowest level of a dimension and has to be the level key for that level.
    A logical level may have more than one level key. When that is the case, specify the key that is the primary key of that level. All dimension sources which have an aggregate content at a specified level need to contain the column that is the primary key of that level. Each logical level should have one level key that will be displayed when an Answers or Intelligence Dashboard user clicks to drill down. This may or may not be the primary key of the level. To set the level key to display, select the Use for drill down check box on the Level Key dialog box.
    Be careful using level keys such as Month whose domain includes values January, February, and so on—values that are not unique to a particular month, repeating every year. To define Month as a level key, you also need to include an attribute from a higher level, for example, Year. To add Year, click the Add button in this dialog and select the logical column from the dialog that is presented.

  • Define key figures -incoming order, invoiced sales and credit memo in BW

    Hi everyone,
    I combined two ODS into one ODS from 2LIS_11_VAITM & 2LIS_13_VDITM. I want to generate reports that contain net value, cost of incoming order, invoiced sales, and credit memo'(SD module).
    I tried to create some calculated key figures in BW that contain the net value and cost of incoming order, invoiced sales and credit memo. However, i couldn't find relative fields to define them.
    Can anyone provide help regarding how to create those key figures in BW? Thank you.

    Hello John,
    I think the best way to check it out is by looking at the business content. There might be mapping already defined for the fields you are looking for. The one standing out is perhaps the net value 'ONET_VALUE'.
    Please try to use as much of content KF as possible. A good approach to finding the right info-objects is by searching the business content by info-sources and marking the grouping as 'Collect before and afterwords', it should list down all the dependent info-objects.
    Hope that helps.
    Cheers, Ashu

  • Defining keys on user defined tables

    Regarding tables of type 'lines' (in document or master data).
    I want to define a unique key for the DocEntry fields and some other user-field (so I could restrict the user to add only 1 type of line for each master record), but the problem is that keys can be defined only on the user-defined fields.
    Is there any way around this?
    I can easily go to the SQL manager and add this unique index myself, but will that harm my SBO system in any way?

    Hi Avi,
    A formatted search is a customization functionality in SBO that doesn't require SDK to work. It allows a field to be selected from a list of values that you can enter or query. It also allows you to display in that field an automatic values that triggers when a value in other field changes. More information in product training :).
    It has some limitations, but using it smartly can be very helpful. A very basic way to use it is copying a value from one field to another (like DocEntry or Code). In a default form it'd be like $[$3.DocEntry], where 3 is the ItemID and DocEntry is the ColumnID. You save it in the query manager, and the focus on the field you want to assign the formatted search and do it using AltShiftF2. Anyway have a look at the official SBO training.
    Hope this helps,
    Ian

  • Self-Defined Keys on Lenovo G550

    I found the utility (in EnergyManagement / Self Defined Program settings) and was able to define a key, but how do I invoke the key?? I see the Fn key on the keyboard but I don't understand how to use this feature.
    I can't believe I need to ask this question, but I'm stumped.
    Thanks,
    David

    hi Avikiru,
    Welcome to Lenovo Community Forums!
    Can you try,
       Remove the AC and the Battery
           Hold the Power Button down for at least 15 sec.
                  Reconnect just the AC and see if that'll work
    If not You can contact a Lenovo Support Team or a Local Technician to have the Keyboard connection checked.
    Regards
    Solid Cruver 
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Defining Keys/Joins in the physical layer

    When the keys and the join conditions are defined manually using a table's Properties dialog box in the Physical layer, do these keys or joins also get defined in the database automatically? My understanding is that it does not get created in the database. So what I am trying to understand is - once the joins are defined in the RPD physical layer, do I have to then define the indexes/constraints in the database as well?
    Thanks,

    803309 wrote:
    When the keys and the join conditions are defined manually using a table's Properties dialog box in the Physical layer, do these keys or joins also get defined in the database automatically? No
    My understanding is that it does not get created in the database. So what I am trying to understand is - once the joins are defined in the RPD physical layer, do I have to then define the indexes/constraints in the database as well?
    Not required. Indexes can be created in DB on joining col for performance purpose only.
    Hope this helps
    Edited by: Deepak Gupta on Aug 15, 2011 10:07 AM

  • Return Key doesn4t make my defined KEY-ENTER trigger to fire.

    I4ve found that the trigger that fires when I press Return is KEY-NEXT-ITEM,but this doesn4t resolve my problem,because the tab key also fires this trigger.
    I want to navigate within textitems with the tab key and that when I press return key make an action on the values entered in the items.
    mila, PJR

    You have to perform key mapping to get the Key-Enter trigger to work.
    Open your forms90\fmrweb.res file in a text editor. Find the line:
    10 : 0 : "Return" : 27 : "Return"
    Change it to:
    10 : 0 : "Return" : 75 : "Return"
    Save the file and run the form again. The key-enter trigger should then fire when you press the Return key, but not when you press the Tab key.

  • Defining keys for the web

    Can anyone please let me know if it is possible to redefine keys for web forms. I can do this for the client/server version of the application but no for the web application.
    I have tried editing the FMRWEB.res file but cannot access it using Oracle Terminal.
    Any suggestions/assistance would be appreciated.
    Thanks,
    Dave

    You can directly open the FMRWEB.RES file in your editor (Notepad or Wordpad) and then change the keys according to the example shown in this file. You need not use Oracle Terminal.
    Good Day,
    Abhijith Unnikannan,
    Oracle Support Services

  • Calling user defined functions through OBIEE

    Can anyone tell me how I can call the user defined functions on database through the new BI tool.
    The idea is to collect certain parameters through the prompt when launching the request, the function is supposed to pick up the parameters, make a certain calculation, and return a value.
    I wrote the function, I just need help over how to call the function through the BI tool - that was pretty easy in the old Discoverer.
    Thanks.
    Message was edited by:
    user611377

    Hi Kresimir ,
    You can use EVALUATE function to call a user defined function.
    EVALUATE('FUNCTIONNAME(%1,..)' As DATATYPE,parameter1,...)
    Here DATATYPE is the returntype of function.
    Hope this will help.
    Thanks
    Ashok

Maybe you are looking for

  • Photoshop elements 11 and premiere elements 11

    i have just picked up adobe photoshop elements 11 & adobe Premiere elements 11 and when asked for the serial number it comes up with invalid serial number and i have tryed both what can i do,

  • Dispatcher service is yellow and unable to start visual admin.

    Hello all: Here is my new problem. Everything was going fine untill I finished the post installation activites on PI7.0. I am not sure if I missed any step or not. After the changes I stopped the instance and restarted it and the "Disp+word.exe" is y

  • Forms Builder 10g Crashes after opening R12 .fmb

    Hi, I'm trying to open Oracle apps R12 .fmb from Oracle forms 10g(Forms [32 Bit] Version 10.1.2.0.2 ). It errors out with the following error : "Oracle forms Designer has stopped working". I checked metalink for this error no luck. Thanks, Kiran

  • Quicktime in full screen

    Hi i'm new to mac. owner of a imac I'd like to know how to get quicktime to play in full screen mode without buying the pro version.

  • Videos for itune

    I am not able to transfer videos to ITUNE, I dont know why i teid everything snd its not working. i change the format I change everyhtign still I cannot drag and drop. who do I talk to and who can fix this for me? I want to transfer my dvds and other