What the #? Literally…
I was chatting with my friend Scott of www.tinylizard.com today, discussing the structure of the M language, and how it’s kind of weird compared to VBA, C# and such. Well, “what the #?”, I figure. I’m...
View ArticleDynamic Database Queries
Some time ago I posted a technique to pass parameters to Power Query via an Excel table. In a comment on that post, Anand asked “Can I pass the parameter to a SQL Table as well?” The question could...
View ArticleCombine Multiple Excel Workbooks in Power Query
I got a comment on a previous post today, which made me realize I’d promised this but never posted it. So let’s look at how to combine multiple workbooks together in Power Query, providing they have...
View ArticleConsolidating Worksheet Print Areas With Power Query
I’ve posted on consolidating worksheets before, but in a task I got asked to do last week, I took a slightly different approach. This approach allows consolidating worksheet print areas to grab the...
View ArticlePower Query Errors: Please Rebuild This Data Combination
I got sent this today from a friend. He was a bit frustrated, as he got a message from Power Query that read “Formula.Firewall: Query 'QueryName' (step 'StepName') references other queries or steps...
View ArticlePrompt for a Folder at Refresh
I got a comment on my blog the other day from David, asking if we could make Power Query prompt for a folder at refresh, allowing us to choose which folder to should be used to consolidate files. That...
View ArticleCreate Running Totals in Power Query
I was presented with an interesting problem last week; how to create running totals in Power Query. There doesn’t appear to be a built in method to do this, so I thought it would make an interesting...
View ArticleLooking for Power Query samples
How would you like to make your data famous? Or at least – how would you like a solution built for your own data using Power Query… for free? I have a couple of Power Query related things I’m working...
View ArticleUse Dynamic Ranges in Power Query
This was a great question that came up in my M is for Data Monkey session at the Amsterdam Excel summit: Can we use dynamic ranges in Power Query? If I recall correctly, this was asked by Gašper...
View ArticleNative Database Query Security Prompts
In a comment on my Parameter Tables post, Talha asks why we get prompted with a Native Database Query message each time the value of the parameter used in a SQL query changes: I had a question. The...
View ArticleLoad Power Query directly to Power Pivot in Excel 2010
One of the cool features in Excel 2013’s Power Query is being able to load to the Data Model (PowerPivot) directly. But Excel 2010 doesn’t appear to have this feature. Interestingly, you can still...
View ArticleAnnouncing Online Power Query Training!
I’m really pleased to announce that a new project I’ve been working on is live: powerquery.training, a website that offers online Power Query training! PowerQuery.Training About PowerQuery.Training...
View ArticleWhat Power Query Functions Exist?
I know that this topic has been covered before by others, but I think it’s still pretty valuable for a user to be able to figure out what Power Query functions exist, especially since they are often...
View ArticleData From Different TimeZones
A friend of mine emailed yesterday asking how to compare data from different timezones. With how good the UI is in Power Query, you’d think this would be easy. Unfortunately it’s a bit less than...
View ArticleRetrieve Related Tables in Power Query
As I was working on one of the assignments for our upcoming Power Query training course, it occurred to me that I’ve never blogged about this feature: how to retrieve related tables in Power Query....
View ArticleExcel Text Function Equivalents
For some time it’s bothered me that we don’t have full parity between Excel and Power Query functions. In this post I’m going to look at four Excel text function equivalents, intended to allow an...
View ArticleCalculate Hours Worked
Chandoo posted an interesting challenge on his blog last Friday, challenging users to calculated hours worked for an employee name Billy. This example resonated with me for a couple of reasons. The...
View ArticleListing Outstanding Cheques
Power Query is all about transforming and filtering data, and automating the process. One of the tedious tasks that accountants get to deal with all the time is bank reconciliations, which is...
View ArticleCreate a Dynamic Calendar Table
I know this topic has been covered before, but I’m teaching a course on Power Pivot tomorrow, and it’s something that I’ll probably be brining up. As we need a calendar table for our Power Pivot...
View ArticleMultipleUnclassified/Trusted error
If you’ve been using my fnGetParameter function to build dynamic content into your queries, you may have noticed that passing some variables recently started triggering an error message that reads as...
View Article