In today's blog post, I share the generic solutions for the Fill Down challenge that I posted here. As you recall, we had a table of backlog items with three levels of hierarchies (Scenario, Feature a…
Handling Different Granularities In Power BI Using Slicer Groups
Reading Prathy Kamasani’s excellent blog post on Sync Slicers the other week I had a revelation: in the post Prathy shows how it is possible to sync selections between two slicers that are based on di…
PowerQuery(M)agic: Conditional Joins using Table.SelectRows()
Business Problem: In a recent project with one of our clients, we were attempting to categorize website visit logs, based on the visitor’s landing page. The client had been maintaining a table of KeyPhrases that correspond with Categories. If the Visitor’s landing page contained the KeyPhrase, we wanted to match it
Query by Example to Extract YYYY-MM from a Date Column
I was answering a question for a student in one of my online training courses this week. The question was, “Do you know of a way in power query to efficiently extract YYYY-MM from a Date colu…
#PowerQuery – Replicate doing an Excel VLOOKUP in M
Power Query has a lot of built in functions, but it doesn’t have a function that exactly matches the VLOOKUP in Excel – but by using the M language and other M functions we can certainly repl…
Easy unstacking of columns in Power BI and Power Query (and Excel)
Unstacking a column into a table made easy with an M-formula in Power Query and Power BI. No need to create a function if applied to all rows of a table.
Part 3: Programming "For-Next"-Loops using List.Accumulate() in M for Power Query
In the first two parts of the series "Programming Loops in M" we dealt with the basic possibility of creating loop constructs in M for Power Query and Power BI with the help of recursive functions or the function List.Generate(). In the last part of the series I would like to introduce you to a function with which you are able to create the "For-Next"-loop type in M. The function List.Accumulate().
Part 2: Programming "Do-Loop" loops with List-Generate() in M for Power Query
In the first part of the series we basically dealt with the possibility of programming loops similar to those of other programming languages. We looked at the concept of recursive functions in M for Power Query and Power BI. In this part I would like to show you an alternative way to overcome the performance issues of conventional recursive functions in M. The function List.Generate()...
Wil Reynolds asked an awesome question about how to use multiple URLs with the web from example Power BI feature. The magic is with Power Query functions and parameters. Patrick has you covered!
Creating a Shared Dimension in Power BI Using Power Query: Basics and Foundations of Modeling
For a data warehouse professional, a shared dimension concept is always clear, and a star schema design always includes such type of entity. However, in the Power BI user's world, there are many users who are not coming from a data warehousing background. It is necessary to understand some of the concepts in order to…
Comparing The Performance Of Reading Data From Files With File.Contents And Web.Contents In Power Query And Power BI
In my last post I mentioned the Power Query engine’s persistent cache, which in some scenarios caches the data read from a data source when a query is refreshed. Another important nugget of informa…
I'll get to parameters for dataflows in a bit. To begin, let's talk about dataflows. Dataflows are Power Query queries that live outside of Power BI reports and can be refreshed on a schedule within Power BI service. They are available for Pro and Premium users. Adam Saxton (from Guy in a Cube) has a great intro
Power Query – How to extract data before and after delimiters
I had a requirement where I wanted to extract the data before and after the data as shown below. In order to do this, I created the following Custom Column with the syntax below. I did try and use the…
Here’s yet another entry in the list of useful things I learned from Ehren von Lehe on the Power Query MSDN forum: Table.Buffer() does not buffer nested table, record or list values inside the cells o…
Exception Reporting in Power Query and Power BI; Part 2 Catching Error Rows for All Columns in the T…
Previously, I have written about using Power Query transformations and functions to create an Exception report for Power BI. However, the method I mentioned there, was only doing the exception handlin…
Exception Reporting in Power Query and Power BI; Part 2 Catching Error Rows for All Columns in the T…
In the first part of this series, you learned how to create an exception reporting for a column in a table using Power Query in Power BI. In the second part, you learned how to initiate that process f…
Re-assign your dataflows connections without rebuilding your dataflow? Pimp the dataflow connector in Power BI to make it easier to switch! Read all about it in my blog!
Power Query Memory Usage, Dataflow Container Size And Refresh Performance
When Power BI dataflows were officially released a few weeks ago there was a new setting for Premium capacities mentioned briefly in the announcement blog post: Container Size. The blog post only says…