Error while opening excel pivot table report from sharepoint 2010 - excel

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

Related

Excel Office Online Server - not refreshing CUBEVALUE formula from Office Online Server

I have a setup with Office Online Server linked to SharePoint 2019. In SharePoint I have uploaded an Excel file with a query connection to an SSAS Cube. I also setup parameters in the Browser View Options of Excel. Then I have a CUBEVALUE formula that depends on one of these parameters. The problem I have is that when I set the parameter in read-only Excel Online, the CUBEVALUE changes to #NA. If I go to Excel edit mode and change the cell linked to the parameter it works correctly. Therefore the problem is only related to setting the parameter while read-only mode. Interestingly if I click 'refresh all connections' while in read-only mode then it works. But I need a way such that when updating the the parameter, the CUBEVALUE refreshes automatically without the user having to click 'refresh all connections'. Is there a way to achieve this?

Where is get external data in Excel Online Office 365

I have an Excel Spreadsheet that gets data from a stored procedure in SQL in Azure. No issues, it works from the local station or the Azure VM. I want to use this sheet in Excel Online of office 365. There are option to Refresh connection, but no where to create a connection. I copied the sheet to Onedrive and gave all the appropriate permission and when trying to open it gave error: "We're sorry. We can't open the workbook in the browser because it uses these unsupported features: PivotTable reports that refresh when filters change or use external data ranges (also called query tables)"
No Pivottables or filters are in the sheet. So I wish to recreate it in Excel online, but I cannot find how to add a connection. Excel on line Offcie 365, how to add a connection?

Auto-refresh excel sheet on sharepoint

I have a setup on sharepoint with an excel data file linked to another excel file containing charts and pivot tables based on this first file. Both files are saved together in a shared folder. I then have a site page which contains the pivots and charts displayed as web parts. I want to be able to refresh only the data file and then see the pivot file and subsequent sit page update without having to open and click refresh on any of the files.
Is this possible?
Not sure which version you're using.
For SharePoint 2013, check Configure Excel Services data refresh by using external data connections
For SharePoint online, you maycheck this demo, while this should require user logon in.

Unable to refresh powerpivot data in sharepoint

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.

"An error has occured" while opening PowerPivot workbook on Sharepoint

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.

Resources