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.
Related
I have multiple HTML files in my folder. I need to fetch some data from each html files and copy those value in excel sheet using VBA MACRO. how to write code to achieve this?.
And the html files should open in Microsoft edge browser (not in IE)
If any one knows the solution please help me out.
Thank you
You said,'the HTML files should open in Microsoft Edge browser (not in IE)'.
If your goal is to copy the data to an Excel sheet then I think it should not matter whether you are doing it via IE or Edge.
If you are thinking that as IE browser is retired on some Windows OS and your IE VBA Automation will not work then I would like to inform you that IE VBA automation will continue to work even after the IE browser retirement.
If you still want to automate the Edge browser then as suggested by the community member, you will need to use the web driver.
For VBA IE Automation the general idea would be to create an object of the IE or Edge browser from the Excel VBA editor. Launch the browser. Browse the web page. browse to the web element and copy the data to the Excel sheet.
If you use Selenium then you also need to use the library for Excel and create an object of the Excel file.
For more information, you could refer to the links below.
Use WebDriver to automate Microsoft Edge
Automate Microsoft Edge
Similar kinds of articles and docs you could find for the IE VBA Automation.
You could refer to the docs and try to make tests on your side. If you are stuck somewhere or have any questions. you could post a new question on this forum.
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.
I'm hoping this is possible.
The organization I work for has a Sharepoint site and I am able to Upload Files to pages, however I am not an admin on our Sharepoint. I'm not sure what the version is, I think its older (ie: 2005).
I have some Excel Reports I've built. The data for these reports is pulled from a SQL Server Database which I have full control over. I have setup a Job in SQL Server to run every 12 minutes, this procedure pulls in some data and updates a few tables. These tables are used to feed my Excel Reports.
I have a separate Scheduled task set to open my excel report(s) refresh the data connections and save as a PDF.
I would like to link to these PDF Files via our Sharepoint so that the VIPs can access the reports as they want, but they always see the most up to date report.
I was trying to link to a Shortcut to the PDF Files but SharePoint doesn't seem to like that. How do I make the SharePoint link point to the PDF File that is saved over every 15 minutes?
Thanks in advance,
Any insight is greatly appreciated.
The way I do it (newish version of Sharepoint) is make the save location for the PDF the network location where Sharepoint keeps the files for that site. Usually you'll have access to those if you can edit the Sharepoint site.
Here is a tutorial to find that network location.
EDIT: It very well may be disabled by the admin at the moment. But it looks like the functionality is there.
Given the age of your SharePoint (either 03 or 07), most of the modern tools that you could use to do this don't exist for you (Excel reporting, BI tools, etc). The easiest solution I can think of is to actually modify the other side of the equation. A few options:
Change your report to output two copies of the same file. One entitled (as an example) currentreport.xls and the other report20150626.xls . Put the link to the currentreport.xls in SharePoint.
Build an ASP.net page that runs the SQL query you have built and pull the data through a view. Since this would be pulled on demand, it may be a few more cycles of your SQL code, but indexing, caching and selective data pull can prevent this from being an issue. Put the asp.net code in an iFrame in a SharePoint content editor web part.
Build your report using SSRS and host the output of that in SharePoint using an iFrame.
Run a scheduled job in SQL that copies your current report data to a table and query that table instead of your normal report table. That way you only have one Excel file that points to a specific table so no need to update links. You can always keep copying data to specific files if you need a historical record and can't use the DB to store this data for you (though the amount of space that it would take to do so would be minimal).
I am using Sharepoint Excel services to produce reports, and noticed that when users download their excel services workbooks as a snapshot, any page breaks set up in the original spreadsheet are lost. I cant seem to find any mention of this problem in any sharepoint forums or microsoft, just wondering if anyone else has experienced this or even has a solution? Thanks
A lot of information and functions of the workbook are not available in Excel Services.
Also the Snapshot does not "remember" such settings like page break or in my case landscape orientation for printing.
Here are some references for what is supported and what is not supported:
Snapshot:
https://support.office.com/en-us/article/Open-a-workbook-or-snapshot-in-Excel-from-Excel-Services-0d7c0465-6ea9-4a1e-993b-54bd1099d604
Difference Excel / Services
https://support.office.com/en-us/article/Differences-between-using-a-workbook-in-Excel-and-Excel-Services-b690ef8c-a26a-4673-b426-1852f8d77fd0
We want to be able to publish Excel 2013 workbooks containing Power View reports into SharePoint 2013 and see them via Excel Services application.
Currently instead of the actual report we see the default Power View error page without any error message or log entry.
Here is some additional information:
1. The rest of the workbook (regular excel and powerpivot sheets) is rendered correctly.
2. Power View reports created inside SharePoint document libraries (RDLX reports) are rendered correctly.
3. PowerPivot and Power View are reconfigured and veryfied according to official step-by-step guides.
Does anyone have any thoughts on what we might miss or done wrong?
Thanks in advance.
Edit: I did a lot of debugging and could finally find a related error message. It's a NullReferenceException in Microsoft.AnalysisServices.SPAddin.ReportGallery.SnapshotHandler.RegisterGlobalExtensionHandlers() method. This exception is thrown only once after application pool reset and when I upload an XLSX workbook to a document library.
I checked the method code in .NET Reflector and seems I've found the section where the exception is being thrown.
CustomCaptureSection customCaptureSection = (CustomCaptureSection)ConfigurationManager.GetSection("ReportGalleryCustomCapture");
SnapshotHandler.MaxSnapshotsCount = customCaptureSection.MaxSnapshotsCount;
SnapshotHandler.SnapshotCaptureTimeoutS = (long)((int)customCaptureSection.SnapshotCaptureTimeoutSeconds);
SnapshotHandler.CreateProcessMethodForSnapshot = customCaptureSection.CreateProcessMethodForSnapshot;
In my understanding, runtime is not able to get that section from configuration. I tried to find the section name in SharePoint hive and inetpub but with no luck. Is there another place I can look for configuration files? Or can someone verify that this section exists at all?
Thanks.
If the workbook is stores on premise, your host config is in Office Web Apps Server view mode (SharePoint Server configured to render workbooks by using Office Web Apps Server), and your workbook is opened in the Excel Web App power view sheets are not visible. Is this the mode you're in? They're also not visible on Skydrive.