Table.SelectRows Function in Power Query M

table.selectrows power query

If you want to keep only the rows that meet a condition in Power Query, the Table.SelectRows function is what you’re looking for. It goes through your table row by row and keeps the ones where your condition is true, dropping the rest. In this article, I’ll walk you through Table.SelectRows with practical examples: filtering …

Read more

Text.Format Function in Power Query M

text.format power query

If you want to slot values into a text template in Power Query, like dropping a name and a score into a sentence, the Text.Format function is what you’re looking for. You give it a template with placeholders and a set of values, and it fills each placeholder in and hands you back the finished …

Read more

ERFC.PRECISE Function in Excel

ERFC.PRECISE Function in Excel

The ERFC.PRECISE function in Excel returns the complementary error function of a number. It is closely tied to the bell curve (a normal distribution). With a small adjustment to the input, it gives you the tail: the share of values that land beyond a point. It is also the mirror image of the ERF.PRECISE function. …

Read more

ERFC Function in Excel

ERFC Function in Excel

The ERFC function in Excel returns the complementary error function, which is 1 minus the result of the ERF function. Put simply, it tells you how much of a bell curve sits beyond a point, which is handy for tail questions. Below, I’ll show you how ERFC works with positive and negative numbers, why it …

Read more

ERF.PRECISE Function in Excel

ERF.PRECISE Function in Excel

The ERF.PRECISE function returns the error function, a math function that comes up in probability and engineering. With a small conversion, it tells you what share of a bell curve’s values fall within a certain distance of the average. It takes one number and gives back a result between -1 and 1. Here I’ll show …

Read more

CUBESET Function in Excel

CUBESET Function in Excel

The CUBESET function defines a group of items, called a set, from an Excel Data Model or an OLAP cube. You can sort that set by name or by a calculation such as total tickets, and give it a label to show in the cell. The catch is that the cell shows only the label, …

Read more

CUBEMEMBER Function in Excel

CUBEMEMBER Function in Excel

The CUBEMEMBER function returns one item from your workbook’s Data Model and shows you whether that item exists, because a missing item returns #N/A. It can also read an OLAP cube on a server, though I only tested the Data Model. The Data Model is where Excel keeps your tables so PivotTables and cube formulas …

Read more

BESSELK Function in Excel

BESSELK Function in Excel

The BESSELK function in Excel returns the modified Bessel function of the second kind, written Kn(x). The x is the point where you want the value, and the n is the order, which picks which version of the function you get. Every version starts very large when x is close to zero and drops toward …

Read more

BESSELJ Function in Excel

BESSELJ Function in Excel

The BESSELJ function returns the Bessel function of the first kind, written as Jn(x). Bessel functions show up in physics and engineering whenever something round or wavy is involved, like a vibrating drum or a circular pipe. Excel gives you this one as a ready-made function, so you hand it a number and an order …

Read more

Get the FREE 51 Excel Tips Ebook

Enter your details and the free PDF is on its way to your inbox.

Hmm, that didn't go through. Please check your email and try again.

No spam. You'll also get my weekly Excel newsletter. Unsubscribe anytime.

Check your inbox!

The ebook is on its way to your email. It usually lands within a couple of minutes.