Preparing SQL Data for R Visualizations Using Power Query Pivot
Jan 11,
2019
The Data Frame The fundamental data structure used by the majority of R functions and packages is the data frame. In a data frame, sets of related values constitute rows, while an individual column vector in a data frame contains comparable measures that can be summed, averaged, or subjected to any number of numerical manipulations. […]
Introduction to M, the Power Query Formula Language
Jan 18,
2018
Its name is Power Query Formula Language. But if you call it that, no one will know what you are talking about. The original informal language name M seems to have stuck, and even the Microsoft documentation refers to M. Every time you create a query in Power Query, whether in Excel or Power BI, […]
Awesome Way To Log in Power Query M Using Diagnostics.Trace
Jun 6,
2017
Several authors have described how to use the M function Diagnostics.Trace to monitor the performance of queries built with Power Query. In this installment, we will look at how to use the same function to record row-level error information in the trace log. Regardless of how we intend to use Diagnostics.Trace, nothing at all can […]
How to Import Data from R Scripts into Power BI
Feb 7,
2017
Power BI can obtain datasets from R scripts, though as of the September 2016 release of Power BI the integration is not so slick. For example, we may wish to explore a possible log-linear relationship in our data or the potential of a polynomial relationship. While we could, in principle, add columns to a dataset […]
Error Handling in Power Query
Jan 10,
2017
Hopefully, this blog will quickly become outmoded and useless and I will have wasted my time. Error handling in the Power Query Formula Language, most often simply called “M”, is weak compared with most modern programming environments, and the developers at Microsoft will no doubt address these issues and provide a better system. But, for […]