Skip to main content
Microsoft Idea

Power BI

Needs Votes

Regular Expressions support in Power Query

Vote (970) Share
Marco's profile image

Marco on 16 Jul 2015 14:17:27

We think regexp support will help the adoption of the Power Query tool in the most demanding use cases. Many thanks.

Comments (76)
Marco's profile image Profile Picture

Rajesh Anbukadal on 02 Jul 2021 13:58:08

RE: Regular Expressions support in Power Query

Having Regex withing PowerBI query editor will be an added advantage for data clean up and transformation

Marco's profile image Profile Picture

on 22 Jun 2021 22:57:58

RE: Regular Expressions support in Power Query

This would be a huge benefit and open so many benefits, if we are able to use regular expression in power query.

Marco's profile image Profile Picture

on 22 Jun 2021 22:57:36

RE: Regular Expressions support in Power Query

Enable regular expressions in conditional columns. Condition 'contains' is not sufficient in some cases.

Marco's profile image Profile Picture

Matias Tapiero on 12 May 2021 07:16:35

RE: Regular Expressions support in Power Query

Doing replaces on strings using REGEX would be so beneficial for data transformations.

Marco's profile image Profile Picture

Jason Maskell on 30 Mar 2021 03:04:14

RE: Regular Expressions support in Power Query

So desperate for this. I have a complex regex for processing text which contains complex array data that I get from another data source. To replicate this using native M functions will be a nightmare. Report server doesn't allow R or Python scripts to be run, which would prevent auto refresh. Very frustrating. I would have thought it would be a basic function. Just integrate an existing REGEX library from python or somewhere into the M language, and have it iterate over one text cell at a time in a column.

Marco's profile image Profile Picture

Andrey Levashov on 25 Mar 2021 07:10:53

RE: Regular Expressions support in Power Query

Python is a good workaround but it does not work if you are going to schedule report refresh on server side. Vote for Regex in Power Query M.

Marco's profile image Profile Picture

Geof Power BI User on 05 Mar 2021 17:06:11

RE: Regular Expressions support in Power Query

Yes, vital! Workarounds using R and Python scripting then prevent scheduled refresh without personal gateways, which is a non-starter for several reasons.

Marco's profile image Profile Picture

Isaac Peterson on 11 Jan 2021 04:25:47

RE: Regular Expressions support in Power Query

Very surprising this thread exists. Better late than never.

Marco's profile image Profile Picture

Jean-Francois Monfette on 14 Dec 2020 20:45:12

RE: Regular Expressions support in Power Query

Regex in Advanced Filters is a must. Current text filtering options are not so good.

Marco's profile image Profile Picture

Nicholas Archer on 18 Nov 2020 06:14:25

RE: Regular Expressions support in Power Query

This is a mandatory feature. The alternatives and workarounds are unacceptable and I feel we are severely limited by its absence.

Merged Idea (2)