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.

A Partly Successful Attempt To Create Life With Data Explorer (Power Query)

NOTE: This post was written before Data Explorer was renamed as Power Query. All of the content is still relevant to Power Query. I’ll apologise for the title right away: this post isn’t about a...

View Article


Image may be NSFW.
Clik here to view.

Accumulating Data In An Excel Table Using Data Explorer (Power Query) and...

NOTE: This post was written before Data Explorer was renamed as Power Query. All of the content is still relevant to Power Query. One of the first questions I get asked after showing someone PowerPivot...

View Article


Image may be NSFW.
Clik here to view.

Flattening A Parent/Child Relationship In Data Explorer (Power Query)

NOTE: This post was written before Data Explorer was renamed as Power Query. All of the content is still relevant to Power Query. I was teaching my SSAS cube design and performance tuning course this...

View Article

Image may be NSFW.
Clik here to view.

Some Power Query/M Examples

The more I use Power Query and the M language that underpins it, the more I see how useful it is – quite apart from its abilities to import data from other data sources – as a third option (after...

View Article

Image may be NSFW.
Clik here to view.

Returning The Contents Of Any Table In Any Excel Workbook In Sharepoint With...

Yet another Power Query post this week (with more to come) – today I’m going to show you how you can use Power Pivot and Power Query to build a dynamic solution that allows a user to browse through all...

View Article


Image may be NSFW.
Clik here to view.

Sharing Functions In Power Query

The Power BI Preview includes the ability to share Power Query queries with other people in your organisation; I was thinking about writing a blog post on this topic, but to be honest the documentation...

View Article

Image may be NSFW.
Clik here to view.

Implementing Common Calculations In Power Query

When I first saw Data Explorer (as Power Query used to be called), I immediately started thinking of it as a self-service ETL tool; indeed, it’s how Microsoft itself is positioning it. However I...

View Article

Image may be NSFW.
Clik here to view.

Reusing A Power Query Connection

One of the things I like least about Power Query at the moment is the lack of control over where the results of your queries end up in Excel. For example, if you create a new query and load it onto a...

View Article


Image may be NSFW.
Clik here to view.

Generating A Date Dimension Table In Power Query

There are hundreds of different methods for generating a Date dimension table for use in Power Pivot: you can use TSQL, Excel formulas, import from the DateStream table in the Windows Azure...

View Article


Image may be NSFW.
Clik here to view.

Pivoting Data In Power Query

One of the features I’ve loved right from the start in Power Query is the ability to UnPivot data right from the UI (I’m not alone – Ken Puls has written a good blog post summing up this functionality...

View Article

Image may be NSFW.
Clik here to view.

Updating Data In SQL Server With Power Query

As of the November update of Power Query, it’s now possible to write your own SQL query when you’re moving data out of SQL Server into Excel using Power Query. So I got thinking… if you can write your...

View Article

Image may be NSFW.
Clik here to view.

Aggregating By Local Groups In Power Query

When looking through the Power Query library reference I noticed that the Table.Group() function has a very useful option to aggregate data using what it calls local groups. Rather than explain what...

View Article

Image may be NSFW.
Clik here to view.

Comparing Tables In Power Query

An interesting Power Query nugget for you: you can compare two tables using the Value.Equals() function. For example, take the following worksheet with five Excel tables on it: The following Power...

View Article


Image may be NSFW.
Clik here to view.

Comparing Columns In Power Query

A few weeks ago I wrote a post about comparing the contents of entire tables in Power Query, and a question came up in the comments about how you might go about comparing values in columns rather than...

View Article

Image may be NSFW.
Clik here to view.

Loading Power Query M Code From Text Files

One of the things that has intrigued me in the Power Query docs for a while now is the Expression.Evaluate() function, which takes some text and evaluates it as a Power Query expression (rather like...

View Article


Image may be NSFW.
Clik here to view.

Power Query Session From 24HOP Now Available To Watch

The recording of my session, “Power Query: Beyond The Basics”, from yesterday’s 24 Hours of PASS event is already available to watch here: http://bit.ly/1fUGzAr It’s a brief introduction to the M...

View Article

Image may be NSFW.
Clik here to view.

Allocation in Power Query

Now that the brave new world of self-service BI is upon us, old-school corporate BI types like me need to sharpen our Excel skills – and anyone learning Excel will, sooner or later, end up on Bill...

View Article


Image may be NSFW.
Clik here to view.

Conditional logic in Power Query

Writing a simple if statement in Power Query’s M expression language is straightforward. Using an Excel table called Input that contains a single value as the starting point: The following query shows...

View Article

Image may be NSFW.
Clik here to view.

User-Defined Conditional Logic In M

Here’s a short follow-up to my last post on conditional logic in M. After that post went live, Ehren Vox of the Power Query team made a good suggestion on Twitter: rather than hard-code the list of...

View Article

Image may be NSFW.
Clik here to view.

Pretty Patterns With Power Query And Power Map

Here’s something with no practical use whatsoever. Today, after I finished writing the first draft of the chapter on M of my upcoming Power Query book, I got thinking about how Power View and Power Map...

View Article
Browsing all 248 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>