I have a SSAS cube and I would like to create some reports using excel out of the data. Since creating a report directly from the cube involved some performance issues, I loaded the data from the cube into Power pivot and then created reports on top of the power pivot data.
Now, when I upload my excel report to power pivot gallery of sharepoint 2013, I am not able to refresh the data manually as well as automatically (via a schedule). I get the error:
"An error occurred while working on the Data Model in the workbook. Please try again.
We were unable to refresh one or more data connections in this workbook.
The following connections failed to refresh"
When scheduling the report, I get the error:
"Call to Excel Services returned an error"
Can any one help me to solve this issue please!
Thanks in advance
Have you set up credentials in the Secure Store? Make sure you have set SERVER\POWERPIVOT in Manage Service Applications -> Excel Services Application - Data Model Settings.
Also, check ULS logs and post what you might find there.
Related
I have an Excel file on SharePoint with data from an external data source (SQL Server). I want to setup an Office script to automate the refresh of the data and then trigger it via power automate. However, i am unable to get the data refreshed (even using the manual Refresh All button in Excel Online). It doesn't give any errors in the UI, shows as refreshing, but nothing changes.
I can refresh the data when i open in the Excel desktop app.
Any help on where should i check to get the data refreshed via Excel Online as well would be greatly appreciated?
TIA !
One of my customers is very impressed with the capabilities of PowerPivot, particularly the analysis capabilities but even more the publishing capabilities. With that I mean the ability to publish a dashboard to a SharePoint site, after which it can be experienced directly in the browser, including filtering and slicing for end-users.
As we publish our PowerPivot results to a SharePoint site, we get the following error for any action that triggers the data connection to refresh:
The data connection uses Windows Authentication and user credentials
could not be delegated
I've done a lot of research on this one and it seems it is a configuration issue on the SharePoint side. Note though that we are using a cloud hosted SharePoint thus the environment is not under our control. In addition, even our own team mentions this to be a security restriction that will not be lifted.
Therefore, I'm not working on solving the above problem, rather on avoiding it alltogether:
My first experiment was to build a "normal" Excel file without PowerPivot. Same data and I managed to build the same pivots. Both the data and the pivots are in the same file, without a data connection. Publishing it works just fine. The error is not experienced this time, and even interacting with the report via slicers works.
As a second experiment, I wanted to follow the same scenario, but this time using PowerPivot. From data in an Excel sheet I created a so-called "linked table" in PowerPivot. Next, I created some pivots that make use of this table. The pivots are in the same Excel file as the original data. When I publish this file to SharePoint, I get the same error mentioned before when doing anything that refreshed the data connection. Even though the data and pivots are in the same file, it still pops up with this security error, which surprises me.
How can I work around this data connection issue when a PowerPivot is published? We'd like to have both the analytical power of PowerPivot as well as having the rich publishing options of Excel, without running into the data connectivity issue. Is it possible to "flatten" a PowerPivot file to "normal" Excel, since experiment #1 shows that this works fine. How can I remove the data connection from PowerPivot and tell it to just use the Excel data in the very same file?
Do you have PowerPivot for Sharepoint installed?
Is it Pivotstream providing the cloud service?
At the beginning I want to say that I'm newbie in Sharepoint and PowerPivot.
I've created powerPivot workbook and uploaded on Sharepoint PowerPivot Gallery. I also created data refreshing schedule.
But when I try to open uploaded workbook I get an error:
An error has occurred.
Please try again later.
When I check refreshing schedule status, there is "succeeded" but I can't open the workbook.
Does anyone know what is the reason of the issue and how to resolve it?
Thank you in advance.
Konrad
This can occur when a calculation on one or more pages encounters an error. Try looking at each page, including hidden pages, to see if there are any calculation errors in your pivot tables.
I created PowerPivot Gallery Site on Central Administration and I didn't have right for using excel application service on CA. That was the reason, why I couldn't open the workbook.
I made a pivot table report using excel 2010 that retrieving data from shareportint 2010 list, the report is working fine in excel but when I uploaded it to document library and put it in web part to view from share point it showing me this error :
Unable to refresh data for a data connection in the workbook.
Try again or contact your system administrator. The following connections failed to refresh:
owssvr[1]
what should I do to resolve this error?
Thanks.
You should refer to this artice in MSDN when working with external data connections within an Excel workbook. Before publishing the workbook into SharePoint you must make sure the connection belongs among the set of (administrator-defined) trusted connections.
I got a similar error when trying to refresh data in an Excel Web Part using SharePoint 2010.
Here is the screenshot of my error:
SharePoint Error
My problem was that I was setting the source of the Excel Pivot tables directly to the SharePoint list. In order to get it to work I had to:
Go to the SharePoint list to be used as a data source
Select the "Export to Excel" button to obtain the .iqy file
Save this file then open it in Excel which will open the list in Excel
Any pivot tables created must then use this table as the source, not the connection that is found under the "existing connections" button in Excel
I am trying to render a simple chart using SSRS. The data is in an Excel sheet. I have set up an user DSN and created a data source in SSRS using ODBC.
I am able to query the excel in Data tab. However while trying to preview, I get the following error:
error [hy000] [microsoft] [odbc excel driver] the connection for
viewing your linked Microsoft Excel worksheet was lost.
Anyone knows why this is happening and how this can be solved?
I would consider creating a SQL Sever Integration Services package to import the data from Excel to a SQL database and using the database as the data source for the report. The SSIS package could be scheduled to periodically refresh the data.
Using a file based data source like Excel is vulnerable to people modifying the structure of the spreadsheet and moving, deleting or locking the file.
Seems to be a fleeting error. I deleted the dataset, created a new one and re-ran again. It worked.