Data not Refreshing on Excel Online - excel

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 !

Related

Power Bi dasherboard uploaded online connected to excel file does not update

from power bi desktop I created a dashboard with links to Saleforce and with a link to an excel table on my computer.
from "edit query" I deactivated the updating of the excel file in the report (it must not update) and I uploaded the dashboard online so that I can share it.
the computer on which I have the excle file does not always stay on, when I go to create a scheduled update of the dashboard, it fails because it cannot connect to the excel file.
my aim is to keep the excel file because I created some measurements (so as not to redo them) and to update the dashboard
you have to update the dashboard with the saleforce dates but not with the excel file
Put the Excel file on SharePoint/Onedrive and import it from there.
Use web connector option in Power BI Desktop option and pase the link for the connected Excel file . It will work fine

Excel (online)+PowerBI Refresh

I have a PowerBI Online dataset, which was created in PowerBI desktop and then published online. So far so good.
I connect to the dataset from Excel via PowerBI pusblish, which work as expected. I'm able to refresh the data in the offline version of Excel, but if I attempt to refresh it in Excel online, I get a generic error.
Is it even possible to refresh Excel online which is connected to PowerBI dataset? If not, any possible workaround?
Thanks for any tip
I'm not sure if this is an exact answer, but I've got a set up here where the O365 online excel document lives in a sharepoint environment. I was able to add the sharepoint site as a source in PowerBI - so whenever the online excel gets updated (because it resides on the sharepoint server), it's able to be fed into Sharepoint.

Refresh excel linked file when SQL Server data table changes

I have an excel file which is linked to a SQL Server table using an External data connection. This table is refreshed weekly by an upstream process. For some reason, our users are unable to refresh the data by themselves since they run into authentication issues even though the password is saved and embedded in the file. They want me to email the file each week after the data is refreshed.
Currently, the table is refreshed via an SSIS process. I could use an Email Task and send the file as an attachment.
IS there a way that I can automatically refresh the file without opening or any other manual intervention at the time of execution?
I looked at some of the other solutions that have been posted online but most of them have the source data in a separate tab. Our data is external.
You can set spreadsheets to refresh automatically on a schedule using powerpivot and sharepoint.
https://support.office.com/en-us/article/manage-a-data-refresh-schedule-218448bc-24fa-4729-a28e-3ce5ef003e95
it creates a sql server agent job in the background to do the refresh from what I remember when I set this up at my last job, so you could tie it in to SSIS as a next step after it runs on the agent job. All sharepoint files can be picked up using windows explorer, so you could get it from it's file path there to email it out. Or you could just give them the sharepoint link, but now it will always be up to date.

Running a PowerQuery on Google Sheet - keeps failing

I'm trying to run a PowerQuery on a work-related Google Sheet (that I can't share here) so that the data appears in Excel and refreshes when I need it to.
I have published the Google sheet to the web and gotten the link (in web format, not Excel, but this is failing no matter which file format I publish in).
I then go to Data->From Web in Excel and I paste the link to the Google Doc get this:
Query Preview
As you can see, the data isn't appearing. It should be a table with a bunch of data.
Can someone help me fix this?
When using Google's File / Publish to the web pop-up, change the 2nd setting from "Web page" to "Microsoft Excel (.xlsx)". It then builds a link that works without modification in Power Query.
FYI the best in-depth discussion on this topic is on this thread:
http://community.powerbi.com/t5/Integrations-with-Files-and/How-to-connect-google-sheet-to-Power-BI/m-p/205058#M11276
BTW if you have published your Google sheet to the web, then there shouldn't be any obstacle to sharing it here - it's already visible to anyone.

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.

Resources