Power Query

Power Query

947 bookmarks
Custom sorting
Query by Example to Extract YYYY-MM from a Date Column
Query by Example to Extract YYYY-MM from a Date Column
I was answering a question for a student in one of my online training courses this week. The question was, “Do you know of a way in power query to efficiently extract YYYY-MM from a Date colu…
·exceleratorbi.com.au·
Query by Example to Extract YYYY-MM from a Date Column
Aggregate Text Values Using Group By in Power Query #12
Aggregate Text Values Using Group By in Power Query #12
Power Query can perform operations relevant to text when grouping data. Read on to learn how to group data and concatenate text values into a single cell.
·excelgorilla.com·
Aggregate Text Values Using Group By in Power Query #12
PowerQuery(M)agic: Conditional Joins using Table.SelectRows()
PowerQuery(M)agic: Conditional Joins using Table.SelectRows()
Business Problem: In a recent project with one of our clients, we were attempting to categorize website visit logs, based on the visitor’s landing page. The client had been maintaining a table of KeyPhrases that correspond with Categories. If the Visitor’s landing page contained the KeyPhrase, we wanted to match it
·powerpivotpro.com·
PowerQuery(M)agic: Conditional Joins using Table.SelectRows()
Handling Different Granularities In Power BI Using Slicer Groups
Handling Different Granularities In Power BI Using Slicer Groups
Reading Prathy Kamasani’s excellent blog post on Sync Slicers the other week I had a revelation: in the post Prathy shows how it is possible to sync selections between two slicers that are based on di…
·blog.crossjoin.co.uk·
Handling Different Granularities In Power BI Using Slicer Groups
Fill down hierarchies challenge in #PowerQuery
Fill down hierarchies challenge in #PowerQuery
In today's blog post, I share the generic solutions for the Fill Down challenge that I posted here. As you recall, we had a table of backlog items with three levels of hierarchies (Scenario, Feature a…
·datachant.com·
Fill down hierarchies challenge in #PowerQuery
Create a Power Query custom data connector in 10 minutes
Create a Power Query custom data connector in 10 minutes
Getting set up When I heard about custom data connectors for Power Query, I had assumed there would be a lot of work involved. While there is definitely quite a bit of work in implementing advanced fe…
·sqlgene.com·
Create a Power Query custom data connector in 10 minutes
Thoughts On The New Power Query Source In SSIS
Thoughts On The New Power Query Source In SSIS
Yet more evidence that Power Query is taking over the world: there’s a new Power Query data source for SQL Server Integration Services in the latest version of SSDT. Here’s the blog post announcing it…
·blog.crossjoin.co.uk·
Thoughts On The New Power Query Source In SSIS
Camel Case Column Renaming – The new Way in #PowerBI #PowerQuery
Camel Case Column Renaming – The new Way in #PowerBI #PowerQuery
A new splitter function has been discovered in Power Query (by Chris Webb and also others probably) which is not in the highlight notes of the February 2019 PBI release, but it is a very nice addit…
·janizajcbi.com·
Camel Case Column Renaming – The new Way in #PowerBI #PowerQuery
An Oldie but Goodie - PowerPivot In Excel: Existing Data Connections
An Oldie but Goodie - PowerPivot In Excel: Existing Data Connections
With the Power BI craze that kicked into high gear in 2017, it’s less common to be working in PowerPivot in Excel. However, during one of my recent remote consulting calls, one of our many clients needed some help with a solution created in PowerPivot in Excel. And I often find if ONE person needs help or has a
·powerpivotpro.com·
An Oldie but Goodie - PowerPivot In Excel: Existing Data Connections
Splitting Text By Character Transition In Power BI And Excel Power Query
Splitting Text By Character Transition In Power BI And Excel Power Query
The February 2019 release of Power BI Desktop includes some new functionality not mentioned in the summary blog post, functionality that is already in the latest Excel 365 builds (thanks Ed Hansber…
·blog.crossjoin.co.uk·
Splitting Text By Character Transition In Power BI And Excel Power Query
Types in PowerQuery cannot be compared and a Type.AsText function
Types in PowerQuery cannot be compared and a Type.AsText function
While searching for a compact formula to retrieve the textual representations of a type in Power Query, I learned that a type comparison in Power Query will return unreliable results, as "Type equivalence is not defined in M". So I continue using my old function, which I'm sharing here as well.
·thebiccountant.com·
Types in PowerQuery cannot be compared and a Type.AsText function
Excel.Workbook() And The delayTypes Option In Power Query/Power BI
Excel.Workbook() And The delayTypes Option In Power Query/Power BI
A while ago I found myself wondering – as I often do about this kind of thing – about what the undocumented third parameter of the Excel.Workbook() M function (called delayTypes) actually does. I f…
·blog.crossjoin.co.uk·
Excel.Workbook() And The delayTypes Option In Power Query/Power BI
Power Query – Combining Columns in M
Power Query – Combining Columns in M
In my Power BI courses I always recommend some books and sites that will help them learn DAX or M. Most of the time i'm presenting to new users to Power BI, and having to get them to move from the Exc…
·jlsql.wordpress.com·
Power Query – Combining Columns in M
Bulk Find And Replace In Power Query
Bulk Find And Replace In Power Query
Learn how to do a bulk find and replace in power query based on a list of values.
·howtoexcel.org·
Bulk Find And Replace In Power Query
Update your report based on a website
Update your report based on a website
A quick hack today. Got this question from someone who needed to be able to update a report and show users that something had changed. This is easy when you...
·kasperonbi.com·
Update your report based on a website
The Fill Down Hierarchies Challenge
The Fill Down Hierarchies Challenge
A weekend challenge I hope you are enjoying your second weekend of 2019. I was helping a friend recently figuring out the following data challenge: You have a table of Backlog items with three levels of hierarchies (Scenario, Feature and Backlog Item). In each row, the source data includes the unique ID of the lowest …
·datachant.com·
The Fill Down Hierarchies Challenge
Writing data to GitHub using Power Query only
Writing data to GitHub using Power Query only
Using Power Query to write out data is usually a very bad idea. But I found an exeption where it made a lot of sense to me: Writing data to GitHub to feed..
·thebiccountant.com·
Writing data to GitHub using Power Query only
Power BI Data Privacy Levels And Cloud /Web-Based Data Sources Or Dataflows
Power BI Data Privacy Levels And Cloud /Web-Based Data Sources Or Dataflows
I have already blogged in great detail many times about Power BI/Power Query data privacy settings (see this series for example) but there’s always something new to learn. Recently I was asked a qu…
·blog.crossjoin.co.uk·
Power BI Data Privacy Levels And Cloud /Web-Based Data Sources Or Dataflows
Combine All Sheets in a Workbook with Power Query
Combine All Sheets in a Workbook with Power Query
There are quite a few different common business scenarios where you get data in the form of a file on a regular basis. The 3 common patterns I use most often are. Each day/month/year you get a new…
·exceleratorbi.com.au·
Combine All Sheets in a Workbook with Power Query
Merge Operations in Power BI / Power Query – Part 2: Right Outer Join
Merge Operations in Power BI / Power Query – Part 2: Right Outer Join
Facebook Twitter LinkedIn If you haven’t read Part 1 of this series, I highly recommend that you read that prior to this post. In that previous post, we went over the Left Outer Join and some basics on how Joins / Merge operations work inside Power Query / Power BI where the position of the …
·poweredsolutions.co·
Merge Operations in Power BI / Power Query – Part 2: Right Outer Join
Export data from Power BI to csv using Python
Export data from Power BI to csv using Python
Export data from Power BI to csv -files is best done using Python. Check this article for hows and whys:
·thebiccountant.com·
Export data from Power BI to csv using Python
Creating a Power Query function browser – #powerbi
Creating a Power Query function browser – #powerbi
One of the best functions in Power Query (M) is for sure the function =#shared that inside the Query editor lists all the functions in M and in your current pbix file. Picture 1 Result of =#shared But…
·eriksvensen.wordpress.com·
Creating a Power Query function browser – #powerbi