Creating Measure

Hi All,
I am new for OBIEE. I have one requirement please any one help me.
I have a measure with the name of P_Amount. That have Jan 2009 to Jan 2010 data.
My requirement is, i have to create a measure that should have April 2009 to Jan 2010 data only. So how to create measure for that in repository and in answers.
And one requirement is:
I have a date field with the format DD-MM-YYYY HH:MM:SS. And i would like to change that format to DD:MM:YYYY. So please tell me how to change the format.
Thanks in Advance
Raj
Edited by: user8949151 on Mar 9, 2010 1:45 AM

Hi,
If you want in repository than for your logical table source of your fact go to content and there is where clause... Filter your fact as you need...
But in this case if you want to see those fact in answers allways it will be filtered...
If you want in answers or dashboards create a prompt for mounth level with between and set in your report to is prompted...
For second problem in answers go to column properties -> data format -> check 'Override Default Data Format' -> find the format that is closer to what you need
then select 'Custom' and then override with exactely what you need...
Finally click on button save and select 'system wide ...' for that case that you need that column or that data type...
If you find this usefull, please be free to award points
Regards
Nicolae

Similar Messages

  • How to create Measures for count on Flag colums in FACT with a CONDITON

    I have about 6 flag columns in my fact table and I would like to create measures in my report with count as aggregation on these flag columns with a group by on a condition.
    I am able to do this very easily with SQL query but am really stuck with on how to achieve this in OBIEE.
    Each of my measure should be to do an aggreagation of count on the flag column with a condition such as is flag true/false.
    Eg:
    Measure1 - Select count(INV_ID) from payments_f where Flag 1 = "TRUE" and Flag2 = "FALSE" GROUP_BY (COLUMN1)
    Measure2 - Select count(INV_ID) from payments_f where Flag 2 = "TRUE" and Flag3 = "FALSE" GROUP_BY (COLUMN1)
    similar conditions for all the flag columns.
    I tried to write the where condition in the Content tab of the Logical table but unfortunately it does on the table level - which was not very helpful to me
    I really appreciate if some one can help me on how to achieve this.
    Thanks in Advance

    You need to create a new logical column in your existing logical table. Then you need to set the physical mapping to:
    CASE WHEN FLAG1 = "TRUE" AND FLAG2 = "FALSE" THEN 1 ELSE 0 END.
    Set aggregation rule to Sum.
    Regards,
    Stijn

  • Looking for Idoc / BAPI to create measurement document in PM IK11

    Hi All
    I am working on interface development wherein I need to use a BAPI or IDOC or combination of both to create measurement document in PM.
    Do you guys know how can we do it easier way. Is it that I can post idoc directly or need to post it using a BAPI.
    I am trying to avoid any BDC or CT for this purpose. Please guide on how to do that.
    Amol

    I don't find them listed in the BOR, but look at function modules named like: BAPI_MP*.
    You might be able to utilize these for both the measurement point and the measurement document.  At another assignment, I had a situation with IDOCs that could call up to 12 BDC/CT sessions, etc.  I wrote a function module that was triggered by the inbound IDOC start process, and I utilized BDC and CT to do the IK01, IK11, etc.  Using a BAPI would have been better, but the code was really pretty simple for the measurement stuff, since the transactions are simple and easily recorded.

  • Create Measure Folders with Oracle Warehouse Builder

    Hello,
    Is there a possibility to create Measure folders (similar to what Analytic Workspace can do) but with Oracle Warehouse Builder?
    Thank you,
    Liviu Florean

    Hi Liviu
    Unfortunately not. OWB generates a measure folder for the entire cube by default for deployment to AW. If you are keen, you could create an expert to generate/deploy the measure folder (define a UDO for a measure folder and an expert to generate the code for AWXML).
    Cheers
    David

  • Universe design creating measure issue

    Hi All,
    I created measure in an universe and exported to WEBI. While running WEBI report with the universe, it is giving invalid data, Instead of displaying values it is displaying #DATATYPE.
    Thanks,
    Poorna

    Hi Poorna,
    Can you please try to change the datatype of object at database level. Please check the data type at the universe level as well and cast it to number even if it's datatype is number.
    Please try this and let us know if you face any issue.
    Sahil

  • BAPI to create Measurement Point

    Hi all,
    Can anyone tell me the Bapi to create Measurement Point.
    Thanks
    Sanket sethi

    Do you want to create a measuring point or a measurment document ?
    Measuring points are generally predefined in the config, we can create a measuring document for these measuring points  by using the FM :ALM_ME_TOB_MEASRMNT_DOC_CREATE

  • Error while creating measurment documents for a counter (counter based strategy Plan)

    Dear Experts
    Pl suggest the possible solution for below case
    I have a counter based preventive maintenance Plan of 100km, 200km,.....  with op1,op2,..... respectively.
    Now I have done maintenance for 600 km and going to enter another reading in IK11.
    Here, system is giving error
    Counter reading in doc. 251591 larger than in subsequent doc. 251585
    Message no. IR171
    Diagnosis
    No counter overflow reading has been defined for the measuring point, and the counter reading that you have entered is larger than the one in the subsequent measurement document.
    This is not allowed, since the counter is not marked as running backwards.
    System Response
    Processing will not be continued.
    Procedure
    Check your entries and the counter data of the measuring point.
    screen shot for measurement document earlier created is as

    Hi Akhilesh
    okay . I have not found any error in my last and current reading date and time
    screen shot is attached again here for ur reference
    now, what thing I have to checked, pl suggest.

  • Unable to create Measures dimension in proper relationshipin Essbase Studio

    I am planning to build measure hierarchy in Essbase studio with TBCSample(SQL Server 2005) which is came by default with Essbase Studio installation
    I built the hierarchy with parent child relationship.
    However the hierarchies is not coming in the proper order
    Generally Sales,COGS should come under “Margin ” and it should be under “Profit”
    Eg:      Profit
         Margin
              Sales
              COGS
    However it is showing differently in “Preview” mode.
    Profit
    Margin
    Margin
    Sales
    COGS
    When I deployed the cube I got the below errors because of the duplicate members
    The error file is located on the server at: E:\Hyperion\products\Essbase\EssbaseStudio\Server\.\ess_japihome\data\TBCSampl.TBCSampl_03-29-11_23-16-00.err
    \\Record #6 - Member name (Measures) already used
    Measures Inventory
    \\Record #7 - Member name (Measures) already used
    Measures Profit
    \\Record #8 - Member name (Measures) already used
    Measures Ratios
    \\Record #9 - Member name (Margin) already used
    Profit Margin
    \\Record #14 - Member name (Total Expenses) already used
    Total Expenses Marketing
    \\Record #15 - Member name (Total Expenses) already used
    Total Expenses Misc
    \\Record #16 - Member name (Total Expenses) already used
    Total Expenses Payroll
    Please let me know how to resolve this issue
    Database: SQL Server 2005
    EPM Version : 11.1.1.3
    Thanks,
    SatyaB

    open the minischema and in the graphic go to your measures table. highlight either the parent or child member and right click. select create join. In the screen that comes up, selet the other column from the same table. It will create the join. You wnat an inner join. You can also click on the member and drag and drop the join line to the child member to create the join

  • Creating measure using set operators in BO Xi 3.0

    Hi All,
    I am trying to create a measure like this in BO XI 3.0 Designer.
    Select count(*) from
    select id from table1 where Name=<Prompt Value>
    INTERSECT
    select id from table1 where Name=<Prompt Value>
    But I don't know how to use set operators in Designer.
    Can someone please help or any pointer would help.
    Thanks,
    Kuldeep
    Edited by: Kuldeep Chitrakar on Apr 2, 2009 4:06 PM

    Create a derived table with same SQL and drag the table into universe pane to create object.

  • Measurement range limits in creating measuring point

    Hi,
    i'm creating a measuring point where i need to enter the measurement range limits i.e upper range limit and lower range limit.
    Can anyone let me know where exactly the values are getting stored i.e table
    or any function module available to get lower range limit and upper range limit
    Pls let me know if anyone has any idea
    Thanks

    Hi Taran,
    Could you please tell me how did you load the Upper and Lower limit range for measuring points...
    Thanks,
    Geetha

  • Creating Measure in a cube for Varcha2 datatype

    I am new to OLAP and trying to create some CUBE using test data.
    I have a fact table with timing, productId and country data. I want to create a OLAP Cube with this table. The dimensions I have is Time and Country dimension. The data to be shown must me no of products. count(*). Can anybody tell me how this could be done. The basic idea for showing that cross table.
    Thanks
    Prachi

    Please refer to the OLAP User's Guide 9.2 or 9.2.0.2. Look in the index under Cubes. Good-luck!

  • Creating Measure in Essbase studio

    Hi All,
    I have created a user-defined table(say Table1) in Essbase studio having one calculated column(say Col1), Now when I use this column in another user-defined table like(Table1.col1) its throwing error "+Table or view dosent exist+".
    Is there any way to use the column from one user-defined table in another user-defined table in Essbase studio??
    Thanks.....
    Regards,
    Lolita

    As John said, a user defined table is like a view or more accuractly a processed SQL on other tables. you can join to in in your minschema, but if you need to use the defined columns in another SQL, I suggest you go to your DBAs and have them add your table into the database as a view. It sounds like the need is complicated and is better done at the source.

  • Creating measurement studio control dynamically in VC++7.0

    We downloaded an example from the
    following site:
    <http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3EFE056A4E034080020E74861&p_...>
    We converted the project to VC++7.0
    solution.
    When we tried to create a single
    control it worked fine.
    But when we create the second control
    it crashes.
    void CDynamicControlDlg:nButton1()
            CNiReal64Vector rt;                
            CNiMath:ineWave(rt, 60, 1.0);
            BSTR bstrLic = :ysAllocStringLen(pwchUILic, sizeof (pwchUILic) /
    sizeof(WCHAR));
            m_graph1.Create("", WS_VISIBLE, CRect(110,20,370,200),this, 0,NULL,
    FALSE, bstrLic);
            m_graph1.PlotY(rt);                
            :ysFreeString(bstrLic);              
            ::AfxMessageBox("WAIT for the crash.....");
            BSTR bstrLic1 = :ysAllocStringLen(pwchUILic, sizeof (pwchUILic) /
    sizeof(WCHAR));
            m_graph2.Create("", WS_VISIBLE, CRect(200,120,350,300),this, 0,NULL,
    FALSE, bstrLic1);
            m_graph2.PlotY(rt);                
            :ysFreeString(bstrLic1);    

    Each control needs to have a unique ID, which is what the 5th parameter
    in the Create method is. Try changing the code to the following
    BSTR bstrLic = :ysAllocStringLen(pwchUILic, sizeof (pwchUILic) /
    sizeof(WCHAR));
            m_graph1.Create("", WS_VISIBLE, CRect(110,20,370,200),this, 0,NULL,
    FALSE, bstrLic);
            m_graph1.PlotY(rt);                
            :ysFreeString(bstrLic);              
            ::AfxMessageBox("WAIT for the crash.....");
            BSTR bstrLic1 = :ysAllocStringLen(pwchUILic, sizeof (pwchUILic) /
    sizeof(WCHAR));
            m_graph2.Create("", WS_VISIBLE, CRect(200,120,350,300),this, 1002,NULL,
    FALSE, bstrLic1);
            m_graph2.PlotY(rt);                
            :ysFreeString(bstrLic1);    
    What you were doing was giving two controls the same control ID (0 in
    this case). MFC will assert in this case. I just chose 1002, but that
    value will depend on how many controls you have on your dialog and what
    IDs are available. So everytime you create a new control, make sure you give it an ID that is not being used by another control.
    Hope this helps.
    Message Edited by bilalD on 10-26-2005 09:17 AM
    Bilal Durrani
    NI

  • Create Notification from Measurement Document IK11 (user-exit IMRC0001)

    Hi Experts,
    I have to create Create Notification from Measurement Document (IK11) using user-exit IMRC0001. I have some doubts regarding this.
    1)  what is the function module to create notification from Measurement Document.
    2)  can u give the table name to see Measurement Document.
    3)  where we can see the measuring reading field names to create Measurement Document.
    Thanks.................
    B Z.

    hi check this....
    table for measurement IMRG
    http://help.sap.com/saphelp_nw04/helpdata/en/af/cb5447461411d189f20000e81ddfac/frameset.htm

  • Create single-value measure from a measure array

    I need some education on MDX.. :) I have Measure A which gets calculated across Dimensions Dim X, DimY and DimMonthly.
    is there a way or maybe function to create Measure B derived from measure A but selects only single Measure A value attributed to  LastMonthValue (e.g. relative to today, Nov 2013 for today) and crosses DimMonthly on Nov 2013?
    What should I use
    filter - Filter Nov 2013?
    Tail function with item(0)?
    or create  Measure B based on default named set = Nov 2013
    or it could be done only using SELECT?

    Thank you, I realize that. I was just trying to mimic current report layout, which was not OLAP. As a workaround I just set filter to show certain month (Nov 13) and supplied all metrics for that single month - MTD,YTD, LYMTD, LYTD, AVG, Growth rate, etc.
    Will see what user will say :)!

Maybe you are looking for