The "Measures" dimension contains more than one hierarchy... Collation issue

It appears that an Excel query pased through to SSAS has a "measures" with lowercase "m" when analysis services expects an uppercase "M" so it should look like "Measures". Is there a fix in excel to allow
the correct passing of "Measures" member name to the cube?
BTW, I have NO Calculations in the cube.
In excel 2013 when I pivot with a pivot table connected to a case sensitive collation (non default config)
cube and perform a filter by "Keep only Selected Items" I get the error "The 'Measures' dimension contains more than one hierarchy, therefore the hierarchy must be explicity specified".
When I revert back to server wide setting to case insensitive, and I preform the exact same pivoting function it works without error. The problem appears to be that excel does not understand the server collation setting.
When I run SQL Server Profilier I narrowed down the MDX statement run in Excel that gives me an error to this:
with
member measures.__XlItemPath as
Generate(
Ascendants([Employee].[Location Code].currentmember),
[Employee].[Location Code].currentmember.unique_name,
"|__XLPATHSEP__|"
member measures.__XlSiblingCount as
Generate(
Ascendants([Employee].[Location Code].currentmember),
AddCalculatedMembers([Employee].[Location Code].currentmember.siblings).count,
"|__XLPATHSEP__|"
member measures.__XlChildCount as
AddCalculatedMembers([Employee].[Location Code].currentmember.children).count
select { measures.__XlItemPath, measures.__XlSiblingCount, measures.__XlChildCount } on columns,
[Employee].[Location Code].&[01W]
dimension properties MEMBER_TYPE
on rows
from [Metrics]
cell properties value
Playing around with the query I discovered that if I capitalize the first letter of the "with measures" member, the statement works.
with
member Measures.__XlItemPath as
Generate(
Ascendants([Employee].[Location Code].currentmember),
[Employee].[Location Code].currentmember.unique_name,
"|__XLPATHSEP__|"
member Measures.__XlSiblingCount as
Generate(
Ascendants([Employee].[Location Code].currentmember),
AddCalculatedMembers([Employee].[Location Code].currentmember.siblings).count,
"|__XLPATHSEP__|"
member Measures.__XlChildCount as
AddCalculatedMembers([Employee].[Location Code].currentmember.children).count
select { measures.__XlItemPath, measures.__XlSiblingCount, measures.__XlChildCount } on columns,
[Employee].[Location Code].&[01W]
dimension properties MEMBER_TYPE
on rows
from [Metrics]
cell properties value
Also, I realise that I could change the collation on just the cube itself to case insenstive to get this to work, but I really don't want to do an impact analysis of running a mixed collation environment.
So, my question is: Is there an excel fix that will allow me to run a case sensitve cube and allow me to click on filter and filter by "keep only selected items" or "Hide selected Items"? All other filtering works, it's only those two
filtering options error for me.
Here are the versions I'm working with:
Excel 2013 (15.0.4535.1507) MSO(15.0.4551.1007) 32-bit Part of Microsoft Office Professional Plus 2013
Microsoft Analysis Server Enterprise 2012 11.0.3000.0
Any help would be appreciated. Thank you in advance!

Hi, i assume this logic is for Dimension formula?
If you have multiple hierarchy like ParentH1 and ParentH2 you should use FormulaH1 and FormulaH2 and not FORMULA column.
in FORMULAH1
[Account.H1].[Account_A] / [Account.H1].[Account_B]

Similar Messages

  • OWB10gR2 - Cube with relations to a dimension with more than one hierarchy

    Hi,
    I have defined a time dimension with two hierarchies. The standard hierarchy with the levels year-> month-> day,
    and a week hierarchy with the levels year-> week-> day.
    When I define the cube i choose dim_time on the dimension tab of the cube and select the level day for that dimension since this is the lowest level of both hierarchies.
    When I validate the cube I get the following error Message: VLD-0398: In the Cube test_cube, the dimension DIM_TIME has 2 hierarchies but Cube does not have reference to all lowest levels of these hierarchies.
    Validation details: The Cube should refer to a leaf levels of all multiple hierarchies of the Dimension.
    Do I have to add the dimension to the cube several times? or is it maybe another way to fix this? To me it seems a bit messy to add a dimension for each hierarchy.
    And just as a comment, Yes i know OWB now has a time dimension wizard but I have chosen not to use this at the moment.. ;)
    Regards Ragnar

    Hi, i assume this logic is for Dimension formula?
    If you have multiple hierarchy like ParentH1 and ParentH2 you should use FormulaH1 and FormulaH2 and not FORMULA column.
    in FORMULAH1
    [Account.H1].[Account_A] / [Account.H1].[Account_B]

  • New iTunes on Mac doesn't allow me anymore to select all songs and 'Get info' to adjust the volume, like the old one. It says"your selection contains more than one type of media". They are all songs! Help please!

    New iTunes on Mac doesn't allow me anymore to select all songs and 'Get info' to adjust the volume, like the old one. It says"your selection contains more than one type of media". They are all songs! Help please!

    Raya Alfa wrote:
    ...there are some that are mp3 and it will be extremely hard to pick them from the lot.
    Not true. Select "Kind" as a sort category by right clicking the headings
    Then click to sort by Kind
    If your Import Settings are for Apple Lossless, AIFF, AAC or whatever the majority of your files are, convert MP3s to that file type.
    I've presently got 17,000+ files in my library, and they're ALL MP3 or M4B(Audiobooks). If they weren't when I got them, I converted them.  Saves a LOT of hassels with just this type of situation. Besides I have two non Apple MP3 players that WON'T work with other file types besides MP3 so, EVERYTHING I have has to be MP3.

  • Sequence contains more than one element error in MVC 5

    I created some models, added the migration and then did an update database operation, though at my last update database operation I got the error message saying:
        Sequence contains more than one element
    Below you can find my migration configuration:
            context.Categories.AddOrUpdate(p => p.CategoryName,
                new Category
                    CategoryName = "Sport"
                new Category
                    CategoryName = "Music"
            context.Subcategories.AddOrUpdate(p => p.SubcategoryName,
                new Subcategory
                    SubcategoryName = "Football"
                new Subcategory
                    SubcategoryName = "Basketball"
                new Subcategory
                    SubcategoryName = "Piano"
                new Subcategory
                    SubcategoryName = "Violin"
            context.Services.AddOrUpdate(p => p.ServiceType,
                new Service
                    ServiceType = "Football player",
                    Category = { CategoryName = "Sport" },
                    Subcategory = { SubcategoryName = "Football" }
                new Service 
                    ServiceType = "Piano lessons",
                    Category = { CategoryName = "Music" },
                    Subcategory = { SubcategoryName = "Piano" }
    The problem occurs with when I add new Services. I already have categories and subcategories, and if I do like Category = new Category { CategoryName = "Music" } then it works but I get Music entry twice in my database (for this example). I want to
    use the already added categories and subcategories. Below also you can find my models definitions.
    public class Category
        [Key]
        public int CategoryID { get; set; }
        public string CategoryName { get; set; }
    // Subcategory is defined the same way...
    public class Service
        public int ServiceID { get; set; }
        public string ServiceType { get; set; }
        public virtual Category Category { get; set; }
        public virtual Subcategory Subcategory { get; set; }
    }

    After reading the article in the link that you have provided, I did the following changes in my models, and created controllers for each of them using Entity Framework, then I created a migration and named it InitialServices. Afterwards, I added a few
    entries in my Configuration.cs file and when I typed Update-Database, I got an error message in package manager saying "RenameIndexOperation", which is marked with red. Below you can find my changed models and my Configuration.cs file, along with the migration
    file created automatically.
    Category.cs:
        public class Category
            [Key]
            public int CategoryID { get; set; }
            public string CategoryName { get; set; }
            public virtual ICollection<Subcategory> Subcategories { get; set; }
    Subcategory.cs:
        public class Subcategory
            [Key]
            public int SubcategoryID { get; set; }
            public string SubcategoryName { get; set; }
            [ForeignKey("Category")]
            public int CategoryID { get; set; }
            public virtual Category Category { get; set; }
            public virtual ICollection<Service> Services { get; set; }
    Service.cs:
        public class Service
            [Key]
            public int ServiceID { get; set; }
            [Required]
            [Display(Name="Service type")]
            public string ServiceType { get; set; }
            [ForeignKey("Subcategory")]
            public int SubcategoryID { get; set; }
            public int Count { get; set; }
            public virtual Subcategory Subcategory { get; set; }
    _InitialServices.cs:
        public partial class InitialServices : DbMigration
            public override void Up()
                DropForeignKey("dbo.Services", "Category_CategoryID", "dbo.Categories");
                DropIndex("dbo.Services", new[] { "Category_CategoryID" });
                RenameColumn(table: "dbo.Services", name: "Subcategory_SubcategoryID", newName: "SubcategoryID");
                RenameIndex(table: "dbo.Services", name: "IX_Subcategory_SubcategoryID", newName: "IX_SubcategoryID");
                AddColumn("dbo.Subcategories", "CategoryID", c => c.Int(nullable: false));
                CreateIndex("dbo.Subcategories", "CategoryID");
                AddForeignKey("dbo.Subcategories", "CategoryID", "dbo.Categories", "CategoryID", cascadeDelete: true);
                DropColumn("dbo.Services", "Category_CategoryID");
            public override void Down()
                AddColumn("dbo.Services", "Category_CategoryID", c => c.Int(nullable: false));
                DropForeignKey("dbo.Subcategories", "CategoryID", "dbo.Categories");
                DropIndex("dbo.Subcategories", new[] { "CategoryID" });
                DropColumn("dbo.Subcategories", "CategoryID");
                RenameIndex(table: "dbo.Services", name: "IX_SubcategoryID", newName: "IX_Subcategory_SubcategoryID");
                RenameColumn(table: "dbo.Services", name: "SubcategoryID", newName: "Subcategory_SubcategoryID");
                CreateIndex("dbo.Services", "Category_CategoryID");
                AddForeignKey("dbo.Services", "Category_CategoryID", "dbo.Categories", "CategoryID", cascadeDelete: true);
    Configuration.cs:
    protected override void Seed(Workfly.Models.ApplicationDbContext context)
                var categories = new List<Category>
                    new Category { CategoryName = "Sport" },
                    new Category { CategoryName = "Music" }
                categories.ForEach(c => context.Categories.AddOrUpdate(p => p.CategoryName, c));
                context.SaveChanges();
                var subcategories = new List<Subcategory>
                    new Subcategory { SubcategoryName = "Football", CategoryID = categories.Single(c => c.CategoryName == "Sport").CategoryID },
                    new Subcategory { SubcategoryName = "Basketball", CategoryID = categories.Single(c => c.CategoryName == "Sport").CategoryID },
                    new Subcategory { SubcategoryName = "Piano", CategoryID = categories.Single(c => c.CategoryName == "Music").CategoryID },
                    new Subcategory { SubcategoryName = "Violin", CategoryID = categories.Single(c => c.CategoryName == "Music").CategoryID }
                foreach (Subcategory s in subcategories)
                    var subcategoriesInDB = context.Subcategories.Where(c => c.Category.CategoryID == s.CategoryID).SingleOrDefault();
                    if (subcategoriesInDB == null)
                        context.Subcategories.Add(s);
                context.SaveChanges();
                var services = new List<Service>
                    new Service { ServiceType = "Football coach", SubcategoryID = subcategories.Single(s => s.SubcategoryName == "Football").SubcategoryID },
                    new Service { ServiceType = "Piano lessons", SubcategoryID = subcategories.Single(s => s.SubcategoryName == "Music").SubcategoryID }
                foreach (Service s in services)
                    var servicesInDB = context.Services.Where(t => t.Subcategory.SubcategoryID == s.SubcategoryID).SingleOrDefault();
                    if (servicesInDB == null)
                        context.Services.Add(s);
                context.SaveChanges();
            }

  • Sequence contains more than one matching element

    Hi
    I have checked all threads and none answers my issue.
    I am trying to drop a user and am following this blog:
    http://sanderstechnology.com/2013/login-and-user-management-in-sql-azure/12826/#.U46Hh_mSweo
    Below is a series of screen-shots of the issue. Please assist. Thanks, Mark.
    Mark

    Hello,
    Based on your descritpion, you create a SQL database with WEB edition and try to connect to the MASTER database from Windows Azure Management portal. But it is failed with "Sequence contains more than one matching element" occasionally.
    Due to the uncertainty and randomness factors, it requires higher level troubleshooting methods.I suggest you contact Windows Azure support team by creating a support ticket at 
    http://www.windowsazure.com/en-us/support/contact if you recevied this error again.
    As for drop login, it may caused by the premssion. In SQL databae, only server-level principal login (created by the provisioning process) or the credentials of an existing member of the "loginmanager" database role can manage logins. If you are not use
    a server-level principal login, please ask the adminstrator add the login to loginmanager databaserole:
    EXEC sp_addrolemember 'loginmanager', 'login-you-used';
    Reference:http://msdn.microsoft.com/en-us/library/azure/ee336235.aspx
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here. 
    Fanny Liu
    TechNet Community Support

  • Support for more than one hierarchy

    Is it possible to include more than one hierarchy in a Crystal Report? I have tried and am getting some unexpected results. I have two groups, each with it's own hierarchy. When I run the report, the top level hierarchy is returning "extra" summary nodes for each level below the top level.
    Let's say the hierarchy looks like this:
    USA
         East Coast
         Central
         West Coast
    When it is brought back into Crystal, it looks like:
    USA
        Central
        West Coast
        East Coast
        Central
        West Coast
    The summaries get split up between the extra summary nodes.
    It works fine if I remove the hierarchy from the second level group. It appears that Crystal doesn't handle two hierarchies correctly. Has anyone else tried this? Is the solution to use a structure for the second level group?

    hi Mike,
    you are going to have a hard time to really build what you looking for.
    I can see couple of options:
    - correct - using structure could be one of them
    - do you need to display both hierarchies in the report or could it be "enough" to show one hierarchy and use the other hierarchy nodes as a variable ?
    Ingo

  • Source system contain more than one fold then they are not processed

    when a mail box for a source system contain more than one fold they are not necessarily manage in the right sequence order (FIFO)
    The folders stand for material update flows.

    Hi   XI   Experts,
    I have a problem with source directory of the File Adapter,
    XI system is not reading the files from the source directory in the sequence when there is more than one folder .
    See the below description regarding the same.
    "when a mail box for a source system contain more than one fold they are not necessarily manage in the right sequence order (FIFO)
    The folders stand for material update flows."
    Please update me as soon as possible.
    Regards
    sreenivasulu

  • The internet browser with more thane one video running is keep crashing after installing Adobe flash.

    If I run any website contains more than one video like this website for example :
    http://www.neatoxv-21.org ,where it has two videos talking about the cleaning vacuum neato xv-21, and both videos
    are running at the same time, then suddenly the explorer will crash, But in other broswers like google chrome it works fine.
    To double check, I un-installed the software and then I restarted my computer, I installed the software again but the same issue.
    I am using windows 7, so to be sure I missed nothing I updates the windows from Microsoft website and also
    I am sure that I have the latest internet explorer update.
    Now, the funny thing, I did the same process with Google chrome and it works fine!!!
    I am totally confused, wht could be the reason??
    Please advice..

    Update - I've now tested this with different internet connections, different computers and different operating systems. I've also just received a response from my internet service provider who said:
    "I've tested in Firefox, and it looks as if the buttons are crashing the browsers' flash plugin. This being the case, it is not going to be anything related to your computer, the internet connection, or the web server. 
    In all likelihood, it will be an issue with how the flash tour is coded, which I presume is created automatically by the Tourweaver package you mention. You will need to pursue their support for advice on this problem as it is something with the flash file)s( which isn't working correctly."
    So, hopefully Easypano support will be able to fix the problem. Obviously no connection at all with Adobe After Effects

  • How to create an iBOT which contains more than one dashboard page

    Hi,
    I want to create an iBOT which delivers the content in HTML or PDF format, but to contain more than one dashboard page. The idea is that I have several dashboards and I want to send by e-mail (by iBOT) most important pages from different dashboards.
    Is it possible to send by a single e-mail different pages from different dashboards? I cannot find an way to accomplish this in the content of delivery in iBOT.
    Thank you.

    Hi,
    Yes, I can add them to a briefing book, but the clients that will receive it by e-mail should have the briefing book reader in order to view the contents. Is there any way to send the briefing book in a PDF format?
    Thank you.

  • Can I labled the same song to more than one albums? As you know, some songs are repeated in different albums.

    Can I labled the same song to more than one albums? As you know, some songs are repeated in different albums.

    You can make a copy of an existing song, then change the album, artwork and track number details. You cannot make the same physical file show up in two different albums.
    tt2

  • Can the AirPort Extreme support more than one printer at a time?

    can the AirPort Extreme support more than one USB printer at a time if it is connected to a USB Hub?

    can the AirPort Extreme support more than one USB printer at a time if it is connected to a USB Hub?
    Yes.....IF.....you use a powered USB hub.
    I have had 3 printers connected at the same time in the past and assume that more would work as long you have a powered hub to support the number of ports that you need.

  • Can we copy the same quotation to more than one sales order?

    Can we copy the same quotation to more than one sales order?is it posibble.......pls reply

    Hi vepa venkat suhas.,
                                       If the quotation quantity is 100,with reference to quotaion if you raise a sales order for 100 materials then you cannot raise other sales order with reference to the quotation.untill your quatity of 100 in quotation is finished you can raise a sales order
    REWARD if helpfull
    Thanks & Regards
    Narayana

  • HT1539 Can you download the digital copy to more than one iTunes account?

    Can you download the digital copy to more than one iTunes account?

    No. The redemption codes are one-time use only.
    tt2

  • Can I use the redemption code for more than one machine for Photoshop Elements?

    I want to use the Photoshop Elements that I bought on more than one machine. Is that
    possible using the Redemption Code? It says it was used with another Adobe ID.
    Thanks

    Hi Stover,
    Typically you use the redemption code to retrieve your serial number for Elements products. The licensing for Elements allows the owner to install on two of their computers.
    See these for reference:
    Redemption Code Help
    How many computers can I install Photoshop Elements on?
    Hope that helps,
    - Dave

  • Query to retrieve the records which have more than one assignment_id

    Hello,
    I am trying to write a query to retrieve all the records from the table per_all_assignments_f which has more than one different assignment_id for each person_id. Below is the query i have written but this retrieves the records even if a person_id has duplicate assignment_id's but i need records which have more than one assignement_id with no duplicates for each person_id
    select assignment_id ,person_id, assignment_id
    From per_all_assignments_f
    having count(assignment_id) >1
    group by person_id, assignment_id
    Thank You.
    PK

    Maybe something like this?
    select *
    From   per_all_assignments_f f1
    where  exists (select 1
                   from   per_all_assignments_f f2
                   where  f2.person_id = f1.person_id
                   and    f2.assignment_id != f1.assignment_id
                  );Edited by: SomeoneElse on May 7, 2010 2:23 PM
    (you can add a DISTINCT to the outer query if you need to)

Maybe you are looking for