Where is get external data in Excel Online Office 365 - excel

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?

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?

Refresh All is not updating refresh-able web query table in Excel 2016

Recently I have updated two of my office PCs with Windows 10 and Office 2016.
I work on Excel sheets (on my server). My excel sheet contains many pages in which data is put as refresh-able web query from our company website.
In one of my new PCs (client) Excel sheets (stored in the server) are working fine and updating data by refresh all command however in my other new PC refresh all command is not updating the same sheet on sever.
I have already checked following :
Created new Excel sheet in both of the PCs and put new refresh-able web query data in each. Again first Pc's sheet is getting refreshed by refresh all command but 2nd PC's sheet is not.
I have checked data connection setting in both PCs, trust center setting in both, pivot table setting in both PCs, macro setting in both they are perfectly the same in both PCs.
Connection setting: update by refresh-all: checked
External Data: enabled.
Refresh in the background: doesn't make any changes in the result
Macro enable or disable: does not make any change in result
Active X control setting does not make any change in the result
trusted doc setting same result
Option: advance: setting are also same
Please help me to resolve this typical issue... thanks in advance.
I am really puzzled because I did not make any settings changes in these brand new PCs with installed Office 2016.
But not able to work on one PC as my Excel sheets are not refreshing data from the website in one PC.

how to hide cached pivot table data in Excel

I have an Excel 2010 workbook that contains a pivot table that connects to a cube. Authentication is per user. The workbook is hosted on Sharepoint 2013. It is important that no user should ever see cube data that they do not have access to. But users should be allowed to download the workbook to their desktop.
With the setting "Refresh data when opening the file" checked, users never see cached data via Excel Services. But when they download the workbook and open it they may have the chance to see the cached data of the last user who saved the file on Sharepoint. (say, after they open the workbook but before they click on "Enable Content"). How can this viewing of cached data in Excel be prevented?
One answer is to use filters on the document library views. This allows control over what workbooks users can see. You can set a filter to only display workbooks last modified by a system account. And create a SharePoint workflow to force the refresh of the workbook on save using a service account for refresh with limited data access. (The refresh can also be controlled manually or schedule using the Manage PowerPivot Data Refresh options). Only when the refresh is complete will the workbook be visible to users because the last modified by will meet the filter conditions.
This means that the workbooks will effectively be empty templates and the data is secured.

Error while opening excel pivot table report from sharepoint 2010

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

SSRS: Error while querying data from an Excel file (through ODBC)

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.

Resources