Dimension Attributes

Hi
I'm designing a fact table and a dimension table, but the dimension tables are having many level and each level is having many attributes, pls see the following data and pls help me in how to go ahead with this kind of dimension attributes.
A00001 - All
BALANCE_SHEET - Balance Sheet Accounts
ASSETS - Assets
[110000 - 150317]
[151610 - 151620]
[A12110 - A13999]
[A14214] - Short Term Prepaid Assets
[A14999] - Capital Leases
[A15214] - Short Term Prepaid Amort
[A15999] - ACD Capital Leases
FIXED_ASSETS - Fixed Assets
PURCHASED_ASSET - Purchased Assets
PFURN_MACH_EQ - Purch Furniture Machinery Equi
[A14001 - A14003]
[A14099] - Pre-Paid, Maintenance
[A14100 - A14213]
[A14500 - A14900]
PACD_FURN_MACH_EQ - Purch ACD Furn Mach Equip
[A15001 - A15003]
[A15099] - ACD: Pre-Paid Maintenance
[A15100 - A15213]
[A15300] - ACD: Building Improvements
[A15500 - A15900]
LEASE_ASSETS - Lease Assets
LLAND - Capital Lease Land
[A14004] - Capital Lease Land
LINFRA_NONDEP - Capital Lease Infra Non Deprec
[A14005] - Capital Lease Infra NON DEP
LCIP - Capital Lease Cnstruct In Proc
[A14006] - Capital Lease CIP
LBUILD_IMPROVEMENTS - Capital Lease Building & Impro
[A14007] - Capital Lease Bldgs & Improv
LFURN_MACH_EQ - Capital Lease Furn Mach Equip
[A14008] - Capital Lease Furn Mach Equip
LINFRA_DEP - Capital Lease Infra Deprec
[A14009] - Capital Lease Infra DEPREC
LACD_BUILD_IMPROV - Capital Lease ACD Build Improv
[A15007] - ACD Cap Lease Bldgs & Improv
LACD_FURN_MACH_EQ - Capital Lease ACD Furn Mach Eq
[A15008] - ACD Cap Lease Fur Mach Eq
LACD_INFRA_DEP - Capital Lease Infra Deprec
[A15009] - ACDCap Lease Infra DEPREC
LIABILITIES - Liabilities
[201000 - 203000]
[L00001 - L21179]
FUND_EQUITY - Fund Equity
[351000] - AR - WRITE OFF
[370000 - 388890]
[F00007] - Fund Balance: Restricted,State
INCOME_STATEMENT - Income Statement
REVENUE - Revenue
GENERAL_REVENUE - General Revenue
[400100 - 496600]
[900001] - Appropriation Transfer
STATISTICAL - Statistical
[S00001 - S00017]
EXPENSE - Expense
[E10000] - All Expense Accounts
PERSONAL_SERVICES - 1 Personal Services
[E19999] - Point 1 Roll Up
[E51000] - Roll Up For Personal Services
SALARIES - 510100 Salaries
[510100 - 510101]
[510200 - 510201]
thanks

Hi,
Assuming that when you say " have make BP as DIM ID" it means that you have included it in a dimension. Correct?
You can make it as "line item" and you will still be able to report with its NavAttr and even with time dependance (ratings) provided you time dependant attr is NAV.
The only difference between line item dimensions and normal dims is that no dimension table created and you can only have one char in it.
You should do that for a characteristic having very high granularity (number of records posted of your characteristic divided by the total number of records in your fact tables (F and E) ). Usually document/item numbers are in that case (granularity is more than 50%; other will say 20% but I personally think that with 20 the DIM table still reduces the query time).
By not having the dimesion table, a query using this kind of characteristic will select the data directly form the cube fact tables instead of first going to the DIM table, gather DIMIDs and go to the E/F tables...
hope this helps...
Olivier.

Similar Messages

  • 'dimension attribute was not found' error while refresing the cube in Excel

    Dear All,
    Thanks for all your support and help.
    I need an urgent support from you as I am stuck up here from nearly past 2-3 days and not getting a clue on it.
    I have re-named a dimension attribute 'XX' to 'xx' (Caps to small)in my cube and cleared all dependencies (In Attribute relationship tab as well).
    But while refreshing the data in excel client (of course after processing the full cube) I get an error
    'Query (1, 1911) the [Dimension Name].[Hierarchy Name].[Level Name].[XX] dimension attribute was not found' error.
    Here I am trying to re-fresh an existing report without any changes with the new data.
    Does not it re-fresh automatically if we clear the dependencies or there something that I am missing here (Like order of the dependencies).
    Cube processed completely after modifications and able to create new reports without any issues for same data. What else could be the reason?
    Can some one help me here?
    Thanks in Advance and Regards,

    Thnaks alot Vikram,
    In se11  ,when i was trying to activate the  /BIC/FZBKUPC , it is showing the warnings  like
    Key field KEY_ZBKUPCP has num. type INT4: Buffering not possible, Transport restricted.What it means.
    In PErformance Window it is showing like:
    A numeric type was used for a key field. A table of this sort cannot be buffered.When buffering, the table records for numeric values cannot be stored in plain text.
    Procedure
    You can enter "no buffering" as an attribute of the technical settings and then repeat the activation process. The table is not buffered.
    If you want to buffer the table, you must replace the type in the key field by a character type, i.e. that you must modify the table.
    Please adivice with your valueable suggestyions.
    Thanks Vikram.

  • Defining Dimensions, Attribute Hierarchies for a Link Table(Many to Many)

    I have 3 Tables in the Database
    Table 1: Transactions (Fact Table) - PK(TransactionId)
    Table 2: Relationship (Dimension1) - PK(Relationship Id), FK_TransactionId, FK_CompanyId, RelationshipType
    Table 3: Companies (Dimension 2) - PK(CompanyId)
    Table 2: Relationship table is a link table between Transactions & Companies to facilitate many to many relationship. 
    I defined Fact and Dimension tables accordingly but having issues defining Dimension & Attributes for Relationship tables
    Relationship Dimension:
    I have 3 hierarchy groups defined
    Hierarchy 1 - Relation -Relationship Type,Relationship Id(PK)
    Hierarchy 2 - Transaction - Transaction, Relationship Id(PK)
    Hiearchy 3 - Company - CompanyId, Relationship Id(PK)
    Defined the attribute relationship in the following way
    RelationshipID(PK) ---> CompanyId , RelationshipID(PK) ---> TransactionId, RelationshipID(PK)
    ---> RelationshipTYpe
    I am getting incorrect results when I deploy the cube. Not all the types are being displayed only 4 types are being displayed out of 27 types though there exists Transactions for all the Types.
    To fix the incorrect results, I tried to break the Relationship Dimension into 2 dimensions seperating Transaction(Relationship Dim) & Company,Type (Companies Dim). I tried to configure a many
    to many Relationship type between my  Companies Dim & Fact Table Transaction. But I get the error that says 
    "Companies Dim many to many dimension in the Tansaction measure group requires that the granularity of the Relationship dimension is lower than that of the Relationship measure group "
    Any help regarding how to difine Dimensions & Attribute Hierarchies on a Many to many link table is appreciated.

    Hi Jaya,
    According to your description, you are experiencing the issue when implement many to many relationship by using a bridge table in your SQL Server Analysis Services project, right?
    Generally, a bridge table will have a surrogate key for the dimension and a surrogate key to the fact table or a degenerate dimension based on the fact table. Here are some blogs which describe how to implement many to many relationship using a bridge
    table.
    http://bifuture.blogspot.com/2011/06/ssaskimball-modeling-nm-relation.html
    http://www.sqlchick.com/entries/2012/1/22/data-modeling-tip-when-using-many-to-many-bridge-tables-in-s.html
    http://social.technet.microsoft.com/wiki/contents/articles/22202.a-practical-example-of-how-to-handle-simple-many-to-many-relationships-in-power-pivotssas-tabular-models.aspx
    Regards,
    Charlie Liao
    TechNet Community Support

  • Error occurred while creating dimension attributes.

    Hi All,
             I have restored the back up file in the NW 10.0 environment (In BW 7.3 system using UJBR tcode the backup file was colleted from NW 7.5 system). In this process I have got an error "Error occurred while creating the dimension attributes via Admin API" and I have tried to resolve this with the program execution "UJA_ASSIGN_INFOOBJECTS_CATALOG". I am not able to open the Environment after this restore process completion. Could you guide me in this to resolve the issue. Please Let me know if you need more information to understand the issue.
    Thanks and Regards,
    Krishan.

    Hi Nilanjan,
                      I have logged into the BPC system and able to open the APSHELLENVIRONMENTSHELL. When I tried to open a new environment which I have restored in the BW system error like "500-server ". Is this related to Service Pack ? or need to apply any new one to this system. And one more log I have observed in the process of DATA. When I have executed the UJA_DATA_CHECKER there is a message what I have got in this process " InfoObject catalog /CPMB/ENVIRONMENTSHELL_CHAR is not available in version A".
    BW System Details:
                                   SAPK-80102INCPMBPC
    Thanks and Regards,
    Krishna.

  • Using dimension attributes in the Query Builder Bean

    All...
    I am developing an HTML client based tool using the JSP tags. I wish to create a report that selects the appropriate dimension value based upon an attribute.
    But...
    Using the query builder I can not select dimension values based upon dimension attributes. Is this possible? The only use I have found for the attributes is when I am sorting my selected diemsnion values.
    Thanks in advance
    Dylan.

    1. Java Client QueryBuilder has support for selecting dimension members based on an attribute.
    To use this functionality, go to Dimensional Panel -> Conditions tab. Drill on Match group of conditions. The attribute condition appears as the last available condition, but only for dimensions that have attributes.
    To test this, use BIBDEMO schema supplied with BI Beans and look at conditions for Product dimension.
    2. If you wish to display dimension attributes and their values in the HTML client UI,
    here is how you can retrieve attributes and their values for a dimension:
    (e.g. for Product dimension in BIBDEMO)
    String dimensionID = "MDM!D_BIBDEMO.PRODUCT";
    String hierarchyID = null;
    MDDimension dimension = metadataManager.getDimensionByUniqueID(dimensionID);
    MDHierarchy hierarchy = dimension.getDefaultHierarchy();
    if (hierarchy != null)
    hierarchyID = hierarchy.getUniqueID();
    // Retrieve all the attributes for this dimension
    MDAttribute[] attributes = dimension.getAttributes();
    if (attributes != null && attributes.length > 0)
    String attributeID = null;
    AttributeListStep attrStep = null;
    Selection sel = null;
    MetadataMap map = new MetadataMap(new String[] {MetadataMap.METADATA_VALUE});
    for (int i=0; i<attributes.length; i++)
    // Get the unique ID for the attribute
    attributeID = attributes.getUniqueID();
    // Create and evaluate an AttributeListStep
    attrStep = new AttributeListStep(dimensionID, hierarchyID, attributeID);
    sel = new Selection(dimensionID);
    sel.setHierarchy(hierarchyID);
    sel.addStep(attrStep);
    // Evaluate the AttributeListStep and get the DataAccess
    DataAccess da = query.createQueryAccess().getDataAccess(sel, map);
    // Walk the DataAccess and get the attribute values
    if (da != null)
    int extent = da.getEdgeExtent(DataDirector.COLUMN_EDGE);
    for (int i=0; i<extent; i++)
    // Get the attribute value
    strValue = (String)da.getMemberMetadata(DataDirector.COLUMN_EDGE, 0, i, MetadataMap.METDATA_VALUE);
    // Add the value to a drop down or another UI element...

  • Distinct count of role-played dimension attribute

    Needed distinct count of AccountGroup attribute of AccountB dimension which is a role played dimension of Account.
    Added measure distinct count of the dimension attribute (AccountGroup). In dimension usage added the main fact table as intermediate for other dimensions with many2many relationships.
    The two role played Account dimensions must be related to the new AccountFact table with fact relationship.
    But then how will I be able to count distinct attribute of
    certain Account dimension (out of the two role played dimensions)???
    Namnami

    Thanks for the links, they are useful. But still they do not explain how to manage a distinct count of
    certain role played dimension attribute. 
    I gave up on this and added that dimension attribute to the fact table so now I do a regular distinct count on a cube fact measure. 
    Thanks
    Namnami

  • Change Dimension Attribute to group by name rather than key

    Hi
    I am taking over a cube which has been built for speed rather than functionality. For example if you bring one dimension in and a measure you would get a result like this.
    ? 200
    Mancheste 400
    Manchester 200
    ? 100
    Derby 5
    when really it should look like this
    ? 300
    Mancheste 600
    Derby 5
    I believe this can be changed in the dimension attributes group it on name rather than key (although you get slower performance) but I can't find where about I change this

    hi,
    If you in BIDS, select the attribute you want to change and look at properties.
    Under the properties group Source, you have the definition for KeyColumn and NameColumn.
    My understanding is that you would want a keycolumn which is on the same level as your name column.
    I e change the key column to a better one.
    (Optionally, but not as good, you could set the KeyColumn to the same column as your name column)
    best wishes /Carl
    thanks I would mark this as the answer but it won't let me for some strange reason.

  • Displaying non-level determining dimension attributes in bibeans with cwm2

    In the bibdemo example (defined using the CWM API), the attributes PROD_COLOR and PROD_SIZE are defined as dimension attributes of the Product dimension. They are then available to bibeans applications for use in the query editor/match condition (as where clauses e.g. where Size = LARGE).
    When I define OLAP metadata objects using the CWM2 API, my non-level determining dimension attributes are not available in the bibeans query editor.
    Has any one exprienced this problem? Is there a work-around or code fragment that explains how to get dimension attributes defined using CWM2 to work in bibeans apps.

    basically there are list and hierarchical dimensions.
    the first type doesnt have a hierarchy, so some sort of special case of the 2nd.
    i used attributes on list dimensions successfully in the past.
    the only thing i had to do is nevertheless define a "artificial" level.
    let me know if you need more,
    thomas

  • Dimension attributes in BPC

    Hi Gurus,
    Can dimension attributes be used as selection or filtering criteria inside BPC?
    Thanks in advance,
    Raffi

    Raffi,
    I'm assuming that you are asking about filters for reporting purposes.  In this case, the answer is "yes" (it is "yes" for script logic as well, for that matter).
    In order to build an expansion based on dimension properties in an EVDRE, open the control panel and right-click on the "MemberSet" field for the dimension you want to expand with a filter.  Then choose the "EVDRE: Build Filter" menu item.
    If you are not using EVDRE you can do the same sort of thing with many of the other BPC Excel functions including EvEXP, which allows you to specify an MDX filter on dimension member properties (among other things).
    Ethan

  • ORACLE OLAP: trying to read french dimension attributes fails

    We have set up the CHANNEL dimension of the GLOBAL AW to have a french translation for the attributes CHANNEL_SHORT_DESCRIPTION and CHANNEL_LONG_DESCRIPTION. Using the AW Manager we had verified that the french values are output correctly. Also when using the OLAP Worksheet we got the correct output. Unfortunately issuing the same sequence of commands via ODP.NET does not output the dimension attribute in the appropriate language. Does anybody know about this problem or have the same experience?
    Here is the command stack of the Olap Worksheet
    ->RPR DOWN CHANNEL CHANNEL_SHORT_DESCRIPTION SKIP
    --------------ALL_LANGUAGES--------------
    ----------------AMERICAN-----------------
    CHANNEL_SHORT_DESCRI
    CHANNEL PTION
    1 All Channels
    4 Internet
    2 Direct Sales
    3 Catalog
    ->LOCK_LANGUAGE_DIMS=no
    ->LMT ALL_LANGUAGES TO 'FRENCH'
    ->RPR DOWN CHANNEL CHANNEL_SHORT_DESCRIPTION SKIP
    --------------ALL_LANGUAGES--------------
    -----------------FRENCH------------------
    CHANNEL_SHORT_DESCRI
    CHANNEL PTION
    1 All Channels
    4 Internet
    2 Ventes Directes
    3 Catalogue

    Just to update this thread: while preparing a little test program, which should make this problem reproducable, I found an ALLSTAT command in our lengthy command stack. This caused the ALL_LANGUAGES_DIM to loose its limit on the selected language. Our parser in turn didn't have any trouble with this, but output the first language, which was the default. The problem was on our side and is solved now.

  • Sort dimension attributes then show folder

    I have an dimension as below where i have created an folder for Spanish fields and rest attributes are non foldered.
     i want to sort the dimension attributes then show the folder attributes.
    ie:
    Customer
                 Customer Key
                 Education
                 Gender 
                 Material Status
                 Spanish Fields
    ShanmugaRaj

    Hi Shanmuga,
    Generally, all the folders will display on the above of dimension attributes, all the folders and attributes are listed in alphabetical order, we can sort one property members' sequence, but there is no build-in feature to sort all properties' sequence,
    if you want to sort the properties at your will, you have to add some prefix to property's name using the letter. However, you want to display attributes first and then folders, right? I am afraid this requirement cannot be achieved.
    However here I still would recommend you to submit a feedback to Microsoft Connect at this link at this link
    https://connect.microsoft.com/SQLServer/Feedback This connect site is a connection point between you and Microsoft. Your feedback enables Microsoft to make software and services the best that they
    can be, Microsoft might consider adding this feature in the following release after official confirmation.
    Regards,
    Charlie Liao
    If you have any feedback on our support,
    please click here.
    Charlie Liao
    TechNet Community Support

  • OLAP Dimension Attributes in a BI Beans Crosstab

    Hello,
    How can I show my custom OLAP dimension attributes in the BI Beans Crosstab?
    Can I compare this attributes with the measures?
    I have a cube with three dimensions and I have defined some limit amounts which are valid only for one of the dimensions. Additionally they are defined only for aggregated levels in this dimension.
    I was wondering whether I could define these limit amounts as dimension attributes and use them to compare with the measures.
    Is there any other possibility?
    Maybe I can create my custom column in the Crosstab?
    Thanks in advance,
    Michal

    I would recommend using the built-in security feature of the analytic workspace. There is a command called PERMIT that can be applied to both dimensions and cubes and controls user access to dimension members.
    There is a document on the OLAP home page that explains how to secure and AW using the permit command
    http://www.oracle.com/technology/products/bi/olap/olap10g_applying_aw_security.doc
    Hope this helps
    Keith Laker
    Oracle EMEA Consulting
    BI Blog: http://oraclebi.blogspot.com/
    DM Blog: http://oracledmt.blogspot.com/
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    BI Samples: http://www.oracle.com/technology/products/bi/samples/

  • Numeric Dimension Attribute format

    Hi
    I have a numeric dimension attribute where the data type in the database is float, however the values are in this format 1250.23
    When this attribute is processed in the Cube it comes out as 1250.22999999.
    How can I set this attribute to the correct format. I've tried setting the data type to wchar but not much luck.
    I do have attribute as a measure but for requirements reasons it has to be modelled as a dimension attribute as well.
    Regards

    The easiest way to do this is in the datamart view itself or in the DSV by adding a calculated member if it's only going to be used as a filter/attribute in the dimension and use this column as a NAME column.
    CAST([UrColumn]
    AS numeric(10,2))
    AS [UrColumnAlias]
    or so

  • Dimension Attribute Write Back

    Is it possible to write-back and update a dimension attribute. If so, could someone please post an example doing this.
    Thanks!

    I assume that your question is about Oracle-OLAP dimension attribute (and not Essbase).
    You will have to come up with a custom front-end (web or windows) where you will enter (or change) the attribute value. Then behind the scenes, you will call DBMS_CUBE.BUILD procedure to update the attribute value for that dimension member.
    Here is an example:
    Dimension = 'ACC', Hierarchy = 'ACCHIER', Dimension Member = 'CM1' and we want to update an attribute value called "LONG_DESCRIPTION" for this member 'CM1'.
    begin
    dbms_cube.build(q'! "ACC" USING (
    SET "ACC"."LONG_DESCRIPTION"["ACC" = 'CM1'] = CAST('Custom Member 1' AS VARCHAR2),
    MERGE INTO HIERARCHIES ("ACC"."ACCHIER")  VALUES ('CM1', 'ALL_ACC', NULL),
    COMPILE)!');
    end;

  • How to use multiple dimension attributes in SCOPE function

    Hello everyone,
    Need urgent help on the following:
    The requirement is, when [EMPLOYEE ONSHORE OFFSHORE] attribute of EMPLOYEE dimension having value "ATC Onsite" or "Permanent Onsite", "Onsite CPC" measure will have same the value of "Forecasted Blended CPC"
    measure. In all other cases, it will be 0.
    Here's the code snippet:
    I have created a new calculated member as:
    CREATE MEMBER CURRENTCUBE.[Measures].[ONSITE CPC]
    AS 0,
    FORMAT_STRING = "#,##0.00;-#,##0.00",
    VISIBLE = 1 , ASSOCIATED_MEASURE_GROUP = 'MARGIN ANALYSIS' ;
    Then, I have used the scope function. Here I am getting a build/compile time error.
    SCOPE([Measures].[ONSITE CPC]);
    SCOPE([EMPLOYEE].[EMPLOYEE ONSHORE OFFSHORE].&[ATC Onsite], [EMPLOYEE].[EMPLOYEE ONSHORE OFFSHORE].&[Permanent Onsite]);
    THIS = [Measures].[FORECASTED BLENDED CPC];
    END SCOPE;
    END SCOPE;
    Best Regards, Arka Mitra.

    Use { } in the second scope.
    SCOPE([Measures].[ONSITE CPC]);                 
            SCOPE({[EMPLOYEE].[EMPLOYEE ONSHORE OFFSHORE].&[ATC
    Onsite], [EMPLOYEE].[EMPLOYEE ONSHORE OFFSHORE].&[Permanent
    Onsite]});
                    THIS
    = [Measures].[FORECASTED BLENDED CPC];
            END SCOPE;                 
    END SCOPE; 

Maybe you are looking for

  • Opportunity.TEXT_31 Field in Answers

    Can anyone tell me why there are two "Opportunity ID" fields in Answers for all opportunity-related subject areas (including Opportunity Product Revenue subject-areas)? For example, in the "Opportunity Product Revenues reporting subject-area", has on

  • Double-clicking on midi region(s) doesn't center the playhead - why?

    This issue is driving me nuts: Say I have the playhead parked at bar 20 in the arrange window and want to examine the midi notes on all of my tracks in THAT bar. I have 8 midi tracks. I double-click on a midi region and the piano roll opens in the wi

  • BPS-Configuration of data columns-Add variable to Fiscal year/period

    Dear experts, I have the following message when I run the manual input excel layout - >> "The environment has changed; the layout can no longer be executed" I guess actually it is because of the variable i added to a charcter "0FISCPER" in the data c

  • Is this common to Macs?

    I have recently noticed that there are a few tiny, 1-pixel size marks on the screen of my MacBook Pro. They are not external and I have tried to wipe them away by using "electronic safe" cleaner on a paper towel; however, they appear to be internal.

  • Maverick Local Host Not Working Correctly

    Hello, I recently upgraded to Maverick 10.9.2. Now my local host is working incorrectly? Now when I try to access one of my sites on my local machine, it just shows the php code and not loading the pages? I also restored httpd.conf~previous to httpd.