Quantcast
Channel: Chris Webb's BI Blog: Power Query
Browsing all 248 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Working with Web Services in Power Query

One of many cool things about Power Query is the way that it allows you to retrieve data from web services and load it into Excel. While this is a subject that lots of people (including me) have...

View Article


Image may be NSFW.
Clik here to view.

Web Services And POST Requests In Power Query

In my recent post on web services in Power Query I mentioned that while the Power Query Web.Contents() function generates a GET request by default, you can make it generate a POST request by specifying...

View Article


Image may be NSFW.
Clik here to view.

Displaying Help For A Power Query Function

Matt Masson and Theresa Palmer gave an excellent presentation on Power Query and M for the PASS DW/BI Virtual Chapter a few days ago (hopefully it will be on their YouTube channel soon). One thing that...

View Article

Image may be NSFW.
Clik here to view.

Expanding All Columns In A Table In Power Query

When I’m working with XML files, or web pages, or any data with columns containing nested tables in Power Query, I often end up having to expand every expandable column in the table and then expanding...

View Article

Image may be NSFW.
Clik here to view.

Implementing A Basic LIKE/Wildcard Search Function In Power Query

Last week someone asked me whether it was possible to do the equivalent of a SQL LIKE filter in Power Query. Unfortunately there isn’t a function to do this in the standard library but, as always, it...

View Article


Image may be NSFW.
Clik here to view.

Join Conditions In Power Query, Part 1

In last week’s post I showed how to create a simple LIKE function in Power Query which could be used in a calculated column. This week I’m going to show you how you can use this function in a condition...

View Article

Image may be NSFW.
Clik here to view.

Join Conditions in Power Query, Part 2: Events-In-Progress, Performance and...

In my last post you saw how to join two tables together using conditions other than the built-in inner, outer and anti join conditions. However, as I mentioned, you need to be aware of some of the...

View Article

Image may be NSFW.
Clik here to view.

Using List.Generate() To Make Multiple Replacements Of Words In Text In Power...

Recently I had a request for help from someone who wanted to do the following in Power Query: take a piece of text and then, using a table, search for all of the occurrences of the words in one column...

View Article


Image may be NSFW.
Clik here to view.

Power Query Book Published!

Looking for some summer holiday (or winter holiday, depending on which hemisphere you live in) reading? If so, may I suggest my new Power Query book? “Power Query for Power BI and Excel” is available...

View Article


Image may be NSFW.
Clik here to view.

Working With Excel Named Ranges In Power Query

One of the more recent additions to Power Query is the ability to access data from named ranges in the Excel worksheet rather than an Excel table. I’ve got used to formatting data as tables in Excel...

View Article

Image may be NSFW.
Clik here to view.

Comparers, Combiners, Replacers and Splitters in Power Query

At the end of the Power Query Formula Library Specification (which can be downloaded here) are sections on Comparer, Combiner, Replacer and Splitter functions. These functions are most often used in...

View Article

Image may be NSFW.
Clik here to view.

Removing Punctuation From Text In Power Query

In one of my first posts on Power Query (and still my favourite) I found the top 100 words in the complete works of Shakespeare. As always when you’re learning a new tool, though, I look back at what I...

View Article

Image may be NSFW.
Clik here to view.

Create Your Own Relationships Between Tables In The Excel Data Model With...

You probably know that, when you are importing data from multiple tables in SQL Server into the Excel Data Model in Excel 2013 using Power Query, Power Query will automatically create relationships...

View Article


Image may be NSFW.
Clik here to view.

Power Pivot / Power Query Read-Only Connection Problems In Excel 2013 – And...

Anyone who has tried to do any serious work with Power Pivot and Power Query will know about this problem: you use Power Query to load some tables into the Data Model in Excel 2013; you make some...

View Article

Image may be NSFW.
Clik here to view.

Handling Data Source Errors In Power Query

Recently I was asked an interesting question by Ondra Plánička in the comments of a blog post: how can you handle errors caused by unavailable or missing data sources in Power Query? Let’s imagine you...

View Article


Image may be NSFW.
Clik here to view.

Advanced Options For Loading Data From SQL Server With Power Query

Loading data from SQL Server using Power Query is fairly straightforward, and the basics are well-documented (see here for example). However there are a few advanced options, not all of which are...

View Article

Image may be NSFW.
Clik here to view.

Creating Histograms With Power Query

A few months ago someone at a conference asked me what the Power Query Table.Partition() function could be used for, and I had to admit I had no idea. However, when I thought about it, I realised one...

View Article


Image may be NSFW.
Clik here to view.

Sentiment Analysis In Excel With Azure Machine Learning And Power Query

You may have seen Joseph Sirosh’s blog post last week about the ability to publish Azure Machine Learning models to the Azure Marketplace, and that MS have published a number of APIs there already....

View Article

Image may be NSFW.
Clik here to view.

Waiting Between Web Service Requests In Power Query

Often when you’re working with web services in Power Query you’ll be making a large number of requests to the web service in a small amount of time – and you’ll notice that your query seems to be a lot...

View Article

Image may be NSFW.
Clik here to view.

Timing Power Query Queries

If you’re interested in performance-tuning a Power Query query, you’re going to need a reliable way of telling how long your query takes to run. It’s not as easy as it seems to adapt your query to do...

View Article
Browsing all 248 articles
Browse latest View live