Get full Time Activity data from QuickBooks into Power BI
Problem As per the time of writing, the native QuickBooks connector in Power BI has some shortcomings for the Time Activity-data: It will not return employee details (so you will not know who did the...
View ArticleWriting data to GitHub using Power Query only
You shouldn’t do it … Generally it’s a very bad idea to execute commands in Power Query that write out data to a source, as these commands might be executed multiple times...
View ArticleScreenshot tutorial: Add a column with custom function code in Power Query
The following steps show how to create a new column in a table using existing custom function code. This works in Power BI as well as in Power Query in Excel: 1. Copy the function code 1: Copy the...
View ArticleTypes in PowerQuery cannot be compared and a Type.AsText function
Sometimes I need to retrieve the textual representation of a type in Power Query and I’m using a fairly verbose function that I’ve stealed ages ago (I believe it was here:...
View ArticleBulk-extract Power Query M-code from multiple Excel files at once
Some time ago I published a function that extracts all M-code from Power BI (.pbix)-files. Today I publish the pendant to Bulk-extract Power Query M-code from multiple Excel-files at once. The code...
View ArticlePart 2: Automatically validate E-mail attachments with Flow and Power BI
In Part 1 of this little series I described the core-Flow on how to automatically validate E-mail attachments with Flow and Power BI. It automatically sends an e-mail to a business partner who sent an...
View ArticleExport data from Power BI using Microsoft Flow
In my last 2 posts I’ve described a way to automatically validate attachments from incoming E-mails. Microsoft Flow would watch for incoming E-mails that match certain criteria and move their...
View ArticleHow to get more out of your Graph API custom connector in Power BI
The Graph API can deliver a huge amount of interesting data from your Microsoft 365-universe, but the Graph API custom connector for Power BI is not able to retrieve everything from it in its current...
View ArticleQuery folding on JoinKind.Inner gotcha for Power BI and Power Query
If you query databases who support query folding, you’re probably very aware of every step you take and check if folding happens with every new step like so: “View Native Query” shows folding query...
View ArticleEasy way to retrieve Teams data in Power BI via Flow (and other data from the...
In a previous post I’ve described how to use a custom connector to retrieve data from the Microsoft Graph API. But this requires to register an App and adjusting the M-code in the connector itself...
View ArticleHow to cancel your Power Query refreshes fast in Power BI and Excel
If you’re working with large data or complex queries that take a long time refresh, cancelling one of those refreshes can even take longer time, especially, if the query has run for quite some time...
View ArticleA new Table.ContainsAnywhere function for Power Query in Power BI and Excel
The native Table.Contains-function in Power Query tells you if one or more strings are included in one or more of its columns. But you have to be specific about which strings you search in which...
View ArticleBug in Power BI R Scripts “package … was installed with different internals”
Today I spent many hours hunting an R-script error in Power BI and before Steph Locke came up with a solution for this, I came across a couple of posts and heard of other people, having the same...
View ArticleThe full Table.ContainsAnywhere function for Power Query in Power BI and Excel
In a previous post I introduced the concept of a function that searches for an occurrence of a character or string within all columns of a table. Here I share the full “Table.ContainsAnywhere” –...
View ArticleDAX CALCULATE Debugger
CALCULATE is the most powerful function in DAX, as it allows you to change the filter context under which its expression is evaluated to your hearts contempt. But with big number of options to choose...
View ArticleDebug DAX variables in Power BI and Power Pivot
When you’re dealing with a beast like DAX you can use any help there is, right? So here I show you how you can debug DAX variables who contain tables or show the result of multiple variables at once....
View ArticlePower BI administration made easy with Power BI REST API custom connector
Today I read the (as always) great article by Matthew Roche “Governing Power BI just got a little easier” and couldn’t find a description on how to get to this promising window with all the admin...
View ArticleParent-Child Hierarchies with multiple parents in Power BI with Power Query
I’ve written about a method to dynamically flatten parent-child-hierarchies also with multiple parents some while ago here. I’ve actually used this approach for Bill-of-materials cases and refined that...
View ArticlePerformance tip for aggregations after joins in Power Query and Power BI
This article was edited on 2nd Nov 2019. JoinKind.Local has been removed to avoid problems with merges on tables with primary keys: In this article you’ll learn how to speed up the aggregation of...
View ArticleDynamically create types from text with Type.FromText in Power Query and...
In this article I’ll show you how to create types from text in Power Query, enabling you to dynamically change types via functions for example. It’ll come out as a custom Type.FromText function which...
View Article