PowerPivot Dates with no Data

I've got a classic "fact" table with Membership data linked to a "date" dimension table.  The fact table stores membership data at each month end date.  My Members Added measure works as expected, but Members Added YTD repeats
for every date in the Dim_Date table.  I wasn't expecting that.  I only want to show the dates for which there is data.
Members Added:  =CALCULATE(SUM(Fact_MemberWalk[MemberCount]),Fact_MemberWalk[TranType]="New Member")
Members Added YTD: CALCULATE([Members Added],DATESYTD(Dim_Date[DateKey]))
Picture of Problem:
Kirk P.

Hi Kirk,
According to your description, this issue is more related to Power Pivot. The Power Pivot forum is a better place for Power Pivot issue, we will move it there for you.
Regards
Starain
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Powerpivot data connection will not save the password

    I'm trying to create a Powerpivot workbook with data that users can refresh themselves before analysis.  We don't have Powerpivot data refresh in Sharepoint active, so I can't make use of that service.
    When I create a Powerpivot data connection to SQL server using SQL Server Authentication (unchanging read-only username and password), and checking the box to save the password, the connection works fine for refreshing the data as long as I leave the workbook
    open.
    If I close the file and re-open it, the password is gone from the data connection and the user cannot refresh the data.
    I've tried configuring the data connection with the SQL native client provider and the SQL OLEDB provider and I see exactly the same results.
    The connection string gets built with Persist Security Info=True and the Password shows up as hidden text (dots).  It stays this way through refreshes as long as the workbook is open.  However, once I close the file and re-open it, the
    connection string no longer has the Password parameter listed at all, not even as hidden text.  Persist Security Info is still there and set to True.  As might be expected, the connection string does not have the information needed to access the
    SQL Server instance.
    This type of connection string using SQL Server Authentication still works fine with the password saved when used directly as an Excel data connection, or when used as a data source in Reporting Services.  It's only Powerpivot where the password gets
    blown away.
    Is there a workaround for this issue?

    Thanks Jaynet.
    Unfortunately, the procedure described in the link you provided does not work for PowerPivot, at least in Excel 2010.
    If I create the PowerPivot data connection using "From Database/From SQL Server" there is no option to "Allow saving password".  There is only the checkbox to "Save my password".  There is an "Advanced" button that allows you to set many additional
    properties of the data connection, but there is nothing like allow saving password.
    If I create the PowerPivot data connection using "From Other Sources/Others (OLEDB/ODBC)" and then click the "Build" button, I get a dialog that is pretty close to the one in your link.  For the Provider tab, I can choose either the Microsoft OLE DB
    Provider for SQL Server or the SQL Server Native Client 10.0.  In the connection tab I do have the "Allow saving password" checkbox.  I check this and complete the rest of the data connection configuration.  After I save the file with this data
    connection and then re-open it, the data will not refresh.  If I edit the existing connection from the PowerPivot design tab, the Password parameter is completely missing from the connection string.  If I go back into the connection string builder,
    there is nothing in the password field (not even dots) and allow saving password is no longer checked.
    I've even tried creating my own connection string in Notepad and pasting it into the connection string box (definitely including Persist Security Info=True).  This does not work either and PowerPivot erases the entire Password parameter just the same
    as if I had used the builder and checked Allow saving password.
    I'm beginning to think that the previous poster, David Hager, has it right.  This may be a bug introduced with the latest version of PowerPivot.  If there is no workaround, it is a total pain for me.
    Mike Paulonis

  • PowerPivot data model as Source on Cloud

    Hi All,
    We have an excel workbook with a heavy powerpivot model. Can we use any Cloud services to segregate the powerpivot model and use it as a data source?
    We have already accessed the PowerPivot Gallery on Sharepoint(On-Premise) and Tabular Cube solutions but both of them are On-Premise solutions and since we need a Cloud based solution; we have rejected both of them.
    Also, regarding Cloud solution(if there's any), will it answer the following problem statements:-
    Will it be possible to drive a light weight excel report by Powerpivot data model?
    On Premise database based report refresh (using gateway)?
    PowerPivot /Calculated Measures – will they be visible through data model?
    Regards,
    Amit

    This is not currently possible, but I understand that it is in the works.
    John

  • Beginners guide to PowerPivot data models

    Hi,
    I've been using PowerPivot for a little while now but have finally given into the fact that my lack of knowledge about data modelling is causing me all kinds of problems.
    I'm looking for recommendations on where I should start learning about data modelling for Powerpivot (and other software e.g. Tablea, Chartio etc). By data modelling I mean how I should best organise all the data that I want to analyse which is coming fomr
    multiple sources. In my case my primary sources right now are:
    Our main MySQL database
    Google Analytics Data
    Google Adwords data
    MailChimp data
    Various excels
    I have bought two books - "Dax Formulas for PowerPivot" which is great but sparse on data modelling information and "Microsoft Excel 2013 - Building Data Models with PowerPivot" which looks excellent but starts of at I believe too advanced
    a level.
    Where should a beginner with no experience of data modelling, but intermediate/advanced experience of Excel go to learn skills for PowerPivot Data modelling?
    By far the main issues is that our MySQL databases are expansive and include hundreds of tables across multiple databases and we need to be able to utilise data from all of them. I imagine that I somehow need to come up with a intermediary layer between
    the Databases and Powerpivot which extracts and flattens the main data into fewer more important tables, but would have no idea how to do this.
    Also to be clear, I am not looking at ways of modelling the MySQL database itself - our developers are happy with the database relationships etc, it just the modelling of that data within PowerPivot and how to best import that data.
    Recommendations would be absolutely brilliant, its a fantastic product but right now I'm struggling to make the most of it.

    Thanks for the recommendations, I am aware of the last two of those and
    http://www.powerpivotpro.com/ in particular has proved very useful (TechNet less so). 
    I will take a look at SQLBI in more detail but from a very casual browse it seems like this too is targeted more at experienced users. There paid courses may definitely prove useful though.
    I think what I'm getting at is that there are probably an increasing number of people like myself who have fallen into PowerPivot without a traditional background in databases and data modelling. In my case I have a small business of
    15 employees and we were using Excel and PivotTables to do some basic analysis before soon discovering that our data was too complicated and that I needed something. PowerPivot definitely seems to solve that issue and I'm having much
    better success now than I was without. I also feel quite competent with DAX and actually building tables from the PowerPivot data model.
    What I'm lacking in is the very first step of cleaning and preparing raw data for import and then importing it into Powerpivot and setting up a efficient model. I have to be honest that your links above did bring
    PowerQuery to my attention and it seems like a brilliant tool and one of the missing links. I would however still like to see a beginners guide to data import and model set-up as I don't think I've yet come across one either in book or
    online form which explains the fundamentals well.
     

  • PowerPivot Data Refresh Fails - We cannot locate a server to load the workbook Data Model

    Hello,
    I have installed sql01\PowerPivot instance of Analysis services on my existing SQL Server and configured it per Configure Power Pivot for SharePoint 2013
    http://technet.microsoft.com/en-us/library/dn456880(v=office.15).aspx . I did not install a second Database Engine on the server.
    I created an Excel 2013 workbook using the Excel 2013 PowerPivot add-in and saved it to my SharePoint BI Center Document library.
    When I try to refresh my workbook, I get 2 errors in the SharePoint log.
    http://support.microsoft.com/kb/2756665?wa=wsignin1.0 indicates the sproc is deprecated, but that does not help me fix the issue.
    Log errors:
    Following error occured while trying to execute a sql query: System.Data.SqlClient.SqlException (0x80131904):
    Could not find stored procedure 'DataRefresh.GetSchedule'.
    EXCEPTION: NoAvailableStreamingServerException: We cannot locate a server to load the workbook Data Model.
    macrel

    Hi Marcel,
    Based on my research, it seems that you have Microsoft SQL Server 2012 PowerPivot for SharePoint 2013 add-in installed on a computer. When you perform a data refresh operation on some PowerPivot workbooks in Microsoft SharePoint 2013, you receive two error
    message.
    As to the first error, this issue occurs because the Custom Properties on the Excel workbook are not correctly cleared before you set a new serialized schedule. This causes an extra custom property to remain after you set the new schedule. Therefore, the
    new schedule fails. To fix this issue, please
    install Cumulative Update 9 for SQL Server 2012 SP1.
    As to the second error, please
    running a repair using PowerPivot configuration wizard for SharePoint 2013. For more information about Troubleshooting PowerPivot Data Refresh, please see: 
    http://social.technet.microsoft.com/wiki/contents/articles/troubleshooting-powerpivot-data-refresh.aspx
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Change PowerPivot data source when deploying from Dev - Staging - Production

    We have PowerPivot workbooks we store in SharePoint 2013 Libraries. 
    We have a powershell script which automates the deployment of sites and pages. Is there a way using PowerShell (or any scripting language really) to look into the workbook and change the PowerPivot data source when deployment from one environment to
    another? (Dev -> Stage -> Prod) We need to update the workbooks to point to our SSAS cubes Dev -> Stage -> Prod respectively.
    Thank you for any expert advice you may offer,
    Sincerely,
    -Craig

    Basically, it's an excel file (XLSX) file and you can use excel OM for this.
    A simple program (in C# or any language of your choice) can be written to do the following and achieve what you need.
    using XLS = Microsoft.Office.Interop.Excel;
    string info = null;
    XLS.Application application = null;
    try
     application = new XLS.Application();
     var book = application.Workbooks.Open(filepath);
     foreach (XLS.WorkbookConnection wc in book.Connections)
      switch (wc.Type)
       case XLS.XlConnectionType.xlConnectionTypeOLEDB:
        info = wc.Name + " " + wc.OLEDBConnection.Connection.ToString() + "\r\n";
        break;
     book.Close();
    finally
     if (application != null)
      application.Quit();
    Hopefully, this was helpful.

  • Connect to PowerPivot engine with c#

    I am developing an addin for excel 2010 and i need to interact with powerpivot engine. Is that possible? Can i interact with powerpivot engine using AMO? How can i do that? I am trying with this
    Server
    svr = new
    Server();
    svr.Connect(
    "Initial Catalog=Microsoft_SQLServer_AnalysisServices;Data Source=$Embedded$");
    but, i have "data source must be specified..." error.
    Thanks

    Javier
    Correct. Based on the article of Chris Webb I created the VBA routine as below to get an insight of what's available as information in PowerPivot. Like view DBSCHEMA_COLUMNS I use to retrieve the columns for each measuregroup and store it on a worksheet.
    Than I can start commenting the meaning of the columns. Sometimes formulas are more complex (when you start with ranking tricks) and need some extra explanation. Currently there are not a lot of people who have much experience
    with PowerPivot. This way we lower the barrier and help them to understand more easily the DAX functions and its power. 
    The problem with the DMV's I have are the missing formulas. This would be handy, now is copy and paste which is realy time consuming. 
    PS. I used the information of view MDSCHEMA_MEASURES to retrieve PowerPivot data from other workbooks.    
    The routine below creates for each DMV defined a worksheet.
    Some views will return an error:
    DISCOVER_DIMENSION_STAT - Application-defined or object-defined error
    DISCOVER_INSTANCES - Application-defined or object-defined error
    DISCOVER_LOCKS - Application-defined or object-defined error
    DISCOVER_PARTITION_DIMENSION_STAT - Application-defined or object-defined error
    DISCOVER_PARTITION_STAT - Application-defined or object-defined error
    DISCOVER_PERFORMANCE_COUNTERS - Application-defined or object-defined error
    MDSCHEMA_PROPERTIES - Cannot rename a sheet to the same name as another sheet, a referenced object library or a workbook referenced by Visual Basic.
    MDSCHEMA_PROPERTIES - Select method of Range class failed
    Sub GetDMVs()
        On Error GoTo Errhandler
        Dim sDMV       As String
        Dim sSheet     As String
        Dim vArray(56) As String
        vArray(0) = "DBSCHEMA_CATALOGS"
        vArray(1) = "DBSCHEMA_COLUMNS"
        vArray(2) = "DBSCHEMA_PROVIDER_TYPES"
        vArray(3) = "DBSCHEMA_TABLES"
        vArray(4) = "DISCOVER_COMMAND_OBJECTS"
        vArray(5) = "DISCOVER_COMMANDS"
        vArray(6) = "DISCOVER_CONNECTIONS"
        vArray(7) = "DISCOVER_DB_CONNECTIONS"
        vArray(8) = "DISCOVER_DIMENSION_STAT"
        vArray(9) = "DISCOVER_ENUMERATORS"
        vArray(10) = "DISCOVER_INSTANCES"
        vArray(11) = "DISCOVER_JOBS"
        vArray(12) = "DISCOVER_KEYWORDS"
        vArray(13) = "DISCOVER_LITERALS"
        vArray(14) = "DISCOVER_LOCKS"
        vArray(15) = "DISCOVER_MASTER_KEY"
        vArray(16) = "DISCOVER_MEMORYGRANT"
        vArray(17) = "DISCOVER_MEMORYUSAGE"
        vArray(18) = "DISCOVER_OBJECT_ACTIVITY"
        vArray(19) = "DISCOVER_OBJECT_MEMORY_USAGE"
        vArray(20) = "DISCOVER_PARTITION_DIMENSION_STAT"
        vArray(21) = "DISCOVER_PARTITION_STAT"
        vArray(22) = "DISCOVER_PERFORMANCE_COUNTERS"
        vArray(23) = "DISCOVER_PROPERTIES"
        vArray(24) = "DISCOVER_SCHEMA_ROWSETS"
        vArray(25) = "DISCOVER_SESSIONS"
        vArray(26) = "DISCOVER_STORAGE_TABLE_COLUMN_SEGMENTS"
        vArray(27) = "DISCOVER_STORAGE_TABLE_COLUMNS"
        vArray(28) = "DISCOVER_STORAGE_TABLES"
        vArray(29) = "DISCOVER_TRACE_COLUMNS"
        vArray(30) = "DISCOVER_TRACE_DEFINITION_PROVIDERINFO"
        vArray(31) = "DISCOVER_TRACE_EVENT_CATEGORIES"
        vArray(32) = "DISCOVER_TRACES"
        vArray(33) = "DISCOVER_TRANSACTIONS"
        vArray(34) = "DMSCHEMA_MINING_COLUMNS"
        vArray(35) = "DMSCHEMA_MINING_FUNCTIONS"
        vArray(36) = "DMSCHEMA_MINING_MODEL_CONTENT"
        vArray(37) = "DMSCHEMA_MINING_MODEL_CONTENT_PMML"
        vArray(38) = "DMSCHEMA_MINING_MODEL_XML"
        vArray(39) = "DMSCHEMA_MINING_MODELS"
        vArray(40) = "DMSCHEMA_MINING_SERVICE_PARAMETERS"
        vArray(41) = "DMSCHEMA_MINING_SERVICES"
        vArray(42) = "DMSCHEMA_MINING_STRUCTURE_COLUMNS"
        vArray(43) = "DMSCHEMA_MINING_STRUCTURES"
        vArray(44) = "MDSCHEMA_CUBES"
        vArray(45) = "MDSCHEMA_DIMENSIONS"
        vArray(46) = "MDSCHEMA_FUNCTIONS"
        vArray(47) = "MDSCHEMA_HIERARCHIES"
        vArray(48) = "MDSCHEMA_INPUT_DATASOURCES"
        vArray(49) = "MDSCHEMA_KPIS"
        vArray(50) = "MDSCHEMA_LEVELS"
        vArray(51) = "MDSCHEMA_MEASUREGROUP_DIMENSIONS"
        vArray(52) = "MDSCHEMA_MEASUREGROUPS"
        vArray(53) = "MDSCHEMA_MEASURES"
        vArray(54) = "MDSCHEMA_MEMBERS"
        vArray(55) = "MDSCHEMA_PROPERTIES"
        vArray(56) = "MDSCHEMA_SETS"
        For i = 0 To UBound(vArray, 1)
            sDMV = vArray(i)
            sSheet = Mid(sDMV, InStr(sDMV, "_") + 1, 22)
            Sheets.Add
            ActiveSheet.Name = sSheet
            Worksheets(sSheet).Range("A1").Select
            With ActiveSheet.ListObjects.Add(SourceType:=0, Source:=Array( _
                "OLEDB;Provider=MSOLAP.4;Persist Security Info=True;Initial Catalog=Microsoft_SQLServer_AnalysisServices;Data Source=$Embedded$;MDX Compatibility=1;Safety Options=2;MDX Missing Member Mode=Error;Optimize
    Response=3;Cell Error Mode=TextValue"), Destination:=Range("$A$1")).QueryTable
                .CommandType = xlCmdDefault
                '.CommandText = Array("select TABLE_NAME, COLUMN_NAME from $system." & sDMV)
                .CommandText = Array("select * from $system." & sDMV)
                .RowNumbers = False
                .FillAdjacentFormulas = False
                .PreserveFormatting = True
                .RefreshOnFileOpen = False
                .BackgroundQuery = True
                .RefreshStyle = xlInsertDeleteCells
                .SavePassword = False
                .SaveData = True
                .AdjustColumnWidth = True
                .RefreshPeriod = 0
                .PreserveColumnInfo = True
                .ListObject.DisplayName = sDMV
                .Refresh BackgroundQuery:=False
            End With
       Next i
    Exit Sub
    Errhandler:
        Debug.Print sDMV & " - " & Err.Description
        Resume Next
    End Sub
    Eddy N.

  • Powerpivot Data Refresh Not working with Oracle Data Source in sharePoint 2013

    I am using SQL Server 2012 PowerPivot for Excel 2010. Getting the following error in SharePoint 2013 environment, when using Oracle data source within a workbook -
    EXCEPTION: Microsoft.AnalysisServices.SPAddin.DataRefreshException: Engine error during processing of OLE DB or ODBC error: The specified module could not be found..:
    <Site\PPIV workbook>---> Microsoft.AnalysisServices.SPAddin.DataRefreshException: OLE DB or ODBC error:
    The specified module could not be found..   
     at Microsoft.AnalysisServices.SPAddin.DataRefresh.ASEngineInstance.ProcessDataSource(String server, String databaseName, String datasourceName, SecureStoreCredentialsWrapper
    runAsCredentials, SecureStoreCredentialsWrapper specificConfigurationCredentials, DataRefreshService dataRefreshService, String fileUrlForTracing)     -
    -- End of inner exception stack trace ---   
     at Microsoft.AnalysisServices.SPAddin.DataRefresh.ASEngineInstance.ProcessDataSource(String server, String databaseName, String datasourceName, SecureStoreCredentialsWrapper
    runAsCredentials, SecureStoreCredentialsWrapper specificConfigurationCredentials, DataRefreshService dataRefreshService, String fileUrlForTracing)   
     at Microsoft.AnalysisServices.SPAddin.DataRefresh.DataRefreshService.ProcessingJob(Object parameters)
    I created a simple Excel 2013 PPIV workbook with an oracle data source and uploaded that to SharePoint 2013, but no change in the results - still getting the above error.
    What is this error? We have installed Oracle client (64-bit, since we use 64-bit Excel and Sp is also 64-bit) on SSAS PPIV Server and SharePoint Content DB Server. Do we need
    to install it anywhere else?
    Thanks,
    Sonal

    Hi Sonal,
    To use PowerPivot for SharePoint on SharePoint 2013, it is required to install PowerPivot for SharePoint with the Slipstream version of SQL Server 2012 SP1. If you install SQL Server 2012 and then use the upgrade version of SQL Server 2012 SP1 to upgrade,
    the environment will not support SharePoint 2013.
    I would suggest you refer to the following articles:
    Install SQL Server BI Features with SharePoint 2013 (SQL Server 2012 SP1):
    http://technet.microsoft.com/en-us/library/jj218795.aspx
    Upgrade SQL Server BI Features to SQL Server 2012 SP1:
    http://technet.microsoft.com/en-us/library/jj870987.aspx
    Regards,
    Elvis Long
    TechNet Community Support

  • If I have PowerPivot Connection with 8 tables in the data model, can I extract the Command Text for each with VBA?

    I have a data model with a single PowerPivot connection to an Oracle database. This model had eight tables in it which all use the same "Existing Connection".  I can get the Query from the first Table connection using Command Text, however,
    I do not know how to get the CommandText of each of the additional tables associated with the same connection. 
    With wsConnList
    .Cells(lngRow, 1).Value = wbTarget.Connections("Conn").Name
    .Cells(lngRow, 2).Value = wbTarget.Connections("Conn").OLEDBConnection.CommandText
    End With
    Thanks, Barbara

    Any suggestions for the amazing Barbara on this topic?
    Barbara, you can also ask the BI Advisors if we're not having luck here.
    Thanks!
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • PowerPivot: data no longer available due to "the server object is not connected."

    Hi,
    I'm using Excel 2013 for building a PowerPivot model. Currently 2 table are inserted (txt files) which are related by a unique customer ID. 
    At for me random moments the connections with the files gets lost and no data is shown. Nevertheless, the number of rows and column headers are still visible. If I go the 'existing connections' and choose 'refresh' I got the following errror: "We couldn't
    refresh the connection, please go to existing connections and verify the connect to the file or server". If I try to edit the data ('edit connection') I see immediatly a preview of the date. But when I choose save I receive the following error: "unhandeld
    exception has occured in a component in your application ... The server object is not connected."
    Remarkebly I never had this problem with the same data in Excel 2010. Anyone an idea what could cause this problem and a way to work around this?
    Thanks in advance,
    Rolf

    I have the same error after installed Dec.9 updates, and then other thread suggest me remove them. it worked.
    Good luck. 

  • When Adjusting PowerPivot Data Source it's not updating "Connection String" In Workbook

    When going into an existing PowerPivot that already has a data connection to a MySQL database, I am having issues when trying to edit that data connection. Within the PowerPivot>Manage window, here is what my connection string looks like.
    It successfully connects and I am able to refresh the data. My issue is, why when going to the Data>Connections>Custom>Properties>Definition area --- Why is the connection string not updating here? It's the same connection string from before
    I modified it in the powerpivot manage window. I need it to be updated to my new connection string credentials. Here is window I'm talking about.
    Any help is greatly appreciated!!!! Thank you!

    Tim, are you still trying to get this figured out?
    Thanks!
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • PowerPivot refresh error with data feed from sharepoint list with empty exception information

    Hi,
    My Powpivot refreshing error seems to be different from what others already experienced.
    Scenario:
    Constructed an external data source in the format of Http://<server_IP>/sites/<mysitecollection>/_vti_bin/listdata.svc
    selected one table with some of the needed columns in the next step
    Create calculate colums etc.
    Create pivot tables etc.
    All worked well offline
    Upload the workbook into PowerPivot Gallery
    Reference it from a page through Excel Web Service webpart allowing manual refresh
    The refresh always reports failure with the named external data source
    I opend the log file in C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\LOGS and located the following error messages:
    ASPPHOST::ShowEngineError: Out of line object 'DataSource', referring to ID(s) 'f8939b694cae', has been specified but has not been used。The following exception occurred while the managed IDbCommand interface was being used: .
    Please note in the above message, NO detailed exception message was given. In other words,
    the exception information is empty.
    I checked as many things as I possibly could includin the security accounts etc. All seem to be right. But this empty exception got me stuck here.
    What could possibly go wrong? Any help will be appreciated.
    Thanks.

    Hello,
    Here is a good article regarding Where to get information about data refresh failures for your reference, please see:
    http://social.technet.microsoft.com/wiki/contents/articles/3870.troubleshooting-powerpivot-data-refresh.aspx
    In addition, which credential option you're configured for the PowerPivot data refresh in SharePoint farm? You can go through the following articles regarding configure the PowerPivot data refresh:
    Configure the PowerPivot Unattended Data Refresh Account (PowerPivot for SharePoint):
    http://technet.microsoft.com/en-us/library/ff773327.aspx
    Configure Stored Credentials for PowerPivot Data Refresh (PowerPivot for SharePoint):
    http://technet.microsoft.com/en-us/library/ee210671.aspx
    Hope this helps.
    Regards,
    Elvis Long
    TechNet Community Support

  • PowerPivot - refresh excel with Data Feed

    Dear all,
    I created a PowerPivot chart out of a SharePoint exported list to Data Feed.
    I then published it to a trusted Document Library.
    The Chart is working well but is not updating.
    So if I go to the document library and on the drop down meny of the publsihed excel file I choose Manage PowerPivot Data Refresh and force it to refresh, it fails with the following error message>
    Errors in the high-level relational engine. The following exception occurred while the managed IDbConnection interface was being used: The remote server returned an error: (401) Unauthorized.. A connection could not be made to the data source with the DataSourceID
    of '3b4d4c28-909c-47d3-b4d6-07684f5e2ee9', Name of 'DataFeed mywebapp.domain TestPowerPivotDataFeed'. An error occurred while processing the 'testPowerPivot' table. The operation has been cancelled.
    On the SQL Server I ran a profiler and got the follwoing:
    exec [DataRefresh].[AddRunDetails] @RunID=54,@DataSourceID=N'3b4d4c28-909c-47d3-b4d6-07684f5e2ee9',@FriendlyName=N'DataFeed mywebapp.domain.local TestPowerPivotDataFeed',@Source=N'http://portal.gonzofish.local',@Provider=N'Microsoft.Data.DataFeedClient',@Catalog=N'dev/scrum/Data
    Feed Library/TestPowerPivotDataFeed.atomsvc',@ConnectionString=N'Data Source=http://mywebapp.domain.local/dev/sc/Data%20Feed%20Library/TestPowerPivotDataFeed.atomsvc;Integrated Security=SSPI;Persist Security Info=false;Namespaces to Include=*;Service Document
    Url=http://mywebapp.domain.local/dev/sc/Data%20Feed%20Library/TestPowerPivotDataFeed.atomsvc',@Result=N'F',@RunStartTime='2014-06-04 15:33:04.590',@RunEndTime='2014-06-04 15:33:04.727',@Comments=N'Errors in the high-level relational engine. The following exception
    occurred while the managed IDbConnection interface was being used: The remote server returned an error: (401) Unauthorized..
    A connection could not be made to the data source with the DataSourceID of ''3b4d4c28-909c-47d3-b4d6-07684f5e2ee9'', Name of ''DataFeed mywebapp.domain.local TestPowerPivotDataFeed''.
    An error occurred while processing the ''testPowerPivot'' table.
    The operation has been cancelled.
    I followed the link http://technet.microsoft.com/en-us/library/hh487291%28v=office.14%29.aspx to set up the Data Refresh for the PowerPivot.
    Thanks in advance.
    Regards,
    Gonçalo
    Gonçalo

    http://social.technet.microsoft.com/Forums/windows/en-US/082a62f2-77b6-41c9-be94-09cf06622d4e/powerpivot-refresh-error-on-workbook-using-a-data-feed-from-sharepoint-list
    You configured the PowerPivot unattended data refresh account, but now data refresh is failing. Check for these possible conditions:
    Choosing the wrong credentials option in the schedule data refresh page.
    Insufficient permissions on remote computers or data sources.
    Follow the steps below to re-add the unattended data refresh account and see how it works:
    1. Create a Data feed library .
    2. Upload the local copy of you data feed to there.
    3. Open up your report and change the connection.
    4. Use Secure Store Service by adding your unattended PowerPivot refresh account.
    If still no help, for quick and accurate answers to your questions, it is recommended that you initial a new thread in our SQL server forum.
    SQL server forum
    http://social.technet.microsoft.com/Forums/en-US/home?category=sqlserver
    Meanwhile, there are some articles about troubleshooting PowerPivot data refresh issue for your reference, please see:
    Troubleshooting PowerPivot Data Refresh:
    http://social.technet.microsoft.com/wiki/contents/articles/3870.troubleshooting-powerpivot-data-refresh.aspx
    http://technet.microsoft.com/en-us/library/gg399164.aspx

  • PowerPivot in SharePoint 2010 - Refresh Excel with Data Feed does not work

    Dear all,
    I created a PowerPivot chart out of a SharePoint exported list to Data Feed.
    I then published it to a trusted Document Library.
    The Chart is working well but is not updating.
    So if I go to the document library and on the drop down meny of the publsihed excel file I choose Manage PowerPivot Data Refresh and force it to refresh, it fails with the following error message>
    Errors in the high-level relational engine. The following exception occurred while the managed IDbConnection interface was being used: The remote server returned an error: (401) Unauthorized.. A connection could not be made to the data source with the DataSourceID
    of '3b4d4c28-909c-47d3-b4d6-07684f5e2ee9', Name of 'DataFeed mywebapp.domain TestPowerPivotDataFeed'. An error occurred while processing the 'testPowerPivot' table. The operation has been cancelled.
    On the SQL Server I ran a profiler and got the follwoing:
    exec [DataRefresh].[AddRunDetails] @RunID=54,@DataSourceID=N'3b4d4c28-909c-47d3-b4d6-07684f5e2ee9',@FriendlyName=N'DataFeed mywebapp.domain.local TestPowerPivotDataFeed',@Source=N'http://portal.gonzofish.local',@Provider=N'Microsoft.Data.DataFeedClient',@Catalog=N'dev/scrum/Data
    Feed Library/TestPowerPivotDataFeed.atomsvc',@ConnectionString=N'Data Source=http://mywebapp.domain.local/dev/sc/Data%20Feed%20Library/TestPowerPivotDataFeed.atomsvc;Integrated Security=SSPI;Persist Security Info=false;Namespaces to Include=*;Service Document
    Url=http://mywebapp.domain.local/dev/sc/Data%20Feed%20Library/TestPowerPivotDataFeed.atomsvc',@Result=N'F',@RunStartTime='2014-06-04 15:33:04.590',@RunEndTime='2014-06-04 15:33:04.727',@Comments=N'Errors in the high-level relational engine. The following exception
    occurred while the managed IDbConnection interface was being used: The remote server returned an error: (401) Unauthorized..
    A connection could not be made to the data source with the DataSourceID of ''3b4d4c28-909c-47d3-b4d6-07684f5e2ee9'', Name of ''DataFeed mywebapp.domain.local TestPowerPivotDataFeed''.
    An error occurred while processing the ''testPowerPivot'' table.
    The operation has been cancelled.
    I followed the link http://technet.microsoft.com/en-us/library/hh487291%28v=office.14%29.aspx to set up the Data Refresh for the PowerPivot.
    Thanks in advance.
    Regards,
    Gonçalo
    Gonçalo

    Hi Gonçalo,
    The error message shows that the account didn't have sufficient permission access to the data source(SharePoint List data feed). PowerPivot data refresh is performed by Analysis Services server instances in the SharePoint farm, we may need to grant the
    account running SQL Server Analysis Services (POWERPIVOT)
    Read permissions to the SharePoint list we are attempting to refresh.
    In addition, the external data sources that are accessed during data refresh must be available and the credentials you specify in the schedule must have permission to access those data sources.
    For more information, please take a look at the following article:
    Schedule a Data Refresh:
    http://technet.microsoft.com/en-us/library/ee210651(v=sql.110).aspx
    Hope this helps.
    Elvis Long
    TechNet Community Support

  • Excel 2013 Powerpivot datamodel error with DATE formula

    Hello forum users and Excel guru's alike.
    I have a question relating the datamodel in Excel 2013 Powerpivot. I am using a Dutch version of Excel (on Office 365) but formula's in Datamodel are all in English so I think most of you will understand the issue:
    What I want to do: Take a date and adjust this date to incorparate a number of months that is added in a other column.
    Example:
    Start of contract date: 24-5-2014 (this is a date field in the datamodel and it is called [StartContract])
    Contract duration in months: 10 (this is a number field in the datamodel and it is called [DurationInMonths])
    Output: 24-03-2015
    (this is the calculated field that doesn't work)
    My current formula looks like this:
    =DATE(YEAR([StartContract]);MONTH([StartContract]+[DurationInMonths]);DAY([StartContract]))
    It shows an error as soon as I hit Enter. The formula works fine when I replace [DurationInMonths] with the value "10" or when I leave out "+[DurationInMonths]". But that isn't an option!
    The following variation also doesn't work.
    =DATE(YEAR([StartContract]);MONTH([StartContract])+[DurationInMonths];DAY([StartContract]))
    Please, is there any one with a solution?
    Kind regards,
    Erik van Hurck

    Hi Tony,
    I have tried your solution, to no succes I am sad to say.
    I do agree that the formula works in Excel, but now switch over to the
    PowerPivot Data model and try the formula there. And it will repport an error:
    =DATE(year([StartDate]);month([StartDate]+[DurationInMonths]);DAY([StartDate]))
    is the formula I used in the Datamodel.
    The DurationInMonths field is:
    Whole numbers and formatted as: General
    The StartDate is:
    Auto (Date) and formatted as: Short Date
    For more Information I get this error:
    Cannot query internal supporting structures for column "EndDate" because they depend on a column, relationship, or measure that is not processed. please refresh or recalculate the model. Maybe this link will help further:
    http://office.microsoft.com/en-au/excel-help/upgrade-power-pivot-data-models-to-excel-2013-HA103356104.aspx

Maybe you are looking for

  • Error calling a stored procedure from C#

    Please help me! I'm new in .net technology. I have an Oracle 9i server and an application in .net C# language. I'm trying to call a stored procedure written in plsql. This is the testing procedure: CREATE OR REPLACE PROCEDURE TEST_PROC par_1 in numbe

  • Streaming from Time Capsule to Apple TV

    I'm considering to purchase the Time Capsule. My purpose is to have a wireless HD with my complete iTunes Library on it and tstreming music and video to ATV. Does anyone have exprerience with this set up?

  • TNS Refuse error after Redirect using RAC

    First off, I'm using the JDBC driver 10.2.0.4.0 with the "10g data store helper" selected in WebSphere against a 10g database configured for RAC. I don't have the configuration details for the database, but can get them if needed. WebSphere JDBC stri

  • MSI K9N2G-Neo and Athlon X2 7850 Black Edition - BIOS Options Problem

    Hello, i have this MSI K9N2G-Neo + Athlon X2 7850 BE (REVEEN RCCT 0901SP + Tuniq TX2) + 4 x 2048MB OCZ Platinum 1066MHz, 700 watt real power supply, etc... The problem is the bios v1.2 and new v1.3 that appears Disabled the CPU Voltage option for thi

  • Data Analysis Tcode

    transaction code for Data Analysis