Web.Contents(), M Functions And Dataset Refresh Errors In Power BI – Chris Webb's BI Blog
One slightly frustrating feature of Power BI is that some of the cool stuff you can do in M code for loading data, and which works in Power BI Desktop (and in Power Query), causes errors when you t…
Part 2: Combination of rows of tables list in Power Query
Part 1 describes approach showing how to work with List.Generate, Table.FromRecords, List CrossJoin in Get & Transform (aka Power Query, M language). Homework is done. Advice is digested. And I…
Recently I faced interesting Power Query problem. Actually, initial problem has nothing related to Power Query. I required to export quite big volume of data from SAP BW using Business Objects Anal…
In this post I consider two types of hierarchies First table defines typical hierarchy of companies. Usually, such hierarchy is used for financial reports to group key figures. Most probably, we kn…
Data-Driven Power BI Desktop Parameters Using List Queries – Chris Webb's BI Blog
The July 2016 update for Power BI Desktop included the ability to make parameters data-driven, by giving the option to bind the Suggested Values (previously called the Allowed Values) property of a…
Quick Filter for Unique Values in Power Query and Power BI | Excel Inside
There are many ways to get a value from parameters table and then pass it to query. One of this methods uses direct selection (quick filter) of unique parameter name.
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 …
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 t…
It’s a very common requirement when you’re building a report in PowerPivot (or indeed in any BI tool) for it to automatically show data for today’s date, the current week or month (plus maybe a set…
Solved: Refreshing queries with functions doens't work - Microsoft Power BI Community
Does anyone else experience that refreshing on-premise data via a gateway (for example amount of files in a folder) works if you hardcode the path to the folder, but when you create a function where the path is the input parameter powerbi says that you are not able to refresh this data source?
Create your own Help for all the Power query functions help in Power BI Desktop | Erik Svensen
I have used a lot of time in the Power Query Formula specification help on the web – and several time for the same function – so I ended up switching between browser and Power BI Desktop. Then I re…
Why scenario of “Loading Power Query function from GitHub” is interesting? Assume that you work in big company, or small, doesn’t matter. You and your colleagues use shared librar…
How to share M-code in PowerBI and Power Query – The BIccountant
In order to share M-code that will instantly run on other computers, you should pass on the data as well. See how this will be generated automatically with M
Transform ANY nested table to Pivot Table with function query - DataChant
Get ready to be amazed 🙂 This is the fourth post in the series The Definitive Guide to Unpivot with Power Query in Excel. In this series we walk you through one of the coolest data transformation features in Excel – The Unpivot transformation. Powered by Power Query technology, the Unpivot transformation is available for everyone using the new Get …
Join Conditions in Power Query, Part 2: Events-In-Progress, Performance and Query Folding – Chris Webb's BI Blog
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 …
Following a reader’s request, today we will unleash the power of List.Accumulate. The official documentation on List.Accumulate here was very confusing for me: [crayon-59aec6d1333d2775222960/] Argument Description list The List to check. seed The initial value seed. accumulator The value accumulator function. OK. I understood the list argument quite right, but the other two arguments were post-nuclear-bomb science fiction. So let’s …
Yesterday, Microsoft released the June 2016 Power Query update. Even though there are only four items on the list of new features, some of them are quite impactful. What’s new in the June 2016 Power Query Update The four new … Continue reading →
Allocation in Power Query, Part 2 – Chris Webb's BI Blog
Last week’s post on allocation in Power Query caused quite a lot of interest, so I thought I would follow it up with a post that deals with a slightly more advanced (and more realistic) scenario: w…
Aggregating By Local Groups In Power Query – Chris Webb's BI Blog
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 wha…
Loading Power Query M Code From Text Files – Chris Webb's BI Blog
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 lik…
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 …