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

Luke Brennan on 18 Nov 2020 01:42:40

RE: Regular Expressions support in Power Query

I assumed it would be available.

Marco's profile image Profile Picture

Thomas Carruthers on 07 Oct 2020 18:14:14

RE: Regular Expressions support in Power Query

This is absolutely critical for the functionality of Power Query, especially in Excel.

Marco's profile image Profile Picture

mourad on 10 Jul 2020 17:20:37

RE: Regular Expressions support in Power Query

Regex is a good option to add in M environnement

Marco's profile image Profile Picture

Kate on 06 Jul 2020 00:17:55

RE: Regular Expressions support in Power Query

Yet another vote up for having RegExp capabilities. We need to use it in a switch statement. Its going to be a real pain without this.

Marco's profile image Profile Picture

Mark Domansky on 06 Jul 2020 00:17:26

RE: Regular Expressions support in Power Query

This is absolutely necessary. In the mean time, for those who actually need a solution and can use Python, I've figured out a workaround: https://gist.github.com/markdomansky/06776213a5abbcedbbd9f148cce4b494

Marco's profile image Profile Picture

Pablo Fernandes on 06 Jul 2020 00:16:21

RE: Regular Expressions support in Power Query

I can't believe that this isn't part of Power Query :( so sad.

Marco's profile image Profile Picture

Power BI User on 06 Jul 2020 00:14:04

RE: Regular Expressions support in Power Query

Very surprised to discover regexp is not native to Power Query, can't really call this an ETL tool if regexp is not implemented

Marco's profile image Profile Picture

machazthe gamer on 06 Jul 2020 00:13:11

RE: Regular Expressions support in Power Query

I was considering dropping Alteryx and using M instead but with this limitation, I can't risk it,

Marco's profile image Profile Picture

Jose Antonio Silva on 06 Jul 2020 00:12:45

RE: Regular Expressions support in Power Query

This is really sad to limit the language expressiveness like this. This is so simple to add from javascript or CLR. does not make any sense to reduce a data processing tool this way.

BTW: neither R ou web.page are a solution since they don't run native on Power BI Service.

Marco's profile image Profile Picture

Power BI User on 06 Jul 2020 00:12:12

RE: Regular Expressions support in Power Query

Regex are essential part of string manipulation. Should be a must for Power BI!

Merged Idea (2)