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…
Data Profiling in Power BI (Power BI Update April 2019)
As per the April 2019 update, Microsoft has introduced a data profiling capability in Power BI desktop. Data profiling helps us easily find the issues with our imported data from data sources in to Po…
Import Email Attachments Directly Into a Power BI Report using Power Query
Power Query has more than 80 data sources supported, and Microsoft Exchange is one of those data sources. Although it is not a new data source, however, the power of this data source combined with the…
A new Table.ContainsAnywhere function for Power Query in Power BI and Excel –
Search through all of your tables' columns with my new Table.ContainsAnywhere function instead of being limited to single columns that you have to specify.