.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

SSAS 2005 - All Member

Posted By:      Posted Date: October 02, 2010    Points: 0   Category :Sql Server

Hi All,

I've 2 product hierarchies and sales volume should be calculated differently for both the hierarchies.

e.g H1 : Sales volume = vol and H2 : Sales volume = vol * 2.5.

SCOPE ( DESCENDANTS([Product].[H1].[All Product]),
        [MEASURES].[*Sales Volume]);  
    THIS = [MEASURES].[*Sales Volume];

SCOPE ( DESCENDANTS([Product].[H2].[All Product]),
        [MEASURES].[*Sales Volume]);  
    THIS = [MEASURES].[*Sales Volume] * 2.5;

Except for "All" level everything else works fine. How do I make "All member show the correct agg value?

Any help is appreciated.

Thanks very much,


View Complete Post

More Related Resource Links

Kerberos between MOSS 2007 and SSAS 2005


I realize this is probably going to be one of those vague questions that I am not going to get much help on here, but I thought I'd give this a shot before we go the MS Incident route on monday.

We have tried to setup Kerberos between MOSS 2007 AND SSAS 2005 to no avail.  We have been through the knowledge base articles outlining the setup multiple times with all the experts on MOSS and Security here where I work.  We've used other materials we have on kerberos here.  But the end result is that the double hop is not happening.  We are trying to connect three ways: excel services, ssrs 2005 in integrated mode, and Sharepoint KPI's (using analysis services).  In every case the connection is not happening.

Other details are that the ssrs integrated mode seems to be setup right because I do get a report (albiet all it has is a connection error message).  Excel services works fine if I use the unattended service account, but when I switch the odc file to windows (should cause kerberos to kick in) it fails.  When I try to add a kpi to the kpi list it can't retrieve a list of kpi's from ssas.

In all cases I am the user trying to perform these operations, and I have total access to the cube -- I'm the developer.  I have no problems connecting to the cube directly through excel, so the security at that end passes t

Shared dataset in SSRS 2008 R2 running on SSAS 2005

I am trying to create a report in SSRS 2008 R2 using SSAS 2005 as a datasource. My dataset has a date parameter. When I create an embedded dataset in my report everything works fine, but when I create a shared dataset with the exact same mdx query, I get the following error: An error occurred during local report processing. The definition of the report 'xxxx' is invalid. The Value expression for the report parameter 'DateCalendarHierarchy' contains an error: [BC30034] Bracketed identifier is missing closing ']'. Does anybody have any ideas? Is this a bug? Thanks, Louis

Can SSAS 2005 run with Sql Server 2008 database engine?

Are there any known issues of running SSAS 2005 with SQL Server 2008 database engine?

How to change connection string of a pivot table pointing to SSAS 2005 cube using excel 2003?

Hi All,I am not sure if I should have posted this query to Excel 2003 forum. But posting it here as it applies to SSAS 2005 as well.Ok, let me give the background before I tell the actual problem.We have users on ABC domain and the SSAS server is also on ABC domain. Users on this domain can acess the excel pivots by connecting to cube to browse the data. They leave the Userid & password field blank while they setup the connection string and it works fine. Thanks to windows authentication that takes the credentials of user logged in. Let's say I have two users A and B, they login to ABC domain with their own windows ids.  Now when user A creates a excel file having a cube pivot and then sends this file to user B, user B can refresh and modify the same excel file (he can select new measures to pivot, new hierarchies in filters and so on).Now, let's say I have another user, user C. He has excel 2003 installed on his PC and cannot migrate to excel 2007. He is on different domain XYZ but have a valid windows userid on domain ABC. The domain ABC & XYZ can not be setup to have trusted relationship. Now, when user A sends the same excel file to user C. When user C opens the file and try to refresh it or try to modify the pivot by selecting/deselecting any elements, he gets below error prompt:" An error was encountered in the transport layer." and "Errors in the

create a calculated member in a cube in SSAS

Hello   I’m trying to create a calculated member in a cube in SSAS and was hoping someone could help.   What I’m looking to do is count the number of occurrences of a value in a field.  I have Status field that contains New, Renewals and Enquiries and another field that contains a count, the problem I have and the reason for this query is the count is set to 0 for Enquiries.   The tSQL equivalent would be something like...   Select Date, Status , count(Status) From aTable Where Status = ‘ENQ’   And to summarise, what I’m looking to do would look something like the below   Date Status Count Commission Apr-10 NEW 1 100 May-10 NEW 1 100 May-10 REN 1 50 Apr-10 ENQ 0 0 May-10 ENQ 0 0 Jun-10 REN 1 50 May-10 NEW 1 100 Just looking at the ENQ by month. Date Count of ENQ     Apr-10 1     May-10 1     Jun-10 0       Any help gratefully received.

SSAS 2008 and SSAS 2005

Olap cube created in SSAS 2008 and processed in SSAS 2008 gets same result of measure as the result counted by hand. However, the same cube processed in SSAS   2005 shows incorrect value. What can be the reason?

Excel 2007 connectivity to SSAS 2005 cube

Hello - I am using an excel 2007 odc file to connect to an analysis services 2005 cube (on windows server 2003 R2 OS). I receive the following error message   "Excel was unable to get necessary information about this cube. The cube might have been reorganized or changed on the server" Have already attempted the following fixes but running out of ideas now 1. Added localeIdentifier to ODC file    <odc:ConnectionString>Provider=MSOLAP.3;Integrated Security=SSPI;Persist Security Info=True;Data Source=bisql;Initial Catalog=SLAM ACT BUD; LocaleIdentifier = 1033 </odc:ConnectionString> 2. Ensured that all dimensional attributes which are used in MDX calculations (named sets, calculated members) are set to "AttributeHierarchyEnabled  = True" Running out of steam so any help is greatly appreciated.

SSRS 2005 with SSAS Parameter is not declared

Hello, I'm builind a mdx query to my report in ssrs 2005 with ssas 2005 all on SP3. I'm having the hardest time to add a custom parameter to the query, I add it to the dataser parameters tab ("..." button). Then when I try to use it in my query I get an error: The query uses a parameter, which is not declared. I've seen some examples on the goo.. internet but none seems to work. My query runs fine like this STRTOMEMBER("[dimension].[entity].&[16]") but it fails if I try to do this.. STRTOMEMBER("[dimension].[entity].&[" + @entityid + "]") Am I trying to do impossible? :) Any idea on how to get such filter to work? My filters are a bit complex that's why I can't simply use the "Parameter" checkbox in the query designer mode. Thanks!

Ignoring Blank member names in SSAS

Hi all, I was wondering if there is a quick and easy way to ignore any member name that has a blank name?  Currently I have a cube where I get (Blank) as the member name which has a value associated to it and I need to hide/delete these. I didnt design the underlying fact and dimension tables so wanted to know if there is a quick way within SSAS/MDX to say something like "If member name is (Blank) then ignore. Thanks in advance for you help.

Trouble to connect report on SSAS 2005

Hello! I have deployed my first report (ssrs2008) using a ssas (2005) cube as data source but I can't get it to work. I setup the credentials to use Windows Authentication in the SSAS data source and when I open the report from the rs server it renders fine, however when I try it from a workstation I get the error below: The SSRS instance is not on the same server as SSAS. Any Clue? Thanks! Cannot create a connection to data source 'TestCube'. The connection either timed out or was lost. Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. An existing connection was forcibly closed by the remote host

"The member was not found when the string was parsed - SSAS 2008/PivotTable



    I have defined an Additional Action to show me some detailed records when I'm using a PivotTable against an SSAS 2008 cube.  However, the problem is intermittent.  It seems to be complaining about a datetime field - yet this datetime field isn't even being requested as one of the drillthrough columns. 

    The full message is "Query (187,1319) The member '&[2010-07-30T15:31:44:263333] was not found in the cube when the string [Final Criminal Count Charge].[Load Datetime].[All].&[2010-07-30T15:31:44.263333], was parsed."

   Any assistance would be gratefully accepted!!


SSAS Data Member Issue


Hi all,

I am using SQL 2005 - SSAS- Calculations tab to create data member. I am using two numeric columns from the fact table to create a data member, after that I use calculation properties "associated measure group' to link with the fact table. Now it is showing in perspective tab at the bottom.

But for some reason it's NOT SHOWING IN THE FACT TABLE in  browser tab where I am viewing some resutls.

Please let me know what I did wrong? Or if I missed something?




SSAS - performance penalty standard dimension without custom member formulas VS standard dimension w


Hi all

I was wondering if there is a big performance penalty if one introduces custom member formulas to a standard dimension.


SSAS - Use simultaneously unary operator and custom member formula in a PC (Parent-Child) dimension


Hi all

I was wondering (even this might a very bad idea from a logical and performance perspective) if it is possible to use unary operator and custom member formula simultaneously? Until now I have used unary operator but now some new calculation can't be expressed using unary operator. The idea is just to add the new members calculation to custom member formulas. Is it possible to make cohabitate both. If I had to switch all unary operators to customer member formulas what would be the equivalent expression for +, - , ~?

thanks for your answer


SSAS Calculated Member not working as expected in a SSRS report


Dear forum guys, I have a simple cube to analyze my customer's sales. I have a Time Dimension, a Product Dimension (with a few hierarchys) and a couple measures (sales and purchase amounts).


I also have defined a few Calculated Members, in particular the average sales and purchase amount over the last 12 months from the selected month.


I need to show the results in a SSRS Report: the user must select a month and the report needs to show the sales and purchase amount of the selected month and the average of the previous 12 months (both for sales and purchases).


Everything works perfectly if I test the cube using the Cube Browser or Excel 2007 as a client.


When I define the SSRS Report I cannot get to work with the calculated members (the average): I get strange numbers which are much higher than the real numbers.


I've tried both Matrix and Table reports.


Can anyone suggest me what I'm doing wrong: I think this should be a very common mistake.


Best regards



How to create Fact Table and Dimention Table in SSAS 2005 ?


Hi friends,

I am very new to SSAS world.

My question, can any one guide me , how to create Fact Table and Dimention Table ?


How to customize column names in Drill through action of SSAS 2005?

Hi Everyone,

Can somebody tell me about:How to customize column names in Drill through action of SSAS 2005?

I have defined drillthrough actions in SSAS 2005 cube. Drillthrough action is working very fine.

But while browsing the cube when i drillthrugh the data, my column names are shown as [$Employee Details].[Employee No], [$Employee Details].[Employee Name] etc.

I want to depict it only as Employee No, Employee Name etc.

Please help...

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend