Sporadic behavior of Cube in SSAS 2008 R2

Hi All,
I am working on a MS BI project. The details and the issue are as follows:
Issue: Everything works fine as usual when the cube is processed and reports are deployed. After some days, the reports start returning incorrect data. I cannot say incorrect data in specific
but the base measures become null and if we take the original query from SSRS, run in MDX query window or browse it from the cube for the same selection criteria, the base measures show null while calculated memebers in cube sometimes return data/sometimes
not.
And if we remove any of the attribute from the select clause or remove/add any thing into subcube of mdx query gives correct results.
Strange thing here is keeping everything same, clear the cube cache or reprocessing the cube resolves the issue.
Details:
The SQL server version: (Microsoft SQL Server 2008 R2 (SP2) - 10.50.4000.0 (X64)   Jun 28 2012 08:36:30   Copyright (c) Microsoft
Corporation  Enterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) )
Cube: The cube contains around 45 dimensions All of the dimensions are directly related to the fact except 4 dimensions.
Among 4 dimensions(parentchild dimension1, parent child dimension2, Dimension3 and Dimension4) above , 2 are parent child dimensions. Parent Child dimension 1 is related to the fact through many to many and parent child dimension 2 is related to the
fact through reference relationship. Dimension3 is related to fact through many to many. Dimension4 related to the fact through cascading many to many.
And cube is pure MOLAP.
SSRS : SSRS reports fetch the data from cube. In MDX, we are using subcube to limit the data and slice the data. And the
parentchild dimension2, Dimension3 mentioned above is always a part of the subcube.
Your help would be greatly appreciated.
Thanks and Regards,
Dinesh

It may be worth installing the latest cumulative update on your dev server to see if that fixes it. There are a few fixes in cumulative updates post SP2 that might possibly address this:
http://support.microsoft.com/kb/2821836 and
http://support.microsoft.com/kb/2895694
http://artisconsulting.com/Blogs/GregGalloway

Similar Messages

  • Dynamically adding more attributes to cube dimension in SSAS 2008 R2

    I need to dynamically add more attributes to cube dimension in SSAS 2008 R2 because the dimension table the cube is based on is updated using dynamic pivoting and there is need to update the cube dimension attributes as more columns are added to the dimension
    table without making the changes through BIDS. Is there a way to dynamically adding more attributes to cube dimension in SSAS 2008 R2?
    Thanks
    BI Developer

    Definitely. You can use AMO to add dimension attributes on the server. I have definitely done this a few times for different clients of mine. Here is a generic AMO sample:
    http://msftasprodsamples.codeplex.com/wikipage?title=SS2008%21Readme_AMOAdventureWorks&referringTitle=Home
    Notice the parts which add attributes to a dimension.
    http://artisconsulting.com/Blogs/GregGalloway

  • BO on SSAS 2005 vs SSAS 2008

    Hello,
    We have been testing a BO OLAP Universe on top of a SSAS cube.
    We have BO XI 3.1 base version on windows.
    We observe this behavior.
    Consider a  BO query against an OLAP Universe ( A few calculated measures thrown in ). We isolate the query using the tracer.
    1. If you run the MDX query against SSAS(2005) through Management studio it comes back in a few seconds.
    2. If you run the equivalent report in BO against SSAS(2005) - It runs for 1 hour and times-out.
    3, If you run the same report in BO against SSAS( 2008) - the response comes back within a minute.
    We do know that BO query generated is not the most efficient query. Howver the above observation makes us wonder - if query is not the only factor in the performance. Does 2005 treat requests differently, may be putting some on low priority or could this be some kind of issues due to load on 2005 server and Management studio some-how smartly integrated to get a faster response?

    Hi Didier,
    Happy New Year and thanks for your responses.
    "But if you are running the same MDX with SQL Server Management Studio and BO on SSAS 2005, it is hard to explain such differences." - Yes ..thats what concerns me..unless somehow this data is getting cached.. in which case BO should return the same.
    But yes, i agree..the performance seems to have improved with 2008.
    "What is the volume of data returned by the query?" - not much...may be less than 10000 rows
    "Are you doing formatting and/or local variablles in the document (I assume it is Web Intelligence)?" - none.. no additions at all.. its a report out of cube universe objects only.
    Here is a sample MDX. (Have nodified it WITH - to enable running it in Management studio)
    WITH SET NS2760D09E31A94B28B8996E8BF495DD34_2 AS Filter([Date].[Month].levels(1).allmembers,((([Date].[Month].currentmember.properties("CAPTION")="August 2009"))))
    SELECT
        [Measures].[Sales YTD]
       ,[Measures].[Sales MTD]
      } ON COLUMNS
    ,NON EMPTY
        CrossJoin
          CrossJoin
            CrossJoin
              AddCalculatedMembers
                [Team].[Employee].[Employee].MEMBERS
             ,NS2760D09E31A94B28B8996E8BF495DD34_2
           ,AddCalculatedMembers
              [Team].[Team Level A].[Team Level A].MEMBERS
         ,AddCalculatedMembers
            [Team].[Team Level B].[Team Level B].MEMBERS
      DIMENSION PROPERTIES
        MEMBER_UNIQUE_NAME
       ,MEMBER_CAPTION
       ON ROWS
    FROM [OURCUBE];

  • Problem with pivot tables connected to SSAS 2008 R2 in Excel 2010: "Excel found unreadable content in ' file_name '..."

    Hi,
    I have such problem when I open in Excel 2010 14.0.7128.5000 (32 bit) a xlsx-file containing pivot tables and slicers connected to SSAS 2008 R2 cube:
    - Excel found unreadable content in '...'. Do you want to recover the contents of this workbook? If you trust...
    And this text after clicking "Yes":
    Removed Feature: PivotTable report from /xl/pivotCache/pivotCacheDefinition2.xml part (PivotTable cache)
    Removed Feature: PivotTable report from /xl/pivotCache/pivotCacheDefinition3.xml part (PivotTable cache)
    Removed Feature: PivotTable report from /xl/pivotTables/pivotTable1.xml part (PivotTable view)
    Removed Feature: PivotTable report from /xl/pivotTables/pivotTable3.xml part (PivotTable view)
    Removed Records: Workbook properties from /xl/workbook.xml part (Workbook)
    What may be the reason?
    It has become a regular at some point for files created in Excel 2013. But this file was created in the same excel in which I try to open this file.
    Thanks for help in advance.
    Best regards,
    Nikolay

    Hi,
    The whole error message like this:
    "Excel found unreadable content in '<<var>File name></var>.xls'. Do you want to recover the contents of this workbook?
    If you click Yes in the error message, the file cannot be opened as expected."
    Please try the following methods and check they are helpful:
    1. Install the hotfix for Excel 2010.
    http://support.microsoft.com/kb/2544025/en-us
    2. Installing the 'Visual Basic' component of MS Office 2010
    'Navigate to 'Control Panel >> Programs' -> select Microsoft Office 2010, and then click 'Change >> Add or Remove Programs' -> at the bottom of this list, click the 'plus' sign provided next to Office Shared Features -> click Visual
    Basic for Applications -> After that, right-click and choose Run from My Computer ->  click Continue'. 
    3. Run as administrator
    4. Go the file in Windows Explorer, right-click on the file, select Properties and at the bottom there's an area called Security, click on Unblock.
    Regards,
    George Zhao
    TechNet Community Support

  • SSAS 2008, Process Old partition

    Hi Experts ,
    I need an advice and suggestion.
    I am working on SSAS 2008, I have One Fact Table "Fact_sales".
    I have done yearly partion, I.e
    FAct_Sales_2010
    FAct_Sales_2011
    FAct_Sales_2012
    FAct_Sales_2013
    Every Year I create One Partition.
    Now in Year 2014 I added One More column i.e "Dept_key" in Fact Table and create FK PK relation with Dept_Dimension
    This Year I created partion again i.e FAct_Sales_2014 which have Dept_key in Select Statement of Partition Query.
    I do process Full , and my cube fails,Stating Dept_Key not found
    I need to know ,if new columns are added in Fact Table ,
    Is it require to Update or Recreate Old partition ??

    If you have created the partitions by Query Binding you should add Dept_key in query for each partition. After all perform full processing measure group.
    Best regards.

  • 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

  • Excel 2007 ignores the roles configured on SSAS 2008

    Hi,
    I am facing a common problem for which I have found very useful threads but they didn't manage to help me.
    My problem is on excel report, Dimension data is not filtering correctly when I connect with user credentials for which a role is configured on the cube. Excel 2007 ignores the roles configured on SSAS 2008 and I tested with 2 different users with the same
    role configuration.
    I ensured that the user doesn't fall in the server admin role and . I started up an SQL Profiler and I ensured no  * in the list of roles of the user.  I ensured also that there is no "built-in administrators group" configured (Security\BuiltinAdminsAreServerAdmin).
    http://social.technet.microsoft.com/Forums/sqlserver/en-US/7052f751-8478-4ab2-aba8-d250a1606e07/deny-access-to-analysis-services-cube-from-excel-2007
    Also I am planning to upgrade my Service Pack 1 to the cumulative pack Hot Fix 2710 ( KB969099 ) as it seems there are some known issues about dimension security on SSAS 2008. Do you really think it is a question of upgrade?
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/4b4e6e3c-bebe-4f81-8462-b2d0bd61ad11/dimension-attribute-security-on-ssas-2008-not-working-but-works-fine-on-2005
    However I managed to work around the issue on SSAS and on Excel as follow but it is the not the solution expected: 
    - On SSAS 2008 R2 cube browser, while testing using the role: Dimension values filtered correctly the required data 
    - On Excel: Unless the role is specified in the configuration of the connection then the data is not filtered.
    http://kevin_s_goff.typepad.com/kevin_s_goff_weblog/2009/12/1242009---testing-ssas-roles-in-excel.html
    It is really urgent,
    Many thanks

    Hello,
    I'm experiencing exactly the same issue and I can't find any solution to it.
    Were you able to solve it? If so, how did you do it?
    Thanks!!!

  • Tools to migrate Essbase cubes to SSAS and Hyperion reports to SSRS

    Hi,
    Is there any tool available to migrate 
    1)Essbase cubes to SSAS
    2) Hyperion reports into SSRS
    I appreciate your guidance here.
    Thanks
    Naveen

    Hi Naveen,
    I provided the following articles for your reference.
    1)Essbase cubes to SSAS
    http://blogs.msdn.com/b/mtcdata/archive/2008/06/17/migrating-essbase-shared-members-to-sql-server-analysis-services.aspx
    2) Hyperion reports into SSRS
    Using SQL Server 2005 Reporting Services with Hyperion Essbase
    http://go.microsoft.com/fwlink/?LinkId=81970
    Hyperion Essbase Connection Type (SSRS)
    https://msdn.microsoft.com/en-us/library/dd207026.aspx

  • Converting a SSAS 2008 R2 database into a SSAS 2012 Tabular database

    Hi,
    I'd like to know if it is possible to convert or migrate in whatever manner a SSAS 2008 R2 database (multidimensional) into a SSAS 2012 Tabular database.
    Many thanks

    Unfortunately there is no way to convert or migrate a multidimensional cube to a tabular model.
    This MSDN article says ...
    Because tabular is the newer solution, you might think that migrating an existing multidimensional solution to a tabular format is
    the correct course of action, but this is usually not the case. Tabular does not supersede multidimensional, and the two formats are not interchangeable.
    If you need to migrate a cube to tabular (maybe for performance reasons), unfortunately you need to build it from scratch.  I believe the reason for this is that there are concepts that do not translate across the technologies.  There are no good
    3rd party tools that I'm aware of that even attempt to do this.
    Christian Wade
    http://christianwade.wordpress.com/
    Please mark correct responses as answers!

  • SSAS 2008 snowflake - dimensions with one-to-many relationship (NOT fact table) and hierarchy?

    Hi, below is my data model for SSAS 2008 on snowflake schema.
    Below is SQL Server DW tables:
    DimStudent - StudentID [primarykey], StudentName, DateOfBirth, AddressID
    DimStudentAddresses - AddressID [primarykey], StudentID [foreignkey], ddressLine1, AddressLine2, AddressType
    FactEnrolment - StudentID, EnrolWeek, EnrolFees
    So here FactEnrolement.StudentID is joined to DimStudent.StudentID column,
    and relationship between DimStudent & DimeStudentAddresses is one to many I.e. one student can have multiple addresses like primary or secondry address.
    To design snowflake schema in SSAS 2008 BIDS project :
     [Question-1] how to join one-to-many dimensions (NOT fact table) Like DimStudent & DimAddresses?
     [Question-2] At the end I want to have a single dimension only I.e. Student which should have both DimStudent & DimStudentAddresses tables attributes init. So I can create hierarchy from these two table into a single dimension? How
    to do this?
    Please reply with feedback particular to my above scenario as I refereed other MSDN forums but nothing solid I found.
    Any STEP-BY-STEP guideline please. Many thanks.

    Hello KM,
    Have you solved this issue after refer to Bill's suggestion? Please let us know how things go.
    If you have any feedback on our support, please click
    here.
    Best Regards,
    Elvis Long
    TechNet Community Support

  • MDX queries that used to work on SSAS 2008 not working on 2012

    Hello,
    We are still using the old PerformancePoint planning server which is writing MDX queries against a SSAS 2012 at this time.   What used to work against SSAS 2008 is now having issues.   I captured a profile and the part of the query which
    generates the error is this error:  The '' calculated member cannot be created because a calculated member with the same name already exists.    What has changed in SSAS 2012 where this would not work anymore?;  is there anyway to
    make the 2012 environment work with this code again?.   The code generation is out of my control so I need to find a way to enable backwards compatibility with the way the tool generates the MDX statements.
    WITH
      MEMBER [Account].[Staffing_V3].[] AS ""
      MEMBER [Account].[Staffing_V3].[] AS ""
      MEMBER [Account].[Staffing_V3].[] AS ""
      MEMBER [Account].[Staffing_V3].[] AS ""
      MEMBER [Account].[Staffing_V3].[] AS ""
      MEMBER [Account].[Staffing_V3].[] AS ""
      MEMBER [Account].[Staffing_V3].[] AS ""
      MEMBER [Account].[Staffing_V3].[] AS ""
      MEMBER [Account].[Staffing_V3].[] AS ""
      MEMBER [Account].[Staffing_V3].[] AS ""
      MEMBER [Account].[Staffing_V3].[] AS ""
      MEMBER [Account].[Staffing_V3].[] AS ""
      MEMBER [Account].[Staffing_V3].[] AS ""
      MEMBER [Account].[Staffing_V3].[] AS ""
    Thanks,
    Matt

    Hi Matt,
    According to your description, the MDX query which has the duplicate calculated member name can run success with out any problems in SSAS 2008, however the same query cannot work in SSAS2012 with the error below, right?
    The '' calculated member cannot be created because a calculated member with the same name already exists.
    I have tested it on my local environment, and the result turn out that this is the default change by Microsoft from SSAS 2008 R2 version. And I am afraid there is no any workarounds run this similar query in SSAS 2012. So in your scenario, you
    need to remove the duplicate members in the query.
    Thank you for your understanding.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Greater than Equal to Functionality when retirivng data from SSAS 2008 cube using SSRS 2012 report not working

    I have an SSRS 2012 report and SSAS Cube in 2008. My report criterion requires filtering on measures. So Created measures as dimensions . The report requires >= functionality on the measures. But in the Query designer of 
    the report there is =, IN, Within Range ,Excluding range , MDX as the operators.
    To achieve my goal. I have “From” and “To” as parameters on the numeric dimension. The “To” parameter I have set as internal and setting
     the default value of  “TO” .By writing another Dataset query that returns the “MAX” 
    value and the MAX value returned is a member of the measure converted to dim I confirmed.. So this whole works as >=.The user enters only the “FROM” parameter and the “TO” is set internally. The user can enter any value in the “From” parameter. Any
    value that is not even a member.It is a textbox. I cannot use a list of values from the “From” parameter.
    But whenever I run the report after entering all the selection criteria
     I keep getting
    Error “the restrictions imposed by the constrained flag in the strtomember functions were violated”
    I know this means that Max value in the “TO” section is not a member .
    I did try
    : StrToMember("[Fact RCS CV BLAST].[APPRLIMIT ACH].
    &[" & @ToFactRCSCVBLASTAPPRLIMITACH &
    "]", CONSTRAINED) )
     But I get “syntax for the “&” is incorrect”
    If I use Drop down for the “From” and “To” parameters then it works fine. But that’s not what Business Users need.
    Please let me know what the options to make this work. I did use parameters that filter the
     Dataset returned it works fine but there is a performance impact.

    Hi,
    I think if you use the following method you will be able to compare the members.
    CDbl(StrToMember("[Fact RCS CV BLAST].[APPRLIMIT ACH].&[" + @ToFactRCSCVBLASTAPPRLIMITACH + "]").Member_Name)
    As you mentioned that you converted your measures as dimensions, you are having an integer value as the member name. In that case use VBA functions with MDX to do the datatype conversion.
    Take a look into the following MDX written against Adventure Works;
    WITH CALCULATED MEMBER [Measures].[Member Name] AS
    CInt
    Right
    CStr
    [Date].[Calendar Year].CURRENTMEMBER.MEMBER_NAME
    ), 4
    SELECT {[Measures].[Sales Amount], [Measures].[Member Name]} ON COLUMNS,
    FILTER
    [Date].[Calendar Year].[Calendar Year].MEMBERS,
    CInt(Right(CStr([Date].[Calendar Year].CURRENTMEMBER.MEMBER_NAME), 4)) >= 2005 AND
    CInt(Right(CStr([Date].[Calendar Year].CURRENTMEMBER.MEMBER_NAME), 4)) <=2008
    } ON ROWS
    FROM [Adventure Works]
    I am filtering the Years by using the member names by extracting the Integer portion of the member name and applying data type conversion functions in VBA. So I 
    Keep in mind that you have to get rid of the CONSTRAINED clause if your business users can enter anything on the SSRS text box. 

  • SSAS 2008 Using multiple (three) fact tables in the same cube

    Hi, I have three fact tables in my cube,
    Actions
    Events
    Visits
    Events captures anything that happens, any transaction.  It contains parent actions and parent visits, plus other things that business deems as "actions" that change all the time.
    Actions captures a subset of Events and has its own transactional structure.  Each action has an event, but not every event has an action.
    Visits is a completely different subset of Events with a very different transactional structure from both events and actions.  Each condition can have an event, but not every event has a condition.
    These facts don't have many overlapping dimensions, perhaps a couple of outrigger look-up dimensions, like Codes and Dates.
    I am struggling to reorganize the cube in such a way that I don't have to process with errors and unknown dimension members.  Is there any specific guidance re: what to do in these situations?

    @Victor Rocca
    Some dimensions are common, like Dates and Codes, but mostly they are their own dimensions.  Visits
    and Actions facts have foreign keys from Events in them, so I would prefer to join directly, anyway.

  • SSAS 2008 Linking two cubes on the foreign key between two fact tables

    Hi, all -- 
    I have two cubes:
    Cube 1 has Fact1 (F1, "Events") and 3 dimensions (D1, D2, D3)
    Cube 2 has Fact2 (F2, "Sales") and 3 dimensions (D4, D1, D6)
    As you can see, two cubes reuse D1 as their common dimension.  In addition, F2 foreign keys into F1, e.g. F1 is "Events", and F2 is "Sales".  Every "sale" is an "event", but not every "event" is
    a "sale".
    The question is, how to I link the two cubes and their two respective fact tables on the foreign key?
    Thanks, Austin.

    Hi Austin,
    According to your description, you want to retrieve data from two different cubes, right? In Analysis Services, to query multiple cubes from a single MDX statement you can use the LOOKUPCUBE function (you can't specify multiple cubes in your FROM statement).
    The LOOKUPCUBE function will only work on cubes that utilize the same source database as the cube on which the MDX statement is running. For the detail information about it, please refer to the link below to see the blog.
    Retrieving Data From Multiple Cubes in an MDX Query Using the Lookupcube Function
    If I have anything misunderstood, please point it out.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Error browsing SSAS 2008 cube on Windows 7 with SSMS 2008 R2 Client

    I recently have upgraded to Windows 7 and SSMS 2008R2 and I'm trying to browse a cube through SSMS and I'm getting the following error below after connecting and trying to browse. I have verified that I have .Net 3.5 with SP1 installed. I also
    was able to connect to the cube using Excel verifying that I'm able to authenticate and connect to the cube. One side note, I do have Office 2010 and I'm not sure how this plays into the equation.
    TITLE: Microsoft SQL Server Management Studio
    Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
    BUTTONS:
    OK
    Big Ern

    Hi,
    Cube browser in 2008R2 still use OWC 11, so please check if you have installed the OWC11.
    You can download via below link:
    http://www.microsoft.com/downloads/details.aspx?FamilyID=7287252c-402e-4f72-97a5-e0fd290d4b76&displaylang=en
    Another similar thread:
    http://social.msdn.microsoft.com/Forums/en/sqlanalysisservices/thread/57bbbf6c-6a24-40d4-b0d1-a617f4dfae2d
    Hope this helps,
    Raymond

Maybe you are looking for

  • I renewed my subscription, but my old online numbe...

     Really irratated by the fact that I renewed my previous subscription for a online number but my previous online number doesn't show. I think I spent more than I should have on my subscription and it still doesn't do what I thought it would do. What

  • HT201232 Manually manage music and video

    I recently purchased a new iPhone 6 and needed to reload all of my music and videos back on the phone. I have always selected the check box manually manage music and videos. For the music this worked great. However, for the videos I cannot move any v

  • Dvds made from idvd are sometimes incompatible with PCs

    I work in a university setting that has a mix of mac and pcs. I make the dvds using iDVD but am running into problems when they get played on pcs. Is there a preference or something special I can do when I know it will be played on those systems?

  • Safari crashing + crash log

    Hello, safari keeps crashing and i have no idea what to do - have already deleted safari plist. crash log below - any help? thanks Process: Safari [188] Path: /Applications/Safari.app/Contents/MacOS/Safari Identifier: com.apple.Safari Version: 5.0.3

  • How to import wsdl in jbuilder or myeclipse

    Hi, I'm trying to make the web service client work. I have been searching on the subject, but not been able to do so.. Please tell me how to import a WSDL link (which I have) in Jbuilder or MyEclipse. Thanks, Katie