Divide measure by dimension attribute?

Hi, I have a cube containing a count of emergency accident attendances (measures.count) which links to a location dimension (dim_Location) via Loc_ID. The dim_Location dimension contains an attribute which is the number of people living at that location. Is it possible to divide the measures.count value by the value of the dim_Location.PeopleInLocation attribute? If so, what would the MDX look (roughly) like?
[Fact_Attendance]
  [Location_ID]
  ... (other columns)
[dim_Location]
  [ID]
  [LocationDescription]
  [PeopleInLocation]
The report should look roughly like this:
           | #Attend... (count) | PeopleInLoc | #Attend / People
North-East | 5732               | 571         | 10.04
North      | 10885              | 895         | 12.16
East       | 2659               | 344         |  7.73
I could put PeopleInLocation into the fact table as a measure but it seems inefficient to do so since it would be duplicated many times...
Thanks
N. Brown

 mschroeter wrote:
In your MDX you could declare a member like this:
WITH MEMBER [Measures].[PeopleInLoc] AS '[dim_Location].[PeopleInLocation].CURRENTMEMBER.UNIQUENAME'
and then reference that as a measure in the SELECT part of the MDX query:
WITH MEMBER [Measures].[PeopleInLoc] AS '[dim_Location].[PeopleInLocation].CURRENTMEMBER.UNIQUENAME'
select
    {Measures.Attendance / Measures.PeopleInLoc} on columns
So, it sounds like there is a way to access the name of an attribute and make it a measure. How would you do something like this with dates and calculating the number of days (or years, and such) that has elapsed?
For example, consider the following sceanario.
(1) I have a time dimension that tells what month we are in.
(2) I have an employee dimension that has birthday as an attibute.
Now, I want to create a calculated measure that somehow computes the person's age for the current month. The components are there for me to do the math, but I'm not sure how you can do this.

Similar Messages

  • 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

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

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

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

  • Ssrs 2014 errorrule 'Create list of measure group-dimension pairs

    I'm getting this error generating a model for a ssas tabular model in ssrs 2014.  When I test the tabulur definition in Excel under SSAS everything works fine and there are no errors.
    Thanks
    From the log
    semanticmodelgenerator!ReportServer_0-1!b58!06/13/2014-15:39:25:: e ERROR: Semantic Model Generator: ModelGeneratorExtention
    An error occurred while executing rule 'Create list of measure group-dimension pairs':Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'..
    semanticmodelgenerator!ReportServer_0-1!b58!06/13/2014-15:39:25:: e ERROR: Semantic Model Generator: ModelGeneratorExtention
    An error occurred during the generation of semantic model : [Create list of measure group-dimension pairs]Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'..
    library!ReportServer_0-1!b58!06/13/2014-15:39:25:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ModelGenerationErrorException: , Microsoft.ReportingServices.Diagnostics.Utilities.ModelGenerationErrorException: An error occurred while
    generating model. ---> System.InvalidOperationException: An error occurred during the generation of semantic model : [Create list of measure group-dimension pairs]Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'..
    ---> System.InvalidOperationException: [Create list of measure group-dimension pairs]Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'. ---> Microsoft.AnalysisServices.Modeling.Generation.ModelGenerationException:
    Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'.
       at Microsoft.AnalysisServices.Modeling.Generation.ModelGenerationDiagnostics.Assert(Boolean condition, String message, Boolean throwOnFail)
       at Microsoft.AnalysisServices.Modeling.Generation.Rules.MapMeasureGroupsToDegenerateDimensions.Process(RuleFlowRecords& generatedRules, RuleExecutionRequirement& rulesExecutionRequirement)
       at Microsoft.AnalysisServices.Modeling.Generation.Flow.RuleProcessor.ProcessRule(IRule rule, RuleContext ruleContext)
       --- End of inner exception stack trace ---
       at Microsoft.AnalysisServices.Modeling.Generation.Flow.RuleProcessor.ProcessRule(IRule rule, RuleContext ruleContext)
       at Microsoft.AnalysisServices.Modeling.Generation.Flow.RuleProcessor.ProcessRuleFlowRecord(RuleFlowRecord ruleFlowRecord)
       at Microsoft.AnalysisServices.Modeling.Generation.Flow.RuleProcessor.ProcessRule(IRule rule, RuleContext ruleContext)
       at Microsoft.AnalysisServices.Modeling.Generation.Flow.RuleProcessor.ProcessRuleFlowRecord(RuleFlowRecord ruleFlowRecord)
       at Microsoft.AnalysisServices.Modeling.Generation.Flow.RuleProcessor.Process()
       --- End of inner exception stack trace ---
       at Microsoft.AnalysisServices.Modeling.Generation.Flow.RuleProcessor.Process()
       at Microsoft.AnalysisServices.Modeling.Generation.ModelGenerator.Generate()
       at Microsoft.AnalysisServices.Modeling.Generation.ModelGeneratorExtention.ReGenerateModel(IDbConnection connection, XmlReader currentModelReader, XmlWriter newModelWriter)
       at Microsoft.ReportingServices.Library.GenerateModelAction.GenerateModel(DataSourceInfo dataSource)
       --- End of inner exception stack trace ---;
    ui!ReportManager_0-2!3f3c!06/13/2014-15:39:25:: e ERROR: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: An error occurred while generating model. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ModelGenerationErrorException:
    An error occurred while generating model. ---> System.InvalidOperationException: An error occurred during the generation of semantic model : [Create list of measure group-dimension pairs]Unexpected error occurred : Unable to obtain cube schema object for
    cube dimension '[$DimDate].[DimDate]'.. ---> System.InvalidOperationException: [Create list of measure group-dimension pairs]Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'. ---> Microsoft.AnalysisServices.Modeling.Generation.ModelGenerationException:
    Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'.
       at Microsoft.ReportingServices.Library.ReportingService2010Impl.GenerateModel(String DataSource, String Model, String Parent, Property[] Properties, CatalogItem& ItemInfo, Warning[]& Warnings)
       at Microsoft.ReportingServices.WebServer.ReportingService2010.GenerateModel(String DataSource, String Model, String Parent, Property[] Properties, CatalogItem& ItemInfo, Warning[]& Warnings)
       at Microsoft.ReportingServices.UI.NewDependentItem.ApplyChanges()
       at Microsoft.ReportingServices.UI.BaseApplyPage.ApplyBtn_Click(Object sender, EventArgs e)
       at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
       at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
       at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    ui!ReportManager_0-2!3f3c!06/13/2014-15:39:25:: e ERROR: HTTP status code --> 200
    -------Details--------
    System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: An error occurred while generating model. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ModelGenerationErrorException: An error occurred while generating model.
    ---> System.InvalidOperationException: An error occurred during the generation of semantic model : [Create list of measure group-dimension pairs]Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'..
    ---> System.InvalidOperationException: [Create list of measure group-dimension pairs]Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'. ---> Microsoft.AnalysisServices.Modeling.Generation.ModelGenerationException:
    Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'.
       at Microsoft.ReportingServices.Library.ReportingService2010Impl.GenerateModel(String DataSource, String Model, String Parent, Property[] Properties, CatalogItem& ItemInfo, Warning[]& Warnings)
       at Microsoft.ReportingServices.WebServer.ReportingService2010.GenerateModel(String DataSource, String Model, String Parent, Property[] Properties, CatalogItem& ItemInfo, Warning[]& Warnings)
       at Microsoft.ReportingServices.UI.NewDependentItem.ApplyChanges()
       at Microsoft.ReportingServices.UI.BaseApplyPage.ApplyBtn_Click(Object sender, EventArgs e)
       at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
       at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
       at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    library!ReportServer_0-1!b58!06/13/2014-15:39:25:: i INFO: Call to GetSystemPropertiesAction().
    ui!ReportManager_0-2!3f3c!06/13/2014-15:39:25:: e ERROR: System.Threading.ThreadAbortException: Thread was being aborted.
       at System.Threading.Thread.AbortInternal()
       at System.Threading.Thread.Abort(Object stateInfo)
       at System.Web.HttpResponse.End()
       at Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String errMsg)
    library!WindowsService_2!bd0!06/13/2014-15:41:25:: i INFO: Call to CleanBatch()
    library!WindowsService_2!bd0!06/13/2014-15:41:26:: i INFO: Cleaned 0 batch records, 0 policies, 0 sessions, 0 cache entries, 0 snapshots, 0 chunks, 0 running jobs, 0 persisted streams, 0 segments, 0 segment mappings, 0 edit sessions.
    library!WindowsService_2!bd0!06/13/2014-15:41:26:: i INFO: Call to CleanBatch() ends
    rshost!rshost!3f3c!06/13/2014-19:37:27:: i INFO: Currently registered url http://+:80/ReportServer_SQLEXPRESS/ on endpoint 2
    rshost!rshost!3f3c!06/13/2014-19:37:27:: i INFO: Currently registered url http://+:80/Reports_SQLEXPRESS/ on endpoint 3
    rshost!rshost!3f3c!06/13/2014-19:37:27:: i INFO: Endpoint 4 is disabled and no url is registered vdir=/ReportServer_SQLEXPRESS/ReportBuilder, pdir=C:\Program Files\Microsoft SQL Server\MSRS12.SQLEXPRESS\Reporting Services\ReportServer\ReportBuilder.
    rshost!rshost!e38!06/13/2014-19:37:27:: i INFO: Derived memory configuration based on physical memory as 16487384 KB
    appdomainmanager!DefaultDomain!e38!06/13/2014-19:37:27:: i INFO: Appdomain:5 ReportServer_SQLEXPRESS_0-1-130471616741701355 unregistered.
    library!WindowsService_2!22c!06/13/2014-19:37:29:: i INFO: Call to CleanBatch()
    appdomainmanager!ReportServer_0-1!e38!06/13/2014-19:37:30:: i INFO: Appdomain:5 ReportServer_SQLEXPRESS_0-1-130471616741701355 unloading
    appdomainmanager!DefaultDomain!e38!06/13/2014-19:37:33:: i INFO: Appdomain:6 ReportManager_SQLEXPRESS_0-2-130471623126349107 unregistered.
    appdomainmanager!ReportManager_0-2!e38!06/13/2014-19:37:33:: i INFO: Appdomain:6 ReportManager_SQLEXPRESS_0-2-130471623126349107 unloading
    servicecontroller!DefaultDomain!e38!06/13/2014-19:37:41:: i INFO: Recycling the service from the default domain
    dbpolling!WindowsService_2!376c!06/13/2014-19:37:41:: i INFO: EventPolling polling service stopped
    dbpolling!WindowsService_2!376c!06/13/2014-19:37:41:: i INFO: NotificationPolling polling service stopped
    dbpolling!WindowsService_2!376c!06/13/2014-19:37:41:: i INFO: SchedulePolling polling service stopped
    dbpolling!WindowsService_2!376c!06/13/2014-19:37:41:: i INFO: UpgradePolling polling service stopped
    runningjobs!WindowsService_2!e38!06/13/2014-19:37:41:: e ERROR: Timer Database Cleanup (NT Service) still executing, breaking...
    rshost!rshost!e38!06/13/2014-19:37:48:: i INFO: Application domain type WindowsService statistics: created: 3, unloaded: 3, failed: 0, timed out: 0.
    appdomainmanager!DefaultDomain!e38!06/13/2014-19:37:48:: i INFO: Appdomain:7 WindowsService_3 started.
    library!WindowsService_2!22c!06/13/2014-19:37:52:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: , An error occurred within the report server database.  This may be due to a connection failure, timeout
    or low disk condition within the database.;
    library!WindowsService_2!22c!06/13/2014-19:37:52:: w WARN: Transaction rollback was not executed connection is invalid
    dbcleanup!WindowsService_2!22c!06/13/2014-19:37:52:: e ERROR: Error in CleanExpiredSessions: Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: An error occurred within the report server database.  This may be due to a connection
    failure, timeout or low disk condition within the database. ---> System.Data.SqlClient.SqlException: Database 'ReportServer$SQLEXPRESSTempDB' is being recovered. Waiting until recovery is finished.
    library!WindowsService_3!e38!06/13/2014-19:37:55:: i INFO: SQLDump flags: ReferencedMemory, AllThreads, SendToWatson
    library!WindowsService_3!e38!06/13/2014-19:37:55:: i INFO: MiniDump flags: DataSegs, UnloadedModules, ProcessThreadData
    library!WindowsService_3!e38!06/13/2014-19:37:55:: i INFO: Dump on: Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException,Microsoft.ReportingServices.Modeling.InternalModelingException,Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException
    library!WindowsService_3!e38!06/13/2014-19:37:55:: i INFO: Do not dump on: System.Threading.ThreadAbortException,System.Web.UI.ViewStateException,System.OutOfMemoryException,System.Web.HttpException,System.IO.IOException,System.IO.FileLoadException,Microsoft.SharePoint.SPException,Microsoft.ReportingServices.WmiProvider.WMIProviderException
    library!WindowsService_3!e38!06/13/2014-19:37:55:: i INFO: Minidump location: C:\Program Files\Microsoft SQL Server\MSRS12.SQLEXPRESS\Reporting Services\Logfiles
    resourceutilities!WindowsService_3!e38!06/13/2014-19:37:56:: i INFO: Reporting Services starting SKU: Developer

    Hi shiftbit,
    According to your description, you get an empty Measure Group Columns list when defining relationship. Right?
    Based on your screenshot, you may notice that Measure group table is empty, so definitely it can't show any column in the dropdown list. If there's columns in the measure group that are related to the dimension columns, at least it will show the fact
    table for Measure group.
    In this scenario, please check if the fact table for the Measure group is existing. Re-process the Measure group and try again. If the issue persists, please re-create that measure group.
    Reference:
    Define Relationship Dialog Box (Analysis Services - Multidimensional Data)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou
    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...

  • Concatenate measure and dimension field shows not enough memory available

    Hello, I need to concatenate a measure and dimension, for dummy test I did  Cstr([Measures].[MeasureName]) + "dummy string, (unit of measure required here)"
    but this generate an error, please see image for required measure. 
    Executing the query ...
    Server: The operation has been cancelled because there is not enough memory available for the application. If using a 32-bit version of the product, consider upgrading to the 64-bit version or increasing the amount of memory available on the machine.
    Execution complete
    MDX Query:
    WITH 
    MEMBER [Measures].[Cant Fact Umv2] 
    AS Cstr([Measures].[Cant Fact Umv]) + "dummy string, (unit of measure required here)"
     SELECT 
     NON EMPTY { [Measures].[Cant Fact Umv], [Measures].[Cant Fact Umv2] } ON COLUMNS, 
     NON EMPTY { 
    ([Categoria Materiales].[Categoria Material].[Categoria Material].ALLMEMBERS * 
    [Productos].[Producto].[Producto].ALLMEMBERS * 
    [Ventas Analisis].[UM Venta].[UM Venta].ALLMEMBERS ) } 
     DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME ON ROWS FROM  [Ventas Analisis 2] CELL PROPERTIES VALUE, BACK_COLOR, FORE_COLOR, FORMATTED_VALUE, FORMAT_STRING, FONT_NAME, FONT_SIZE, FONT_FLAGS

    Why cant this be done at the presentation? why should you do it in MDX?
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • 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

  • What Measure and Dimension are provided by SAP BW?

    Hi all
    Can everybody please let me know, what are all measure and dimension are providedby SAP BW in MM module. I want to design the star schema for OLAP report.
    Thank a lot

    MM module has many business content avaiable,
    under Supply Chain Performance Management you can see
    Inventory Management, Logistic Execution, Procurement:
    http://help.sap.com/saphelp_nw04/helpdata/en/29/79eb3cad744026e10000000a11405a/frameset.htm
    good work.
    Sergio

  • 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

Maybe you are looking for

  • Down payments added to the net value

    Hello Experts, I have configured downpaymants as per my client requirement . I have entered manually the down payment condition type in the sales order but the down payment value has added to the net value. Is it standard system behaviour or please e

  • [Solved] Installing Gnome

    I've got Arch x86 running in the latest VirtualBox to limit the damage caused by my noobness. I'm stuck with installing gnome. Specifically the step where gnome-session is called. I've not done the exec steps after that. As a normal user: gnome-sessi

  • Email Remittance as PDF

    For years we have been emailing and faxing remittances to vendors. As clearly outlined in various posts on SDN, this was accomplished by activating a copy of SAMPLE_PROCESS_00002040. What is unclear to me, however, is how some posts indicate this wil

  • REP - 1213 Reference column frequency below its group

    Hi, In a report (6i) it is showing Error like "REP - 1213 field F_SUM_COLLECTIONS_RATIO Reference column CS_COLLECTION_RATIO at a frequency below its group" As I know this is a problem of repeating frame problem:- 1. How can I check this error ? And

  • I have been billed twice for a movie

    Can't find anywhere to have a transaction reversed. As I was downloading a movie, there was an issue and it was not completed.  I downloaded it again and I have now been billed twice.  What now?