Link measure group to two dimensions

hello all - we have 3 fact tables in the data source view:
1. salesOrders 
2. pucrahseOrders
3. journalEntry
The  journalEntry fact table stores both sales and purchase orders, but each row in the journalEntry table can be linked to either salesOrders or pucrahseOrders. I created degenerate dimensions in the cube off of sales orders and purchase orders fact table
and I am trying to link these degenerate dimensions to the journalEntry measure group. However,  the journalEntry measure group is showing no data when I link it to both the dimensions but it shows data when I link it to just one dimension.. what am I
doing wrong? 

They're exclusive set isnt it? ie relationship is
either salesOrders or pucrahseOrders So when you use combination there's no data that is going to match both the condition. WHat you can do is to analyze the fact seperately using either of the dims or alternatively you can create a dimension merging
both salesOrders and purchaseOrders using UNION ALL and use it to relate to fact.
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

Similar Messages

  • Tabular : Using Table only as Measure Group not as Dimension

    Hi there i am quite new to the Tabular model, and what i am encountering right now must be something many of you who have had the Chance, must have had to deal with.
    I am Trying to Rebuild my Cube in the Tabular Model, Thus i have inserted all the Tables that i  also have in the Cube.
    Now the Creation of Measures seemed quite simple to me, i just selected the Row i would Need, click the Summation button and i would have a Measure.
    Now the Problem i am facing is the following: I have a Measure Group named after the Fact Table, and the Fact Table also shown as a Dimension, my first thought was to hide it from the Clienttools,but i can't hide it from Clienttools because than the Measure
    Group will be hidden too,
    is there a way to Only get the Measure Group and not get the Dimension ?
    Thanks to you all in Advance :)

    Hi Victor,
    When you click "Semantics", you can choose "Attribute" or "Measure" in the "Type" column and choose "SUM/COUNT/MAX/MIN" in the "Aggregation" column.
    Best regards,
    Wenjun

  • Distinct Count Measure Total in Two Dimensions

    I have a report that pulls data Site and then drills down to User for Content Usage for Six Months. These are separate dimensions in the cube. I have a DistinctContent Measure that pulls for both Site and User appropriately when I use separate queries but it
    is at the lowest level which is User. A sum of DistinctContent at the Site level is not appropriate - it needs to be the DistinctContent for the Site, and then drill down to the DistinctContent for User.
    Aggregate cannot be used because there are filters on the report, and they have to be there for various reasons.
    I've tried Lookup but it only looks up for one field. Multilookup doesn't work either. 
    I've tried a drill down to a subreport so that the initial dataset would be for Site, and then the subreport is for User and uses a different dataset, but you cannot merge the cells so
    that the subreport fits nicely under the top level.  
    How do I get the DistinctCount for the top level, Site?  
    I'm currently working on creating a cube that will only count the distinct content by site and then combine the two cubes as a virtual cube as a workaround but I'm not sure of the full implications of a virtual cube.   I feel like I'm missing something
    because this seems to be something that everyone must need at some point right?  
    I'm beating my head against a wall.  Thanks so much to anyone who can help out.  I'm hitting the deadline, and everyone is stressing out because I've been working on this one issue for days and I'm the everything IT person, so other things are slipping.
    Here is
     (the abbreviated version of) the query:
    SELECT
    NON EMPTY
    {[Measures].[Distinct Content]} ON COLUMNS
    ,NON EMPTY
    Filter
    ([Site].[by Type].[Site].ALLMEMBERS
    ,[Measures].[Views] > 0)*
    Filter
    ([User].[by Type].[User].ALLMEMBERS,
    [Measures].[Views] > 0
    [Time].[Month Year].[Month Year]
    DIMENSION PROPERTIES
    MEMBER_CAPTION
    ,MEMBER_UNIQUE_NAME
    ON ROWS
    FROM
    SELECT
    {[Content].[by Domain Type Item].[Type].&[3]&[1]&[Art]} ON COLUMNS
    FROM [Cntnt]
    Here is a picture of the report currently.  Unique Articles is the measure I'm having issues with and you can see at the top level is the site name, and below that the user.
    Thanks so much to anyone who can help me out.  I really, really appreciate it. 
    Julia

    Hi Julia,
    Thank you for your question. 
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated. 
    Thank you for your understanding and support.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Slice measure group by dimension related to another measure group

    Hello everyone,
    My users are wanting to slice one measure group via a dimension related to a different measure group.  I have regular relationships here: Dim_SalesStatus <- Fact_Sales -> DD_Link <- Fact_Mfg, and Fact_Mfg has a many-to-many relationship
    to Dim_SalesStatus  (through intermediate measure group, Fact_Sales). The DD_Link is a degenerate dimension that I created with the LinkId's that exist in the Fact_Sales table.  The Fact_Mfg records may or may not have a LinkId. Processed great,
    no problem. I was testing the configuration by finding multiple LinkId's that *are* in both fact tables in the data warehouse, then seeing if I can slice. If I slice by only the LinkId, they show the correct counts on both sides as 1.  In my following
    example, I have two LinkId's (12345 and 67890).
    DD_LinkId, Fact Sales count, Fact Mfg count, MfgQuantity
    12345, 1, 1, 387
    67890, 1, 1, 50
    As soon as I try to slice by the SalesStatus, the Fact_Mfg count goes to null on some (not all). It seems like it can’t find the data through the relationship.
    Sales Status, DD_LinkId, Fact Sales count, Fact Mfg count, MfgQuantity
    Incomplete, 12345, 1, (null), (null)
    Incomplete, 67890, 1, 1, 50
    I'm not sure what could be the issue, it looks to be all setup correctly to me.  LinkId 12345 is not behaving the way I would expect, but 67890 is, and I'm not seeing any differences in the way the data is setup in the DW.  What can I check/verify?
    Thanks in advance for your help!
    Jarret

    Hello Bill,
    Neither of those are true.  The FactMfgCount is the default measure added when creating a measure group, and the quantity is a simple column based summed measure.
    If I drop the DateEntered dimension altogether, the results returned are shown as expected.  When I then recreate it, with a regular relationship to both measure groups, it stops working.  If I remove the relationship from DateEntered to Sales,
    the expected results are presented.  Or, if I remove the relationship from DateEntered to Manufacturing, the expected results are presented.
    From what I can tell, as long as a dimension is not related to the fact on both sides of the many to many, the expected results are presented.  As soon as I relate a single dimension to both sides of a many-to-many, the data in the data warehouse must
    be the same in the related columns, or the results are "(null)".
    Is this supposed to be true?  If you look at my cube structure image above, that's my setup.
    Here is the MDX that I was running, which does not reference a date dimension.
    //Without Status, expected results.
    SELECT NON EMPTY { [Measures].[Fact Sales Count], [Measures].[Fact Manufacturing Count] } ON COLUMNS,
    NON EMPTY { ([DD_Link].[Order Link Id].[Order Link Id].ALLMEMBERS ) } ON ROWS
    FROM ( SELECT ( {[DD_Link].[Order Link Id].&[18440402] , [DD_Link].[Order Link Id].&[18446846]} ) ON COLUMNS
    FROM [TestCube]
    go
    //With Status, unexpected results.
    SELECT NON EMPTY { [Measures].[Fact Sales Count], [Measures].[Fact Manufacturing Count] } ON COLUMNS,
    NON EMPTY { ([DD_Link].[Order Link Id].[Order Link Id].ALLMEMBERS * [Sales Status].[On Time Delivery Status Description].[On Time Delivery Status Description].ALLMEMBERS ) } ON ROWS
    FROM (
    SELECT ( {[DD_Link].[Order Link Id].&[18440402] , [DD_Link].[Order Link Id].&[18446846]} ) ON COLUMNS
    FROM [TestCube]
    go

  • The key columns of the country measure group attribute do not match in either number or data types to the key columns of the source attribute

    I have a country dimension which is used in 5 cubes. Now I want to change 'key column' property of the country attribute. Whenever I do this, I get an error as "The key columns of the country measure group attribute do not match in either number or
    data types to the key columns of the source attribute". I dont understand what this error is about.
    Can someone please help? Thanks in advance.
    -Regards,
    Raj Patil

    sounds like you need to verify your dimensional usage tab to verify the relationships between dim and fact on the measure group. 
    Hi Talktorajpatil,
    As Jon said, you can verify the relationships between dim and fact on the measure group on the dimensional usage tab. Use this section to define how you "join" your measure groups to your dimensions.  There may be a Dimension-Measure Group relationship
    that is defined using the wrong attributes and you'll need to select the correct attributes to link the Dimensions to the measure groups. Here are some similar thread for your reference.
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/74203b66-8a71-4681-8e47-8f99cce87b3d/error-on-the-measure-group-which-do-not-match-the-data-type-of-the-key-column?forum=sqlanalysisservices
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/2421058d-fd4a-44b8-8c7c-b0b349bbef2d/measure-group-attribute-key-column-does-not-match-source-attribute?forum=sqlanalysisservices
    Hope this helps.
    Regards,
    Charlie Liao
    TechNet Community Support

  • SSAS 2008 - How to get processing times per dimension / measure group?

    Hi experts!
    SSAS 2008. I am doing analysis and I'm trying to get information (from dmv or log) about processing times per dimension / measure group. Any ideas how to do that?
    Thanks,

    also in DMV there's no column recording the processing time, so we suggest you using SSAS AMO to programmatically get the state and last processed date time. Please see:
    Analysis Management Objects (AMO)
    Hi John,
    Thanks for you info, As
    Simon Suggested there is no DMV columns available.
    You can use below link for more information.
    Programming Administrative Tasks with AMO
    Cube
    partition attributes for last processed (timestamp and status)
    Thanks
    Suhas
    Mark as Answer if this resolves your problem or "Vote as Helpful" if you find it helpful.
    My Blog
    Follow @SuhasKudekar

  • SSAS Tabular - Hide dimensions without measures from measure groups

    Hello all,
    I have a tabular model cube with several dimensions and fact table.
    The problem is all the model tables appear as measure groups in the client (excel).
    How can I hide these dimensions from the measure groups as they should only appear as related dimensions in the facts measure groups?
    I have tried the option "hide from client tools" but this also hides the table in the related dimensions in fact measure groups.
    Thanks for the help,
    Best Regards,
    André

    I have given my feedback to microsoft regarding this issue. If you think, this should be considered in their next release please hit the "Vote" button in below link:
    https://connect.microsoft.com/SQLServer/feedback/details/893131/hide-from-client-tools-property-do-not-hide-the-measure-group-while-browsing-the-cube
    Thanks!
    If this post answers your query, please click "Mark As Answer" or "Vote as Helpful".

  • 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

  • Column missing in measure group columns list for dimension usage

    I added some new columns (dimension ids) to my fact table and refreshed the data source view. Now the new columns show up in the data source view for this fact table. But when I go to dimension usage to tie the new dimensions to this measure, I am not able
    to find the columns just added in the measure group columns list.
    What do I have to do to be able to see my new columns in this list so that I can update dimension usage.
    Thanks.

    Hi kvd123,
    According to your description, you add columns in fact table and the data source view is already refreshed. However, in dimension usage the meta data is not refreshed. Right?
    In this scenario, I suggest you redeploy your cube. Because in Analysis Services, when we modify the cube, the changes are recorded in xxxxx.cube XML file. After you redeploy the cube, those changes are copied to Analysis Services server. Then
    the source data will reload into the measure groups.
    If you have any question, please feel free to ask.
    Simon Hou
    TechNet Community Support

  • ALV table with two dimensions and a link in each cell to a document

    Hi,
    I want to create an ALV output for a 2-dimension table. The table should look like:
    ---  |  Col1  |  Col2  | ...
    L1 | Cell11 | Cell12 | ...
    L2 | Cell21 | Cell22 | ...
    Do you have any hints how I could implement such a two dimensional ALV with different links when clicking on Cell11, Cell12, Cell21, ....
    Thanks for your help!
    Caroline

    if u use OO ALV,
    1.on clicking CELL1, CELL2 etc, to get different links,
    u can put hotspot for the fields in fieldcat
    and u can handle method
    button_click event of cl_gui_alv_grid.
          CLASS LCL_EVENT_RECEIVER DEFINITION
    CLASS LCL_EVENT_RECEIVER DEFINITION.
      PUBLIC SECTION.
        METHODS HANDLE_CLICK_ROW_COL
        FOR EVENT CLICK_ROW_COL OF CL_GUI_ALV_GRID
        IMPORTING ROW_ID COL_ID.
    ENDCLASS.                    "cl_event_receiver DEFINITION
          CLASS CL_EVENT_RECEIVER IMPLEMENTATION
    CLASS LCL_EVENT_RECEIVER IMPLEMENTATION.
      METHOD HANDLE_BUTTON_CLICK.
        perform button_click using ROW_ID COL_ID.
      ENDMETHOD .                    "handle_top_of_page
    ENDCLASS .                    "cl_event_receiver
    2.
    FOR GETTING TWO DIMENSIONS, HANDLE PRINT_TOP_OF_PAGE
    and using write statements, build a row at the top of grid.
    or else
    IN THE LAYOUT , U CAN PLACE BUTTONS JUST ABOVE THE CUSTOM CONTAINER

  • Cube Processing - process Dimension before Measure Groups? How to?

    Hi guys.
    I noticed that when you choose "Process Cube", Measure groups are processed before Dimensions. Recently I ran into an issue caused by change in data that made the Process Cube job fail, - until I manually processed all Dimensions and then run the
    "Process Cube" job again.
    - Is there any way to configure it to process Dimensions before Measure Groups???
    Cheers!

    We use SSIS to automate the cube processing using XMLA scripts. We have a control table where we maintain the list of dimensions and measure group partitions which will be iterated upon and processed by SSIS. It will also log audit information like when
    it was started, when it got ended and the process result.
    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

  • BIDS 2008 - Dimension Usage new relationship Measure Group Column list empty?

    Ive been updating my underlying schema, and DSV and now Im having to update some of the Dimensions.  Looks like things got a bit "sideways" somewhere along the way.  Now that Im going back to reassign dimensions being used within the
    Dimension Usage tab of the Cube, the measure group column list is empty when I go to create a new relationship (regular type)

    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

  • Function for linking two dimensions

    Hi
    I've a scenario in which i've 6 dimensions where two dimensions should be linked. Let's say i've a Dimension called Employees and another one called Roles.
    If i select an employee my Roles pov or page should only populate those roles which that employee is assigned.
    They want to see the employee and role name on screen. I'm using Hyperion Financial Reporting
    Regards
    Celvin
    Edited by: user10091507 on Oct 8, 2008 5:38 AM

    the only way dimension members from different dimenasions can be linked is by data.
    meaning you always fetch data on some dimension member combination. By using suppress missing option, you will get only the combinations of members which has data.
    I think the best way for you might be to use employee as UserPOV and Role as page. Then use missing suppress option.
    So when you will run the report for selected employee, it will automatically remove the role on which that employee dont have data.
    Hope this works for you.
    Thanks,
    Rahul

  • How to get Distinct Count of Products across two dimensions

    Hi,
    I have two dimensions, Item and Presentations. I need to get distinct count of products for IMD_Id + Merc_Pres_Id. IMD_Id is the lowest member in Item and Merc_Pres_Id is lowest in Presentation. My MDX query is given below but when I apply filters to
    slice it, it does not work and does not give right count. It always gives the count for all.
    /* Last Year Demand - Demand for 12 months back of selected months */
    With
    Member [Measures].[LYDemand]
    as
    Sum(
    Generate(
    EXISTING[All Date].[Fiscal Month Name].[Fiscal Month Name].Members,
    {parallelperiod([All Date].[Fiscal Month Name].[Fiscal Month Name], 12
    ,[All Date].[Fiscal Month Name].CurrentMember)}
    ,[Measures].[Proj Demand]
    /* Last to last Year Demand - Demand for 24 back of selected months */
    Member [Measures].[LLYDemand]
    as
    Sum(
    Generate(
    EXISTING[All Date].[Fiscal Month Name].[Fiscal Month Name].Members,
    {parallelperiod([All Date].[Fiscal Month Name].[Fiscal Month Name], 24
    ,[All Date].[Fiscal Month Name].CurrentMember)}
    ,[Measures].[Proj Demand]
    /* Current Year Active Products */
    Member [Measures].[CYCount]
    as
    CASE
    WHEN
    [Measures].[Proj Demand] > 0
    THEN
    DistinctCount(Existing(([All Items].[IMD Id].[IMD Id],[All Merchandise Presentations].[Merch
    Pres Key].[Merch Pres Key])))
    ELSE
    NULL
    END
    /* Last year Active Products */
    Member [Measures].[LYCount]
    as
    CASE
    WHEN
    [Measures].[LYDemand] > 0
    THEN
    DistinctCount(([All Items].[IMD Id].[IMD Id],[All Merchandise Presentations].[Merch Pres Key].[Merch Pres
    Key], [All Items].[Style Name].CurrentMember, (StrToMember('[All Date].[Fiscal Month Name].&[201401]',CONSTRAINED).Lag(12)
    : StrToMember('[All Date].[Fiscal Month Name].&[201411]',CONSTRAINED).Lag(12))))
    ELSE
    NULL
    END
    /* Last to last Year Active Products */
    Member [Measures].[LLYCount]
    as
    CASE
    WHEN
    [Measures].[LLYDemand] > 0
    THEN
    DistinctCount(([All Items].[IMD Id].[IMD Id],[All Merchandise Presentations].[Merch Pres Key].[Merch Pres
    Key], [All Items].[Style Name].CurrentMember, (StrToMember('[All Date].[Fiscal Month Name].&[201401]',CONSTRAINED).Lag(24)
    : StrToMember('[All Date].[Fiscal Month Name].&[201411]',CONSTRAINED).Lag(24))))
    ELSE NULL END
    SELECT
    [Measures].[CYCount], [Measures].[LYCount], [Measures].[LLYCount],
    [Measures].[Proj Demand],[Measures].[LYDemand],[Measures].[LLYDemand]
    ON
    COLUMNS,
    Non
    Empty([All Items].[Demand Center Name].[Demand Center Name], [All Items].[Style Name].[Style Name])
    ON ROWS
    FROM
    (SELECT (StrToSet('[All Items].[Style].[ALL]'))
    ON COLUMNS
    FROM
    (SELECT (StrToSet('[All Items].[Demand Center].[ALL]'))
    ON COLUMNS
    FROM
    (select (STRTOSET('[All Items].[Merch Group].&[MG-110]'))
    on Columns
    FROM
    (SELECT (StrToSet('[All Merchandise Presentations].[Merch Pres Chnl Dkey].&[MPC-1]'))
    ON COLUMNS
    From
    [FMI Forecasting]
    WHERE {strToMember('[All Date].[Fiscal Month
    Name].&[201401]',CONSTRAINED) :
    StrToMember('[All Date].[Fiscal Month Name].&[201411]',CONSTRAINED)}
    Requirements are as follows:
    1. Distinct Count should not include products where Proj Demand is 0, when I am using Filter function to remove products with 0 demand, query is really slow and execution time goes up from 35- 40 secs to 8-9 Minutes.
    2. When we apply filter (parameters) Distinct Count should be in the context of filters( which are mentioned in the select statement like Style, Demand Center and Merch Group). Currently after applying filters count does not change.
    Thanks for help.

    Hi Skd78,
    Thank you for your question. 
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated. 
    Thank you for your understanding and support.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Do I need to perform Process Index on the cube when measure groups has been processed with full individually?

    hi there, I am not sure if I need to perform process Index?  Do I have to do that after I process full on measure groups?
    thanks
    --Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --

    I did process update on all dimensions... after that, I did process full on each measure groups...
    In this case, do I need to process index on the whole cube? 
    Hi Cat_ca,
    ProcessFull - Simple to digest, applies all objects which means it discards the storage contents of the object and rebuilds them.
    ProcessIndexes - Applies to dimension, cube, measure group, and partition.
    Since you did process full on each measure groups, I don't think you need do a processindex, here are some links about process options on Analysis Services for your reference.
    Different Kinds of SSAS Processing in simple words
    Difference between SSAS ProcessUpdate and ProcessFull
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

Maybe you are looking for

  • Can't get rid of on screen display while watching FIOS On-demand movie

    I'm watching a FIOS on demand movie for the first time. There's a box at the bottom of the picture with the move info, like how much time is left in the movie,  etc. How can I get this to disappear?  If I press exit on remote, it disappears only brie

  • IPad won't work

    I decided to update my iPad mini to ios 7.02. It was all fine until the itunes logo came up with a usb cord. I tried to turn it off and restart it I even searched some ways to fix it but nothing works. I have connected the usb cord to the comupter an

  • Why does my video's always stop and start?

    Can't listen or watch a movie because it keeps stopping & starting. Hoping to find a solution.

  • Read array tags with OPC (not DS) -- LV6.1

    Hello DSC experts: The Siemens OPC server to which I am connected publishes array tags and I cannot change that fact. I can read those array tags using the "Datasocket Read Double Vector.vi" but as the number of tags grows this slow method becomes un

  • Negative posting from SD

    Hello experts   Is there any way to make negative posting when Good issue cancellation (VL09)? Paresh Jivani