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!

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

  • 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.

  • 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.

  • Creating a cube for 2lis_11_vasth data source

    hi everyone,
    i am quite confused on how to create a cube for an r/3 data source for ex: 2lis_11_vasth. do i have to create my own cube by defining the individual info objects for each field or can i do it in business content? please let me know the procedure on how to do it in business content.
    thank you very much

    Hi Vidyarthi
    2LIS_11_VASTH updates Info Cubes 0SD_C13 (Service Level: Orders) and an ODS object , 0SD_O03 .
    You can install the required Objects from Business Content and check with your client requirements and decide if you require any Customization .
    Hope this helps.
    Cheers
    Raja

  • Creating stored outlines for date datatype bind variable

    While trying to create stored lines for a query having date datatype I get
    ORA-00932: inconsistent datatypes: expected DATE got NUMBER error:
    desc table_t1;
    col1 number,
    datecol date
    CREATE OR REPLACE OUTLINE TEST FOR CATEGORY TEST
    ON
    select * from table_t1
    WHERE T1.COL1 IS NOT NULL
                                          AND T1.DATECOL BETWEEN TRUNC (:D1)
                                                                   AND TRUNC (:D2)
                                                                       + 1Can someone please help me what am I doing wrong?
    I also tried to declare variable of date from sqlplus but it seems sqlplus doesn't have any support for date datatype var declaration as bind variable.
    Thanks
    Kev
    Edited by: Kevin_K on Jan 3, 2011 4:48 AM

    I think in this case you would have to take an approach like this:
    alter session set set create_stored_outlines=true;
    run your sql-statement (with a date bind variable), using anonymous plsql block.
    alter session set create_stored_outlines=false;
    Not sure though. It's been a while since I played around with outlines.

  • How to modify formula for the calculated measure in a cube.

    Hi,
    I need to modify formula for some measures within a cube, What would be the best way do that? In the obj view if I update the formula and compile, it does seem to reflect in the model view.
    I cannot delete and recreate the measures deletion and recreation would change the order of the measures which i do not need.
    Appreciate your inputs. thanks

    Yes thats true it desnt change in the AWM front end if you change the formula in object view but it would show you results according to the new formula.
    If you want AWM to show the correct expression in the front end then the way out is to change in the XML and reimport the xml.
    Thanks,
    Brijesh
    Edited by: Brijesh Gaur on Nov 18, 2009 5:51 PM

  • Steps for creating a SAP Remote cube.

    Hello Experts,
    Can you anyone list the steps for creating a SAP Remote cube please?
    Any step by step guide will be of really great help.
    Thanks in advance.
    Regards,
    Kumar.

    Creating VirtualProviders Based on Data Transfer Processes Locate the document in its SAP Library structure
    Prerequisites
    If you are using a DataSource as the source for a VirtualProvider, you have to allow direct access to this DataSource.
    Procedure:
           1.      In the Data Warehousing Workbench under Modeling, choose the InfoProvider tree.
           2.      In the context menu, choose Create VirtualProvider.
           3.      As the type, select VirtualProvider based on data transfer process for direct access.
    In terms of compatibility, a VirtualProvider that is based on a data transfer process with direct access can also be connected to an SAP source system using a 3.x InfoSource.
    The Unique Source System Assignment indicator controls whether this source system assignment needs to be unique. If the indicator is set, you can select a maximum of one source system in the assignment dialog. If the indicator is not set, you can select multiple source systems. In this case, the VirtualProvider acts like a MultiProvider.
    If the indicator is not set, characteristic 0LOGSYS is automatically added to the VirtualProvider when it is created.  In the query, this characteristic allows you to select the source system dynamically: In each navigation step, the system only requests data from the assigned source systems whose logical system name fulfills the selection condition for characteristic 0LOGSYS.
           4.      Define the VirtualProvider by transferring the required InfoObjects. Activate the VirtualProvider.
           5.      In the context menu of the VirtualProvider, select Create Transformation. Define the transformation rules and activate them.
           6.      In the context menu of the VirtualProvider, select Create Data Transfer Process. DTP for Direct Access is the default value for the DTP type. Select the source for the VirtualProvider. Activate the data transfer process. See Structure linkCreating Data Transfer Process for Direct Accesss.
           7.      Activate direct access. In the context menu of the VirtualProvider, select Activate Direct Access. In the dialog box that appears, choose one or more data transfer processes and select This graphic is explained in the accompanying text Save Assignments.
    Check this for little extra info:
    /thread/142088 [original link is broken]

  • Loading measures to a cube

    hi
    How to load measures to a cube.
    I created a cube, validated and deployed successfully.
    I am loading only a single measure from a table, but it does not load anything.
    even the keys of the dimensions are not in the database table.
    do i need to map on the measure to the proper row in the cube or i also need the keys to be mapped?
    regards
    Arif
    P.S. I am unable to include a screen dump in the forum, how to do it?
    Edited by: badwanpk on Nov 4, 2008 2:36 PM

    Yes, you need to build a row for insertion to the fact by joining your source tables.
    At the moment you are building a Data Mart/Star Schema (fact and dimension tables i.e. a cube), this Star Schema will be used for reporting i.e. no need to go back to the source. Ultimately, this could grow into a Data Warehouse that has dimensions and facts populated from many sources allowing reporting across your whole organisation rather than a single application. The dimensions are likely to contain far more descriptive i.e. text attributes than the source systems and will be used to constrain your reporting queries.
    I suggest reading some articles/books by Ralph Kimbal, they should give you a good overview of Data Warehousing and Dimensional modelling.
    http://www.kimballgroup.com/html/articles.html
    Si

  • 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

  • Error as unit of measure PC not defined for language RO while creation ofPO

    Hi GUYS,
    When am trying to create a PO in ME21N transaction i got error as below,
    unit of measure PC not defined for language RU
    Message no. 06079
    Table 006A contains no entry for this unit of measure
    Please let me know what action to be taken from my side to over come this issue.
    Note: If i check the related vendor i could able to view that the language maintained as RU.
    Cheers,
    Kumar.S

    Hi Jurgen,
    Thanks for your reply once again.
    As mentioned by you earlier i have tried to login with languae RU in Q system but unfortunately i got an error saying taht language not installed.
    Also we found for Language - EN and UOM - PC has been maintianed in T006A table.But if i check for lanugage - RU and UOM PC combinatoin has not manintaned in T006A table.
    Please let me know how to maintain the values in this table T006A for combination Lang - RU and UOM - PC.
    Please revert back with your soilution.
    Note: I have tried in SM30 but failed due to below error
    The maintenance dialog for T006A is incomplete or not defined
    Cheers,
    Kumar.S

  • Unit of measure PCS not defined for language FR

    Dear Gurus,
    I try to raise a PO in ME21N, when saving the order, I am being prompted by the system with the following message:
    "Unit of measure PCS not defined for language FR"
    I then went to MM02 to check the material master data "Sales Text" Tab.
    There the only language available is English, so I clicked on the "Language Maintained" Tab and created a new language for French.
    The problem is that when I want to save the changes, the system prompts me with the following message:
    "Blank texts exist in the following languages: French and English, these texts will be deleted"
    Then the Material Master Data closes and no changes have been made.
    Can you please guide me through step by step of what I have to do to be able to populate the field "PCS" for pieces in French so that it is taken into account in the Material Master Data and by extension in a PO.
    Thanks for your help.
    KInd regards
    Chris

    Hi Chris,
    Goto T code CUNI. In the first screen click on GOTO-Translation-dimension.
    Enter EN in Source language and FR in Target.Maintain the entry there.

  • Unit of Measure TON not defined for language PT ?

    Hi all,
    I'm new to MM and to SAP in general and I have 2 questions for now :
    1. I have a requisition which is set up using unit of measure TON. When I try to create the PO, an error message pops up saying " Unit of measure TON not defined for language PT ". Do you know what does language PT means and why does this error appears? When I try to convert the TON into TNE, the same message pops up : " Unit of measure TNE not defined for language PT ".
    I also can not convert TON into EA...any ideas why?
    2. How can I see the total value of a PO that has many lines ?
    Thank you very much
    Iuliana

    Hi
    Is this error  "" Unidade de medida *** não definida em idioma PT ""
    appearing only when you select Ton, or any other unit.
    pl. clarify.
    I have seen that you get this message when your loging Login language is Portuguese.
    Any how Configuration of units needs to be checked in
    Spro >General setting > check Units of measurements ,
    ( or pl. use Tcode --  Cuni )
    I also can not convert TON into EA...any ideas why?
    can you give me some more inputs, what erro are u getting ?
    2. you can see the total Po. values in Po header details
    under status tab view.
    if my soln is found usefull
    Pl. award me points
    Thanks
    Prasanna kumar .b.a

  • Advantages of using Virtual cube & Multi Cube for Reporting

    Dear all,
    Can you please explain me the advantages of desiging Virtual Cube with services & multi Cubes for Reporting.
    Thanks in advance
    Thanks & regards
      Sailekha

    Hi sailekha;
    Pls go through the link below:
    http://help.sap.com/saphelp_nw04/helpdata/en/62/d2e26b696b11d5b2f50050da4c74dc/content.htm
    For the multi-cube;
    you can create a reports out of different infoprovider...let's say you have infocube for actual and another for plan...you can create a report to see actual and plan both...
    Hope this helps.
    BK

  • How to create a vi that counts for example 3 - 10 pulses in and then give a 1 puls out

    how to create a vi that counts for example 3 - 10 pulses in and then give a 1 puls out.
    I'm working with Labview 6.1
    Running with Labview 6.1
    Fieldpoint hardware

    Hi,
    You should be more specific, what kind of hardware you are using ???
    Which kind of pulse you are measuring ?? You are saying that you want to count a number of pulses and then when you get to a limit (which will be between 3 and 10) you want to output a pulse ?
    Andre Oliveira

Maybe you are looking for

  • BADI for Address Check in PA30 in ECC6.0

    Hi Friends, Is there any BADI for Address Check in PA30 in ECC6.0 similar to what we have in BP transaction in ECC6.0. Thanks, Pradeep

  • Cancelling MRM taking too much time.

    Hi all, We have a 10.1.0.4 Primary 2- Node RAC database & a Physical standby. The standby database will be in Read -Only mode, for reporting, for most for most of the time & will be put in MRM daily in the night for 4 hours. Since last few days we ar

  • Need guidance for impdp

    Hi all, I have a situation here. I am a table dump from production which i need to import in the test database. In the production the tables are having some constraints,indexes,triggers etc the test databases also have the triggers,constraints and in

  • Where is the zion and female to male effe

    In x-fi where is it ? is it gone why?

  • Custom field accepts unlisted values

    We have a customer filed "location" maintained in coding block. The values of this field are maintained in Z table. While making entry to this filed, it accepts invalid / unlisted values as well. If location Pune is not maintained in Z table, still i