Showing posts with label Power Query. Show all posts
Showing posts with label Power Query. Show all posts

Friday, May 15, 2020

Querying Excel data using Power Query


Excel has a tool called Power Query which can be used to query data from many data sources, external data sources, or a source in an Excel worksheet, such as a table.

Here are the types of external data you can query using Excel.
Power Query Data Sources

Web page

Excel or CSV file

XML file

Text file

Folder

SQL Server database

Microsoft Azure SQL Database

Access database

Oracle database

IBM DB2 database

MySQL database

PostgreSQL Database

Sybase Database

Teradata Database

SharePoint List

OData feed

Microsoft Azure Marketplace

Hadoop File (HDFS)

Microsoft Azure HDInsight

Microsoft Azure Table Storage

Active Directory

Microsoft Exchange

Facebook

In the present post, you can see how you can query data in a worksheet, using Power query.

The following three steps show how you may do it.



 In the above worksheet, I created a table. Inserted three rows of data and highlighted them. Then I clicked, Insert and, picked up Create Table from the drop-down. This gave me the second dialog Create Table pre-filled with my data. I then clicked OK to create a table as shown in the bottom of the above.


Now I clicked Data and Query and Connections. I then clicked the option From/Table Range to Open the Power Query Editor. 


Now it is straight forward to query the Table in Excel worksheet.

More on Power Query here:

https://support.office.com/en-us/article/introduction-to-microsoft-power-query-for-excel-6e92e2f4-2079-4e1f-bad5-89f6269cd605

Monday, August 10, 2015

Doing BI in the cloud using PowerBI for Office 365

Early last year Microsoft announced the general availability (GA) of PowerBI for Office 365. Office is the most used office program and PowerBI brings in great value by providing a self-service means to discover, analyze and visualize data leading to deep insights.

Using PowerBI for Office 365 one can easily deploy a cloud-based BI application for sharing insights; colloborating and accessing reports from practically anywhere.

Power BI for Office includes the following Microsoft
'Power' tools:
  • Power Query, enabling customers to easily search and access public data and their organization’s data, all within Excel (formerly known as “Data Explorer“).
  • Power Map, a 3D data visualization tool for mapping, exploring and interacting with geographic and temporal data (formerly known as product codename “Geoflow“).
  • Power Pivot for creating and customizing flexible data models within Excel.
  • Power View for creating interactive charts, graphs and other visual representations of data.
What are the main capabilities?

PowerBI allows the companies to include the cloud as an arena in which they can share and colloborate. The DataCatalog; Q & A with natural language support; mobile connectivity are unbeatable capabilities.
  • Quickly create collaborative BI sites – enable anyone to quickly create a collaborative BI site to share workbooks containing data and insights.
  • Keep reports up to date with scheduled data refresh – reports that have been saved to the cloud can now connect back to on-premises data sources to refresh the data and stay up to date.
  • Manage data queries for the team – share not only workbooks but also the data queries created in Power Query for Excel. Team members can now build and manage data queries for others to use when creating their own reports.
  • Maintain a Data Catalog of searchable data – IT departments can now use the Data Catalog feature to make it easier for everyone to find and connect to corporate data by searching for it from within Excel.
  • Ask questions of your data in natural language – with the Q&A features people can type questions they have of the data in natural language and the system will interpret the question and present answers in the form of interactive visualizations.
  • Stay connected with mobile access to your reports – stay connected from anywhere with new HTML5 support and the Power BI windows app.
How much does it cost?

First of all you should be Office 365 Enterprise E3 or E4 customers and it was promotional $20 per month per user for the existing customers. Access this link here for reduced new prices.

However you could sign-up for a free-trial of PowerBi for Office 365 here and you will also get a 30day trial of Office 365 Pro-plus.

I do not have the Enterprise edition but just a $10 month subscription and I get only 'Power Map' add-in in my Office 365's Excel application.I have not figured it out how I may be able to use this without the other tools.

Note: Text in italic taken directly from Microsoft sites.

Friday, January 03, 2014

The difference between Power Pivot and Power Query

There may be a some overlapping functionality in accessing data as both of them have to access data sources but Power Query is more like SSIS (SQL Server Integration Services) a la EXCEL while Power Pivot (SQL Server Analysis Services) is more like SSAS.

The variety of data sources that Power Query can connect to manage is much wider than that of Power Pivot including the social media created data like Facebook and unstructured data.
Power Pivot has a more powerful analytical role than Power Query which you  can easily make out by just looking at the user interfaces.

However both of them are downloaded as add-ins for MS EXCEL 2010 or 2013 as shown (MS EXCEL 2010 in this case).


You may follow these link for more details:

Connecting to SQL Server 2012 Express from Power Pivot - 1
http://hodentekmsss.blogspot.com/2014/01/connecting-to-sql-server-2012-express.html

Connecting to SQL Server Express 2012 from Power Pivot - 2
http://hodentekmsss.blogspot.com/2014/01/connecting-to-sql-server-express-2012.html

Friday, December 20, 2013

Microsoft BI and Power Query

Power Query adds one more arrow to Microsoft's BI strategy. This time around Power Query provides  the hooks to connecting to a variety data sources over encrypted/unencrypted connections. Processing of the raw data from tables can be carried out using the controls on the Query Editor.  Power View if installed can be used to produce dazzling adhoc reports.

Some details of Power Query were posted here:
http://hodentek.blogspot.com/2013/12/what-is-microsoft-power-query.html
http://hodentekhelp.blogspot.com/2013/12/what-is-difference-between-ms-query-and.html

After installing the add-in you can easily connect to SQL Server (in this case SQL Server 2012) and generate a query easily as shown in the next image,

 
You can further process the query with built-in controls and save to workbook. The present MS Excel version is 32 bit and Power View is not installed.

Step-by-step procedure working with Power Query can be found here:

http://hodentekmsss.blogspot.com/2013/12/querying-sql-server-2012-with-power.html

Sunday, December 15, 2013

What is Microsoft Power Query?

Sharpen you BI skill set!!

It is an Microsoft Excel add-in that is intended to enhance the Business Intelligence that you can carry out as it provides a simplified path to discover the data and access it. Once discovered the dat can be analyzed in EXCEL. It also has a US only Public search feature.
It is available in both x32 and x64 bit versions.
Features of Power Query:
The following types of data can be discovered,
  • Relational databases
  • Excel Spread sheets
  • Data in text
  • XML data
  • OData Feeds
  • Web Pages,
  • Hadoop HDFS and many others
You can mash up data from different sources and can be analyzed by Power Pivot and EXCEL.

It is supported on Windows 7, Windows 8. With .NET 3.5 SP1 it is also supported on Windows Vista, Windows Server 2008

You would also require,
Office 2013 professional plus
Office 2013 standalone
Excel 2013 Standalone
Office 2010 Professional Plus

Power Query is different from MS Query. How different? Follow this link:
http://hodentekhelp.blogspot.com/2013/12/what-is-difference-between-ms-query-and.html

Here is the ribbon tab for POWER QUERY

 
Here is how you access data or discover it.
 
 
Yet another great tool to work with.
 
 
 
DMCA.com Protection Status