SSAS Default Member Causing incorrect data in Excel Pivot Table using Multi-select in filter

I have an Excel 2013 pivot table connected to an SSAS (2012) cube. One of my dimensions has a default member specified. When I drop this dimension in the filter area of my pivot table and select multiple members including the default member then
only data for the default member is shown. Selecting multiple members where the default member is not included does not result in an issue.
I believe this may be in an issue in how Excel builds the MDX but wanted to see if there are any work arounds.
This issue can be recreated using AdvetureWorks using the following steps:
Alter the Product Dimension of the SSAS Default Member by setting the default member of the Product Line Attribute to Mountain: [Product].[Product Line]&[M] 
Process the cube
Connect to the cube via Excel 2013
Drag internet gross profit to the Values area (The value will be 4700437.22 which reflects the Mountain default filter)
Drag Product Model Lines to the Filters area (you will see Mountain selected by default)
Change the filter by checking the Select Multiple Items checkbox and checking Mountain and Road (You will see that the amount does not change)
Change the filter again by selecting Road only (to demonstrate that Road has a value, 5602105.8, associated with it)
Change the filter again to select Road and Touring (to demonstrate that the correct aggregation of the two selected members is preformed)

Hi Hirmando,
According to your description, the default member cause incorrect data when dragging a attribute that contain a default member to the FILTERS area, right?
I can reproduce this issue on my environment, when dropping this dimension in the filter area of my pivot table and select multiple members including the default member then only data for the default member is shown. Currently, it's hard to say the root
reason that cause this issue. In order to narrow down this issue, please apply the latest server pack and cumulative update.
Besides, you can submit a feedback at
http://connect.microsoft.com/SQLServer/Feedback So that microsoft will confirm if this is a know issue.
Regards,
Charlie Liao
If you have any feedback on our support, please click
here.
Charlie Liao
TechNet Community Support

Similar Messages

  • Get data from view and displaying the table data into Excel  pivot table

    Hi All,
    I have a small reqirement inthat When i get the data from the View that would displayed as Excel Pivot table.
    For displaying gerneral data to Excel I have followed Binarcy cachey
    Please suggest me in this.
    Thanks,
    Lohi.
    Message was edited by:
            Lohitha M

    Try this:
    http://download-west.oracle.com/docs/html/B25947_01/bcservices005.htm#sthref681
    Specifically code sample 8-10 for accessing the AM object.
    Then use the findView method to get a pointer to the VO.

  • Creating Excel Pivot Tables using Java

    Hi,
    I need an open source Java oriented software/tool which can create Excel Pivot Tables.(Jexcel and POI apis dont have this functionality).Could anybody help me on this?...
    Thanks
    Prasad

    prasad.virgo wrote:
    Hi,
    I need an open source Java oriented software/tool which can create Excel Pivot Tables.(Jexcel and POI apis dont have this functionality).Could anybody help me on this?...
    Thanks
    PrasadCheck if OP got answer here in this post [http://forums.sun.com/thread.jspa?forumID=31&threadID=5445441|http://forums.sun.com/thread.jspa?forumID=31&threadID=5445441]

  • Adobe PDF installed and set as default printer causes incorrect pagination in Excel

    I have come across an interesting bug. When Adobe PDF is installed and set as the default printer, Excel produces incorrect and inconsistent pagination--in my case one of the sheets is printed to two pages wide rather than three it should be (when Adobe PDF is not installed), resulting in 9 printed pages instead of 11. I have created a test case to reproduce it.
    The sample file is located here: goo.gl/ZBiWj
    The test case is here: goo.gl/6KbrO
    Instructions are given on how to reproduce the error. The same error occurs when printing the sample file to Adobe PDF as a printer. Any ideas on how to resolve this?

    Actually, the problem isn't really Acrobat or the Adobe PDF PostScript printer driver instance at all. The problem is that Microsoft Excel as well as other Microsoft Office applications adjust their printed output based on the characteristics of whatever is chosen as the current printer. This has been an issue since the earliest days of Windows.
    Each printer driver instance contains information about the specific printer including but not limited to page size, duplex capability, paper types, page orientation, output trays, imageable area (i.e., page size less unprintable margin areas), and device resolution. Based upon what Excel finds as values for a number of these characteristics, Excel will format the page differently. Excel is particularly sensitive to not only page size, but also imageable area and device resolution. Imageable area is important because Excel is attempting to avoid printing at all on parts of the page that your printer cannot possibly image; this is typically about one quarter inch around for most laser printers, a bit less for inkjet printers unless you have a printer that claims edge-to-edge print capability.
    The Adobe PDF PostScript printer driver instance has imageable areas that exactly match page size for all available page sizes. Thus, Excel formats on the basis that it can print all the way to edge of the page unless you set margins otherwise. It also defaults to 1200dpi. Change the device resolution to another setting via printer properties and you will likely see relayout. These same issues occur with Word and to some degree with PowerPoint.
    There is absolutely nothing that Adobe can do about this. The same problem is exhibited if you have access to multiple different printer models with different characteristics on your computer and you change from one to another, even if you don't have any Adobe software loaded on your system. Users have complained to Microsoft for years about this issue, but they typically have not considered this an important issue to tackle (ribbon user interfaces are obviously much more important).
    Sorry, but not anything we can really do to help you here other than to advise you to always compose your Microsoft documents with the current printer being the Adobe PDF PostScript printer driver instance, create a PDF file, and then print that from Reader/Acrobat to your real target printer. Alternatively, if you are very careful to setup the print characteristics of a spreadsheet to have large enough margins and headers/footers outside what would be the target devices non-printing area, you might get a bit better device independence - but don't count on it.
              - Dov

  • Excel Pivot Table with Date Hierarchies - query performance degradation

    For the sake of this explanation, I’m going to try and keep it simple. Slicing the data by additional dimensions only makes the issue worse. I’ll keep this description to one fact table and three dimensions. Also, I’m fairly new to SSAS Tabular; I’ve worked
    with SSAS Multidimensional in the past.
    We’ve got a fact table that keeps track of bill pay payments made over time. Currently, we only have about six months of data, with the fact row count at just under 900,000 rows. The grain is daily.
    There is an Account dimension (approx. 460,000 rows), with details about the individual making a payment.
    There is a Payment Category dimension (approx.. 35,000 rows), which essentially groups various Payees into groups which we like to report on: Automobile Loan, Mortgage, Insurance, etc.
    There is the requisite Date dimension  (exactly 62093 rows-more days than we need?), which allows visibility as to what is being paid when.
    Using this DW model, I’ve created a SSAS BISM Tabular model, from which Excel 2010 is ultimately used to perform some analysis, using Pivot Tables. In the tabular model, for easier navigation (doing what I’ve always done in SSAS MultiDimensional), I’ve created
    several Date Hierarchies, Year-Month, Year-Quarter-Month, etc.
    There are currently only two measures defined in the Tabular model: one for the “Sum of PaymentAmount”; one for the “PaymentsProcessed”.
    OK, in Excel 2010, using a Pivot Table, drag the “Sum of PaymentAmount” measure to the Values section, next to/under the PivotTable Field List. Not too exciting, just the grand total of all Payments, for all time.
    Drag the “YearMonth” hierarchy (from the Date dimension) to the “Column Labels” section. After expanding the year hierarchy to see the months, now the totals are for each of the months, for which we have data, for June through November, 2013.
    Drag the “PaymentCategory” (from the Payment Categories dimension) to the “Report Filter” section. Filter accordingly: We just want to see the monthly totals for “Automobile Loans”.
    Now, some details. Drag the “AccountSK” (hiding the actual account numbers) to the “Row Labels” section. This shows all accounts that have made Automobile Loan payments over the last six months, showing the actual payment amounts.
    So far, so good. Remember, I’m using a Date Hierarchy here, in this case “YearMonth”
    Now, if any of the other attributes on the Account dimension table, say “CreditScore”, or “LongName”, are subsequently dragged over to the “Row Lables” section, under the “AccountSK”, the results will never come back, before timing out or by giving up and
    pressing ESCape!
    If this exact scenario is done by removing the Date Hierarchy, “YearMonth” from the “Column Labels” and replace it with “Year” and “MonthName” attributes from the Date dimension, these fields not being in any sort of hierarchy, adding an additional “Account”
    attribute does not cause any substantial delay.
    What I’m trying to find out is why is this happening? Is there anything I can do as a work around, other than what I’ve done by not using a Date Hierarchy? Is this a known issue with DAX and the query conversion to MDX? Something else?
    I’ve done a SQL Profiler trace, but I’m not sure at this point what it all means. In the MDX query there is a CrossJoin involved. There are also numerous VertiPaq Scans which seems to be going through each and every AccountSK in the Account dimension, not
    just the ones filtered, to get an additional attribute (About 3,600 accounts which are “Automobile Loan” payments.).
    Any thoughts?
    Thanks! Happy Holidays!
    AAO

    Thanks for your reply Marco. I've been reading your book, too, getting into Tabular.
    I've set up the Excel Pivot Table using either the Year/MonthName levels, or the YearMonth hierarchy and then adding the additional attribute for the CreditScore.
    Incidentally, when using the YearMonth hierarchy and adding the CreditScore, all is well, if the Year has not been "opened". When this is done, I suspect the same thing is going on.
    From SQL Profiler, each of the individual MDX queries below (formatted a bit for readability).
    Thanks!
    // MDX query using separate Year and MonthName levels, NO hierarchy.
    SELECT 
    NON EMPTY 
    Hierarchize(
    DrilldownMember(
    CrossJoin(
    {[Date].[Year].[All],[Date].[Year].[Year].AllMembers}, 
    {([Date].[MonthName].[All])}
    ,[Date].[Year].[Year].AllMembers, [Date].[MonthName]
    DIMENSION PROPERTIES PARENT_UNIQUE_NAME,HIERARCHY_UNIQUE_NAME 
    ON COLUMNS, 
    NON EMPTY 
    Hierarchize(
    DrilldownMember(
    CrossJoin(
    {[Accounts].[AccountSK].[All],[Accounts].[AccountSK].[AccountSK].AllMembers}, 
    {([Accounts].[CreditScore].[All])}
    ,[Accounts].[AccountSK].[AccountSK].AllMembers, [Accounts].[CreditScore]
    DIMENSION PROPERTIES PARENT_UNIQUE_NAME,HIERARCHY_UNIQUE_NAME 
    ON ROWS  
    FROM [PscuPrototype] 
    WHERE ([PaymentCategories].[PaymentCategory].&[Automobile Loan],[Measures].[Sum of PaymentAmount]) 
    CELL PROPERTIES VALUE, FORMAT_STRING, LANGUAGE, BACK_COLOR, FORE_COLOR, FONT_FLAGS
    // MDX query using separate YearMonth hierarchy (Year, MonthName).
    SELECT 
    NON EMPTY 
    Hierarchize(
    DrilldownMember(
    {{DrilldownLevel({[Date].[YearMonth].[All]},,,INCLUDE_CALC_MEMBERS)}}, 
    {[Date].[YearMonth].[Year].&[2013]},,,INCLUDE_CALC_MEMBERS
    DIMENSION PROPERTIES PARENT_UNIQUE_NAME,HIERARCHY_UNIQUE_NAME 
    ON COLUMNS,
    NON EMPTY 
    Hierarchize(
    DrilldownMember(
    CrossJoin(
    {[Accounts].[AccountSK].[All],[Accounts].[AccountSK].[AccountSK].AllMembers}, 
    {([Accounts].[CreditScore].[All])}
    ,[Accounts].[AccountSK].[AccountSK].AllMembers, [Accounts].[CreditScore]
    DIMENSION PROPERTIES PARENT_UNIQUE_NAME,HIERARCHY_UNIQUE_NAME 
    ON ROWS  
    FROM [PscuPrototype] 
    WHERE ([PaymentCategories].[PaymentCategory].&[Automobile Loan],[Measures].[Sum of PaymentAmount]) 
    CELL PROPERTIES VALUE, FORMAT_STRING, LANGUAGE, BACK_COLOR, FORE_COLOR, FONT_FLAGS
    AAO

  • Dynamic data source in Excel Pivot Table

    Hello there,
    I am trying to have dynamic data source in pivot table using INDIRECT but getting the error "Reference not valid". Here is how I setup the reference:
    Named range: ConsolLink = "'R:\Root\Sub1\Sub2\Consol File.xlsm'!Source_OpexConsol"
    "Source_OpexConsol" is defined in the source file as a dynamic name using offset formula.
    In the pivot data source, I have tried "=INDIRECT(ConsolLink)" as the data source but that does not work.
    I have also tried using INDIRECT in ConsolLink and just referencing "ConsolLink" as the data source. That does not work either.
    I am not using Power Pivot. Appreciate it if someone can help.
    Thanks.

    If it is open, then try
    Named range: ConsolLink = Range("Consol File.xlsm'!Source_OpexConsol")
    And if it is not currently open, then try
    Dim W As Workbook
    Set W = Workbooks.Open("R:\Root\Sub1\Sub2\Consol
    File.xlsm")
    Named range: ConsolLink =
    Range("Consol File.xlsm'!Source_OpexConsol")
    W.Close False

  • How to multi-search in excel pivot table axis filter against SSAS cube???

    On an excel pivot table axis, we need to filter a large dimension to several members by searching the dimension using the excel OLAP filter search capability.  However, when you search for something with the filter, after it finds some members, your
    only choices are to select your new filter criteria ONLY.  It will automatically de-select anything you searched for and selected prior.  The dimension is over 10k members so does not all show up in axis filter and thus we can't select the members
    we want just by scrolling through.  So it would seem from excel it is impossible to do this most basic function which would be very disappointing given how basic and common the need is.  There has to be some other way than creating a set the cube
    to handle this.  How do you accomplish this?
    Excel 2013
    SQL Server 2012

    Hi Lee,
    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,
    Simon Hou
    TechNet Community Support

  • Export to excel pivot table is incorrect

    Hi All,
    I have a problem when export Discoverer Plus report to Excel Pivot table...
    My problem is calculation field (ex. Average salary per employee) in pivot table shown incorrect
    data.
    May someone has any idea for this problem and how to solve it.
    Thanks,
    Mcka
    Remark: I have info. about Discoverer version that I use
    OracleBI Discoverer 10g (10.1.2.2)
    Oracle Business Intelligence Discoverer Plus 10g (10.1.2.54.25)
    Discoverer Model - 10.1.2.54.25
    Discoverer Server - 10.1.2.54.25
    End User Layer - 5.1.1.0.0.0
    End User Layer Library - 10.1.2.54.25

    Have anybody share idea about this problem ?

  • Export data to excel and table column headers

    I noticed that with LV 2012 when I call the method "Export Data to Excel" for a table, the table headers (= column names) are not exported to excel.
    Am I right? I think that the column names should be exported too...
    As a matter of fact when you call the method "Export to simplified image" the column names are included
    How can I export the table column names to excel?
    Vix
    In claris non fit interpretatio
    Using LV 2013 SP1 on Win 7 64bit
    Using LV 8.2.1 on WinXP SP3
    Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
    Using CVI 6.0 on Win2k, WinXP and WinXP Embedded

    In this document there is a full description of how to export data from LabVIEW to Excel.
    Using a table, the method "Export data to excel" should export the "currently selected data", and data can be programmatically selected using ActiveCell property (as described here).
    With ActiveCell I can select the column headers too (using negative numbers for row and/or column), and I do this.
    And so I expect that when I select "Export data to Excel", the column headers should be exported too (because I selected them!).
    I think that the actual behavior is a bug, rather that an expected behavior.
    Don't you agree?
    Vix
    In claris non fit interpretatio
    Using LV 2013 SP1 on Win 7 64bit
    Using LV 8.2.1 on WinXP SP3
    Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
    Using CVI 6.0 on Win2k, WinXP and WinXP Embedded

  • Using Axis(1), gives error "Slicer Axis cannot be referenced" in excel pivot table, but works fine ssms

    Hi .. I am using Axis(1) to select all the retrieved records. The MDX query looks like-
    WITH MEMBER [Measures].[New Opportunity Count]
     AS SUM(
             {DESCENDANTS(
              [Opportunity].[Opportunity].CURRENTMEMBER,
              1
            iif([Measures].[Opportunity Sales Days - Invisible] > 0,1,0)
     //HAVING [Measures].[New Opportunity Count] = 1
     MEMBER [Measures].[Latest Opportunity Count]
     AS SUM(
          EXCEPT( AXIS(1),
                    [Opportunity].[Opportunity].[All]
                 ),[Measures].[New Opportunity Count])
    MEMBER [Measures].[Opportunity Sales Days]
    AS iif([Measures].[New Opportunity Count] =0,0,
          iif([Opportunity].[Opportunity].CURRENTMEMBER.MEMBER_KEY =[Opportunity].[Opportunity].[All].MEMBER_KEY,
            (SUM(
                EXCEPT(AXIS(1),
                    [Opportunity].[Opportunity].[All]
                 ),[Measures].[Opportunity Sales Days - Invisible])/[Measures].[Latest Opportunity Count]),
            [Measures].[Opportunity Sales Days - Invisible]/[Measures].[New Opportunity Count])
    SELECT 
      [Measures].[Latest Opportunity Count],
      [Measures].[New Opportunity Count],
      [Measures].[Opportunity Sales Days]
    }ON COLUMNS,
        [Opportunity].[Opportunity].&[{140D9883-6F49-E011-AEA0-00155D032A00}],
        [Opportunity].[Opportunity].&[{3A2BB124-EE85-E011-8A06-00155D032A00}],
        [Opportunity].[Opportunity].&[{60036FE8-DC48-E111-975F-00155D032A00}],
        [Opportunity].[Opportunity].&[{CA158EE5-C445-E111-975F-00155D032A00}],
        [Opportunity].[Opportunity].&[{B69F83EB-832D-E211-9861-00155D032A00}],
        [Opportunity].[Opportunity].&[{D500AE90-606C-E211-83AD-00155D03570D}],
        [Opportunity].[Opportunity].[All]
    //      [Opportunity].[Opportunity].members
    ON ROWS
    FROM [IMGROUP Base]
    It works fine in SSMS editor, but while trying to access the same query from Excel pivot table, it gives the error : "Slicer axis cannot be referenced". I have taken the MDX query from excel and it looks like -
    SELECT NON EMPTY Hierarchize({DrilldownLevel({[Opportunity].[Opportunity Hierarchy].[All]},,,INCLUDE_CALC_MEMBERS)}) DIMENSION PROPERTIES PARENT_UNIQUE_NAME,HIERARCHY_UNIQUE_NAME,[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Account Manager],[Opportunity].[Opportunity
    Hierarchy].[Opportunity].[Opportunity Actual Close Date Time],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Age In Days],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Close Date],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity
    Created On Date],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Created On Date Time],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Days In Sales Stage],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Delivery
    Owner],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Estimated Close Date],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Estimated Project Duration In Days],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity
    Estimated Project Duration In Months],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Estimated Project Duration In Working Days],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Estimated Project End Date],[Opportunity].[Opportunity
    Hierarchy].[Opportunity].[Opportunity Estimated Project First Working Day Date],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Estimated Project Last Working Day Date],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Estimated
    Project Start Date],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Latest News],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Latest News Updated On Date Time],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity
    Lost Competitor],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Originating Lead Name],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Owning Organisation],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity
    Revenue Spread],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Sales Assist],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Sales Assist-Hidden],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Sales Stage],[Opportunity].[Opportunity
    Hierarchy].[Opportunity].[Opportunity Sales Stage Updated On Date Time],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Source Full Name],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity State],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity
    Sub Source],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Updated On Date Time],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Won Lost Description],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Won Lost
    Reason] ON COLUMNS  FROM (SELECT ({[Opportunity].[Opportunity Hierarchy].[Opportunity].&[{B69F83EB-832D-E211-9861-00155D032A00}], [Opportunity].[Opportunity Hierarchy].[Opportunity].&[{CA158EE5-C445-E111-975F-00155D032A00}], [Opportunity].[Opportunity
    Hierarchy].[Opportunity].&[{60036FE8-DC48-E111-975F-00155D032A00}], [Opportunity].[Opportunity Hierarchy].[Opportunity].&[{3A2BB124-EE85-E011-8A06-00155D032A00}], [Opportunity].[Opportunity Hierarchy].[Opportunity].&[{140D9883-6F49-E011-AEA0-00155D032A00}]})
    ON COLUMNS  FROM [IMGROUP Base]) WHERE ([Measures].[Opportunity Sales Days]) CELL PROPERTIES VALUE, FORMAT_STRING, LANGUAGE, BACK_COLOR, FORE_COLOR, FONT_FLAGS
    Any help, will be greatly apreciated.
    Sayan.

    Sorry, it was a mistake in my query. Now I have corrected each of them and individually each of them works fine. See below-
    CREATE MEMBER CURRENTCUBE.[Measures].[New Opportunity Count]
     AS SUM(
             {DESCENDANTS(
              [Opportunity].[Opportunity].CURRENTMEMBER,
              1
            iif([Measures].[Opportunity Sales Days - Invisible] > 0,1,0)
    VISIBLE = 0 , 
    ASSOCIATED_MEASURE_GROUP = 'Opportunity';  
    CREATE MEMBER CURRENTCUBE.[Measures].[Latest Opportunity Count]
     AS SUM(
          EXCEPT(Axis(0),
                   [Opportunity].[Opportunity Hierarchy].[All]
                 ),[Measures].[New Opportunity Count]), 
    VISIBLE = 0 , 
    ASSOCIATED_MEASURE_GROUP = 'Opportunity';  
    CREATE MEMBER CURRENTCUBE.[Measures].[Opportunity Sales Days]
    AS iif([Measures].[New Opportunity Count] =0,0,
          iif([Opportunity].[Opportunity].CURRENTMEMBER.MEMBER_KEY =[Opportunity].[Opportunity].[All].MEMBER_KEY,
            (SUM(
                EXCEPT(AXIS(0),
                  [Opportunity].[Opportunity Hierarchy].[All]
                 ),[Measures].[Opportunity Sales Days - Invisible])/[Measures].[Latest Opportunity Count]),
            [Measures].[Opportunity Sales Days - Invisible]/[Measures].[New Opportunity Count])
    VISIBLE = 1,  
    DISPLAY_FOLDER = 'Days',  
    ASSOCIATED_MEASURE_GROUP = 'Opportunity';  
    CREATE MEMBER CURRENTCUBE.[Measures].[Opportunity Actual Value Home Currency New]
     AS  SUM(
             {DESCENDANTS(
              [Opportunity].[Opportunity].CURRENTMEMBER,
              1
            iif([Measures].[Opportunity Sales Days] > 0,[Measures].[Opportunity Actual Value Home Currency],0)
    VISIBLE = 0,  
    ASSOCIATED_MEASURE_GROUP = 'Opportunity'  ; 
    CREATE MEMBER CURRENTCUBE.[Measures].[Opportunity Actual Revenue Per Sales Day]
    AS iif([Measures].[Opportunity Actual Value Home Currency New] =0,0,
          iif([Opportunity].[Opportunity Hierarchy].CURRENTMEMBER.MEMBER_KEY =[Opportunity].[Opportunity Hierarchy].[All].MEMBER_KEY,
            (SUM(
              EXCEPT( AXIS(0),
                    [Opportunity].[Opportunity Hierarchy].[All]
                 ),[Measures].[Opportunity Actual Value Home Currency New])/[Measures].[Opportunity Sales Days]),
            ([Measures].[Opportunity Actual Value Home Currency New]/[Measures].[Opportunity Sales Days]))
    FORMAT_STRING = "£#,##0.00;-£#,##0.00;#",
    VISIBLE = 1,
    DISPLAY_FOLDER = 'Financial',
    ASSOCIATED_MEASURE_GROUP = 'Opportunity';  
    But, when I want to select them together from Excel, I am geeing the below error-
    CellOrdinal 0
    VALUE #Error MdxScript(IMGROUP Base) (1436, 7) Members, tuples or sets must use the same hierarchies in the EXCEPT function.
    FORMAT_STRING £#,##0.00;-£#,##0.00;#
    LANGUAGE (null)
    BACK_COLOR (null)
    FORE_COLOR (null)
    FONT_FLAGS (null)
    The generated MDX in Excel as -
    SELECT {[Measures].[Opportunity Actual Revenue Per Sales Day],[Measures].[Opportunity Sales Days]} DIMENSION PROPERTIES PARENT_UNIQUE_NAME,HIERARCHY_UNIQUE_NAME ON COLUMNS , NON EMPTY Hierarchize({DrilldownLevel({[Opportunity].[Opportunity Hierarchy].[All]},,,INCLUDE_CALC_MEMBERS)})
    DIMENSION PROPERTIES PARENT_UNIQUE_NAME,HIERARCHY_UNIQUE_NAME,[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Account Manager],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Actual Close Date Time],[Opportunity].[Opportunity
    Hierarchy].[Opportunity].[Opportunity Age In Days],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Close Date],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Created On Date],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity
    Created On Date Time],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Days In Sales Stage],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Delivery Owner],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Estimated
    Close Date],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Estimated Project Duration In Days],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Estimated Project Duration In Months],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity
    Estimated Project Duration In Working Days],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Estimated Project End Date],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Estimated Project First Working Day Date],[Opportunity].[Opportunity
    Hierarchy].[Opportunity].[Opportunity Estimated Project Last Working Day Date],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Estimated Project Start Date],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Latest News],[Opportunity].[Opportunity
    Hierarchy].[Opportunity].[Opportunity Latest News Updated On Date Time],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Lost Competitor],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Originating Lead Name],[Opportunity].[Opportunity
    Hierarchy].[Opportunity].[Opportunity Owning Organisation],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Revenue Spread],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Sales Assist],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity
    Sales Assist-Hidden],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Sales Stage],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Sales Stage Updated On Date Time],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity
    Source Full Name],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity State],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Sub Source],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Updated On Date Time],[Opportunity].[Opportunity
    Hierarchy].[Opportunity].[Opportunity Won Lost Description],[Opportunity].[Opportunity Hierarchy].[Opportunity].[Opportunity Won Lost Reason] ON ROWS  FROM (SELECT ({[Opportunity].[Opportunity Hierarchy].[Opportunity].&[{B69F83EB-832D-E211-9861-00155D032A00}],
    [Opportunity].[Opportunity Hierarchy].[Opportunity].&[{60036FE8-DC48-E111-975F-00155D032A00}], [Opportunity].[Opportunity Hierarchy].[Opportunity].&[{3A2BB124-EE85-E011-8A06-00155D032A00}], [Opportunity].[Opportunity Hierarchy].[Opportunity].&[{E2E48CB7-8463-E411-831D-00155D035708}],
    [Opportunity].[Opportunity Hierarchy].[Opportunity].&[{140D9883-6F49-E011-AEA0-00155D032A00}]}) ON COLUMNS  FROM [IMGROUP]) CELL PROPERTIES VALUE, FORMAT_STRING, LANGUAGE, BACK_COLOR, FORE_COLOR, FONT_FLAGS
    Any help?
    sayan maity

  • Excel Pivot Table not working Office 2013 click to run

    Hi
    I have a user who is having an issue with Excel pivot tables.
    Issue occurs when opening an old excel-file (created with Office 2007) and then saving it with another name (Save As).
    When opened the next time, system gives attached error message when trying to update Pivot with "Alt + F5" command.
    --> For some reason it wants to find something from that old excel file + Pivot is not updated.
    Can anyone help?
    Thanks
    Dan Smith

    Thank you George for your reply. The user tried the Analyze-->Change Data Source and this is what was found:
    The original file name was ”Kaiken_syyskuu2014_2.xlsx”. (see the pic below)
    When I have saved it as “Kaken_marraskuu2014”, it seems that all the pivots are still linked to “Kaiken_syyskuu2014_2”??
    In earlier Office version this did not happen.
    This excel file must be updated on monthly basis. There is tens of different pivots, so It would be quite nightmare to update the names for every Data Source one by one, every month (actually it is not possible to type name for the data
    source, ranges/tables have to be selected manually).
    These pivots are not re-created every month. Only the data source gets updated by pressing (Alt + F5)
    This problems is solved if the pivot table data source gets updated also (=source is same than new file name) when you give new name for the file (=Save as).
    I don’t see the point why pivots are still linked to old file, if you have already gave new file name for the entire excel-file.
    I hope you can help.
    Thanks
    Br.
    Dan
    <v:shapetype coordsize="21600,21600" filled="f" id="_x0000_t75" o:preferrelative="t" o:spt="75" path="m@4@5l@4@11@9@11@9@5xe"
    stroked="f"><v:stroke joinstyle="miter"><v:path gradientshapeok="t" o:connecttype="rect" o:extrusionok="f">
    </v:path></v:stroke></v:shapetype><v:shape alt="" id="Picture_x0020_1" o:spid="_x0000_i1025" style="width:675pt;height:651.75pt;" type="#_x0000_t75"><v:imagedata o:href="cid:[email protected]"
    src="file:///C:\Users\smithda1\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png">
    </v:imagedata></v:shape>

  • Error while retrieving data from PL/SQL Table using SELECT st. (Urgent!!!)

    Hi Friends,
    I am using Oracle 8.1.6 Server, & facing problems while retrieving data from a PL/SQL Table:
    CREATE or REPLACE PROCEDURE test_proc IS
    TYPE tP2 is TABLE of varchar2(10); --declared a collection
    dt2 tP2 := tP2('a','b','c');
    i NUMBER(8);
    begin
    SELECT COUNT(*) INTO i FROM TABLE(CAST(dt2 as tP2));
    DBMS_OUTPUT.PUT_LINE('**'||i);
    end;
    While executing the above procedure, I encountered foll. error:
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [15419], [severe error during PL/SQL execution], [], [],
    ORA-06544: PL/SQL: internal error, arguments: [pfrrun.c:pfrbnd1()], [], [], [], [], [], [], []
    ORA-06553: PLS-801: internal error [0]
    Can anyone please help me, where the problem is??
    Is it Possible to retrieve data from PL/SQL TABLE using SELECT statement? & How ?
    Thanks in advance.
    Best Regards,
    Jay Raval.

    Thanks Roger for the Update.
    It means that have to first CREATE TYPE .. TABLE in database then only I can fire a Select statement on that TYPE.
    Actually I wanted to fire a Select statement on the TABLE TYPE, defined & declared in PLSQL stored procedure using DECLARE TYPE .. TABLE & not using CREATE TYPE .. TABLE.
    I was eager to know this, because my organization is reluctant in using CREATE TYPE .. TABLE defined in the database, so I was looking out for another alternative to access PL/SQL TABLE using Select statement without defining it database. It would have been good if I could access a PLSQL TABLE using Select statement Declared locally in the stored procedure.
    Can I summarize that to access a PL/SQL TABLE using SELECT statement, I have to first CREATE TYPE .. TABLE?
    If someone have any other idea on this, please do let me know.
    Thanks a lot for all help.
    Best Regards,
    Jay Raval.
    You have to define a database type...
    create type tP2 is table of varchar2(10)
    CREATE OR REPLACE PROCEDURE TEST_PROC
    IS
    dt2 tP2 := tP2('a','b','c');
    i NUMBER(8);
    begin
    SELECT COUNT(*) INTO i FROM TABLE(CAST (dt2 AS tP2));
    DBMS_OUTPUT.PUT_LINE('**'||i);
    end;
    This will work.
    Roger

  • About  how to export excel pivot tables

    Hello all!
    I am currently working with the "help" of an oracle consultor from Oracle (Consulting) Spain, but she (and no one of her working mates) is not able to give me an answer about my doubt.
    The problem is: I know that Oracle Discoverer plus is able to export oracle Olap crosstabs automatically to excel pivot tables. It must do it in some way, but no one, here in Spain, is able to tell me how.
    I suppose Oracle engineers have developed a Java Api to do it, but , in Spain, it is useless trying to get this information from Oracle (an this is not because this is a "top secret information" , this is just because they do not know their products, just it!).
    The only help that I had from them regarding this issue was a reference to Jexcelapi. I do not want to reinvent the wheel, thus why I am trying to get any help from you. Please, you are my last chance!
    Does any body know how discoverer exports Oracle Olap crosstabs to excel pivot tables?
    Than you very much for your help in advance.
    Best regards,
    Miguel A. Vico.

    Hello again!
    Yes , you are right, but that is not my problem; my problem is that I need to do what Discoverer does, but using Oracle BI beans technology. An this technology gives me no chance to do it .
    BI beans exports to CSV and Excel format , but not to excel pivot tables, and I would need to do it .
    Could you tell me what is the API, Discoverer uses to get this job done?
    Best regards,
    Miguel

  • How do u save datas more than one table using net beans ide using JSF

    Hi,
    I am new to JSF.
    I save / delete / update / New master table using POJO (Plain Old Java Objects), database - oracle and Toplink Persistence Unit.
    How do u save data more than one table using net beans ide using JSF (I am using POJO) ?
    and also Tell me the reference book for JSF.
    Thanks in advance.
    regards,
    N.P.Siva

    SivaNellai wrote:
    I am new to JSF.
    So, I am using net beans IDE 6.1 from sun microsystem. It is a free software.No, you don't drag'n'drop if you're new to JSF. Switch to source code mode. Write code manually, with the help of IDE for the speed up.
    So, please guide me the reference books, articles. I need the basic understanding of JSF, net beans IDE.[JSF: The Complete Reference|http://www.amazon.com/JavaServer-Faces-Complete-Reference/dp/0072262400] is a good book. The [JSF specification document|http://jcp.org/aboutJava/communityprocess/final/jsr252/index.html] is also a good reading to understand what JSF is and how it works. There are also javadocs and tlddocs of Sun JSF Mojarra.

  • Excel Pivot Table within Email Body - Is there an ability for Recipients to manipulate table within email?

    Hello,
     Each morning, I paste an update to an Excel pivot table for an inner company report and circulate via Outlook email.  Is there any way for my recipients to be able to manipulate the table within the body of the Outlook email?  Or do they
    have to resort to the attached Excel file containing the original of the pivot table I've pasted into the email.
    Thank you.
    Eric Korslin

    Cant do.
    Only as file, opened from attachment.
    Oskar Shon, Office System MVP - www.VBATools.pl
    if Helpful; Answer when a problem solved

Maybe you are looking for

  • Can we use OWB dimesnions in OBIEE ?

    Hi all, Iam new to OBIEE reporting. Can any one of the experts clarify my question? 1. As per requirement Developing the Dimensions in OWB, can we use them in OBIEE 11g and am I goin to get the funcatinality of drill down. Or do we need to create sep

  • Weird problem with A300 and external drive

    Info about my comp: A300-29U model Windows 7 ATI Edition (32) SATA Unknown External Drive ----- Ok, so yesterday I plugged in my external drive as usual to check some music. Everything was ok and I went to sleep. This morning when I woke up and tried

  • External Interface and Mouse Clicks

    I'm new to writing ActionScript. I am working in .NET (C#) environment using AxShockwaveFlashObjects. I am simply trying to react to a mouse click on the Flash ActiveX Control. I have inserted the code in a layer only used for script: import flash.ex

  • New GL - Doc Splitting - Profit Center not hitting the Zero Balance GL

    Dear SAP New GL Gurus, I am trying to activate the doc splitting where the system uses a GL Account to ensure that Profit Center wise Trial Balances are tallied. I have done the following configuration till now, and I feel that these steps should ide

  • Settings icon disappeared?

    Hey i just got the new update and got the new apps and everything was working perfectly at first. after i was done testing everything out i turned my ipod off and put it away. an hour or so later i take it back out and the settings icon is gone! i es