Power Query – The IF function
In my last post I talked about useful text functions, and how they differed between Excel and Power Query. Today we’re going to look at another compare/contrast scenario, but this time it’s going to...
View ArticlePower Query – Multi Condition Logic
In my last post, we looked at creating an IF statement using Power Query. This time we’re going to go a bit deeper and look at a scenario where we need to choose between several options. The base...
View ArticleMerging Columns with Power Query
The August update for Power Query was finally made available on Sept 1, and it has some pretty cool stuff in it. In this week’s segment I thought we’d cover off one of the features that I’m most...
View ArticlePower Query – The Round Function
The other day I asked one of my co-workers how many ways he knew of to round a number. His answer was one… if it ends in .4 it rounds down and if it ends in .5 it rounds up. My guess is that most...
View ArticleUn-pivoting With Subcategories in Power Query
My last few posts have been relatively technical, so this time I figured I’d look at something practical. I can’t believe it’s been almost a year since I blogged about Un-Pivoting data in Power Query,...
View ArticlePulling Excel Named Ranges into Power Query
The comments of my last post collected a tip that I thought it was worth exploring. I made the claim that Excel MUST have the data in an official Excel table. As LoganEatsWorld pointed out, that’s...
View ArticleCreate Dynamic Table Headers With Power Query
In my last post, I looked at how to pull a named range into Power Query and turn it into a table of data. Today we’re going to look at how to create dynamic table headers with Power Query, but using a...
View ArticleRefresh Power Query With VBA
When I’ve finished building a solution in Excel, I like to give it a little polish, and really make it easy for my users to update it. The last thing I want to do is to send them right clicking and...
View ArticleTame Power Query Workbook Privacy Settings
I recently built a cool Excel solution at work that uses Power Query to reach out and grab some weather data, then upload it into database. We use that data in our dashboards, as weather is pretty...
View ArticleName Columns During a Merge
The timing for the release of the October Power Query update couldn’t really have been much better for me, especially since it’s got a cool new feature in that you can now name columns during a merge....
View ArticleMerge Multiple Files With Properties
This post illustrates a cool technique that I learned at the MVP summit last week, allowing us to use Power Query to merge multiple files with properties from the file in the output. A specific...
View ArticleCombine Multiple Worksheets Using Power Query
In last week’s post we looked at how to combine multiple files together using Power Query. This week we’re going to stay within the same workbook, and combine multiple worksheets using Power Query....
View ArticleBuilding a Parameter Table for Power Query
One of the things that I’ve complained about in the past is that there is no built in way for Power Query to be able to pull up the path for the current workbook. Today I’m going to show you how I...
View ArticleForce Power Query to Import as a Text File
I’ve run into this issue in the past, and also got an email about this issue this past week as well, so I figured it’s worth taking a look. Power Query takes certain liberties when importing a file,...
View ArticleTreat Consecutive Delimiters As One
A couple of weeks back, I received a comment on my “Force Power Query to Import as a Text File” blog post. Rudi mentioned that he’d really like to see a method that would let us Treat Consecutive...
View ArticleTranspose Stacked Tables
For the first post of the new year, I thought I’d tackle an interesting problem; how to Transpose Stacked Tables in Power Query. What’s do I mean by Stacked Tables? It’s when your data looks like...
View ArticleSlicers For Value Fields
Earlier this week I received an email asking for help with a Power Pivot model. The issue was that the individual had built a model, and wanted to add slicers for value fields. In other words, they’d...
View ArticleHow to Reference other Power Query queries
One of the things I really like to do with Power Query is shape data into optimized tables. In order to accomplish that goal, I’ve begun using Power Query to source data over Power Pivot’s built in...
View ArticleCreating a VLOOKUP Function in Power Query
Tonight I decided to actually follow through on something I’d been musing about for a while: building a full fledged VLOOKUP function in Power Query. Why? Yeah… that’s probably a good question!...
View ArticleDate Formats in Power Query
Date formats in Power Query are one of those little issues that drives me nuts… you have a query of different information in Power Query, at least one of the columns of which is a date. But when you...
View Article