Excel for Mac: Run Web Query with Text to Columns - excel

I'm making a Web Query on Excel by doing the following:
Create a Word file, paste the web URL.
Save the Word as .iqy with .txt format.
Choose MS-DOS as coding.
Create an Excel file and click "Data >Get External Data >Run Web Query
Is there a way to separate the text by columns when running the query?
Thank you.

Related

How can extract text from pdf to excel

I have Scanned Image, I converted it to pdf file, the content of image are rows and columns (table), I want Extract the text from table to excel file, any Idea? any good website or tool or program can I use it
I tried to use a lot of websites to extract text, but it does not work
Do you have Microsoft Excel? If you do, then first convert the PDF to a JPEG.
And with that, go to Microsoft Excel
Create a New Document
Go to the Data Tab
Choose "Data From Picture"
Choose Picture From File
You'll see a couple of instructions. Follow them to complete the process of converting the picture to table.
You'll also have the option of correcting any inaccuracies before adding them to your spreadsheet.
That's all!

Power Query to open XML file formatted as Excel would open it

I have an XML file generated by EasyPower (electrical software). If I open the file in Excel it comes up as a series of formatted sheets like the image below. It appears this way without any prompts or dialogs.
I’m creating a Power Query routine that can extract the data from the sheets. Unfortunately when I use the Power Query wizard to select the XML file as a source, it doesn’t see the data as sheets, but rather a table with columns of Tables, seemingly an infinite number of levels deep. Digging through them I’m unable to clearly see the data. This is not a very good approach.
A work-around is for me to manually open the XML file with Excel and save it as XLSX, then it’s easy to work with the data in Power Query. I know a VBA script could be used to this but my question is, is there a way for Power Query to open an XML file and interpret the layout the same way that Excel does? This way would allow my script to also work within Power BI.
Edit: A sample file has been requested. This link will provide a very simple example containing two worksheets when opened in Excel. EasyPower_Test_Schedule.xml

Get data (a Excel file) based on conditions located on a webpage using power bi

This query is in relation to getting a data through an excel file from a website based on specified dates.
For example, from the following site: https://www.fbil.org.in/#/home, I'll need to input the date in the Choose date and click fetch to download the excel file then update my excel sheet regularly.
I know we can input the URL and use parameters to get the excel information through "Under Data Tab - From Web"
However, is it possible to do the same for the site from which i need to download excel file based on parameters (dates inputted).
I will have to input the date in the Choose date and then click on the files highlighted in archives to download the excel file. Is it possible for me to this many steps in power bi?

Excel Protected Data Source For Power Query

I am exporting reports from QuickBooks Online as Excel attachments via email. I am then using Microsoft Flow to save the attachments to Sharepoint. Then, I am using those Excel files stored in Sharepoint as the data source for my reporting. I have one report (out of 7) that's coming through with a protected view, which is causing it to look like this in Power Query:
The actual Excel file looks like this when I open it:
From what I can deduce, this is because there's some level of protection on the Excel file. However, the other theory I have is because each of the cells have "=" before the numeric value. In other words, the first cell has "=750" instead of just "750". If I go into Sharepoint, open the file in Excel Online, remove the "=" in just that one cell, and refresh Power Query, then the amounts show up in the editor as expected.
Is there any way to deal with this in Power Query? Thanks in advance for your help.

how to import data from sharepoint to excel using macro

I wanted to know if there's a way to import data from SharePoint to Excel using Macros. What i want to do is have a library in my sharepoint in which i have an excel document. When i download the document and open it, i would like to automatically import the data from sharepoint and have some graphs.
What i've tried to do is export the data of a list using the SharePoint ribbon. Then i opened the file.dll.iqy in notepad, hoping to find the macros to import datas. What i've found was this :
WEB
1
http://win-sharepoint:9090/sites/PPMO/_vti_bin/owssvr.dll?XMLDATA=1&List={C51D70F2-4D7B-4F20-AE05-379DA264F685}&View={8399F350-92C7-4942- B8B0-464A735AFC72}&RowLimit=0&RootFolder=%2fsites%2fPPMO%2fLists%2fStade%20du%20projet
Selection={C51D70F2-4D7B-4F20-AE05-379DA264F685}-{8399F350-92C7-4942-B8B0-464A735AFC72}
EditWebPage=
Formatting=None
PreFormattedTextToColumns=True
ConsecutiveDelimitersAsOne=True
SingleBlockTextImport=False
DisableDateRecognition=False
DisableRedirections=False
SharePointApplication=http://win-sharepoint:9090/sites/PPMO/_vti_bin
SharePointListView={8399F350-92C7-4942-B8B0-464A735AFC72}
SharePointListName={C51D70F2-4D7B-4F20-AE05-379DA264F685}
RootFolder=/sites/PPMO/Lists/Stade du projet
I tried to save it as a macro, but the result i got was not the one expected.
Do you have any idea how to do this ?
Thanks a lot
In Excel 2010, you can go to Data / Get External Data / From Web
Then you can browse to your SharePoint List and select your table using the helpful arrow icons.
Similarly, you can open the iqy file with Excel (enabling security on the prompt) then save the new worksheet. You can see the iqy file details under Data / Connections.

Resources