OData.Feed And The Dynamic Data Sources Error In Power BI
I’ve blogged about the “dynamic data sources” error and the Web.Contents function several times (most recently here), main post here, but never about the fact that you can encounter the same error...
View ArticleUsing OData.Feed And The Query Option To Avoid The Dynamic Data Sources Error...
In my last post I showed how, in many cases, you can avoid the “dynamic data sources” error with OData data sources by taking advantage of query folding. That’s not always possible though and in this...
View ArticleUnderstanding The “A cyclic reference was encountered during evaluation”...
When working in the Power Query Editor in Power BI or Excel, especially when you’re editing M code, you may run into the following error: Expression.Error: A cyclic reference was encountered during...
View ArticlePassing Any Arbitrary Value From A Power BI Report To A Dynamic M Parameter
Dynamic M parameters are incredibly useful in Power BI when using DirectQuery mode because they allow you to pass values from your report direct to your data source query, bypassing Power BI’s own SQL...
View ArticleThe “Block length does not match with its complement” Error In Power Query In...
When using the Web.Contents function to call a web service in Power Query in either Power BI or Excel you may encounter the following error: DataFormat.Error: Block length does not match with its...
View ArticleDynamic What-If With User-Entered Data In Power BI
My recent post on passing any value to a Power BI dynamic M parameter from a report generated quite a lot of interest but only among people who use DirectQuery mode and who want more flexibility when...
View ArticleRemoving Diacritics From Text In Power Query
I faced an interesting challenge recently: I had to use Power Query to remove all non-ASCII characters from some text but maintain the readability of that text. Let’s take the French phrase “un garçon...
View ArticleData Wrangler: A Power Query-Like Experience For Python People
If, like me (and Ruth), you spend your life in Power BI but have a lingering feeling that you should get round to learning Python for data analysis sometime then here’s something you should check out:...
View ArticleWhy Doesn’t Power Query Know If My Step Will Fold?
Recently, when preparing my session on query folding in Power Query for SQLBits, I wrote the following query to demonstrate the “Might Fold” indicator in Power Query Online: let Source = OData.Feed(...
View ArticleIdentifying CPU And Memory-Intensive Power Query Queries During Refresh In...
Last year I wrote a post about a change in the Power BI Service that meant the CPU Time associated with Power Query transformations was added to the total shown for a dataset refresh operation in...
View ArticleMeasuring Memory And CPU Usage In Power BI During Dataset Refresh
This post is a follow-up to my recent post on identifying CPU and memory-intensive Power Query queries in Power BI. In that post I pointed out that Profiler and Log Analytics now gives you information...
View ArticlePower Query Templates In Excel And Fabric
Earlier this year a new feature was added to Power Query in Excel and Dataflows that very few people noticed: the abilty to export all the queries in the Power Query Editor to a template file. The...
View ArticleCross Database Query Folding For SQL Server Sources In Power Query In Power...
A few months ago a new option was added to the Sql.Database and Sql.Databases functions in Power Query in Power BI and Excel which allows Power Query queries that combine data from different SQL Server...
View ArticleUnderstanding The “External table is not in the expected format” Error In...
Sometimes when you’re importing data from files using Power Query in either Power BI or Excel you may encounter the following error: DataFormat.Error: External table is not in the expected format What...
View ArticleExcel Workbook Layout And The Performance Of Reading Data With Power Query In...
Excel workbooks are one of the slowest data sources you can use with Power Query in Excel or Power BI. Reading small amounts of data from small workbooks is usually fast; reading large amounts of data...
View ArticleAnti Joins And Query Folding In Power Query In Excel And Power BI
Power Query allows you to merge (“join” in database terms) two tables together in a variety of different ways, including left and right anti joins. Unfortunately, as I found recently, anti joins don’t...
View ArticleGetting Different Versions Of Data With Value.Versions In Power Query
Something I mentioned in my recent post about the new DeltaLake.Tables M function on the Fabric blog recently was the fact that you can get different versions of the data held in a Delta table using...
View ArticleIncremental Refresh On Delta Tables In Power BI
One of the coolest features in Fabric is Direct Lake mode, which allows you to build Power BI reports directly on top of Delta tables in your data lake without having to wait for a semantic model to...
View ArticlePower Query Nested Data Types In Excel
A year ago support for nested data types in Excel was announced on the Excel blog, but the announcement didn’t have much detail about what nested data types are and the docs are quite vague too. I was...
View ArticleUnderstanding The “Evaluation resulted in a stack overflow” Error In Power...
If you’re writing your own M code in Power Query in Power BI or Excel you may run into the following error: Expression.Error: Evaluation resulted in a stack overflow and cannot continue. If you’re a...
View Article