Skip to main content

Power BI

Under Review

Ability to use wildcards in power query transformation find section of replace values.

Vote (263) Share
bhobgood's profile image

bhobgood on 17 Mar 2015 08:12:03

In the transformation area of replace values it would be nice to be able to use a wildcard in the value to replace field. For example we have transaction descriptions like... Placement [EB-12375596] and it would be great to be able to enter something like... Placement% to capture all of these. I've got several work-arounds but this would be a great feature for those who don't know SQL.

Comments (14)
bhobgood's profile image Profile Picture

d41fd652 3cc7-ea11-a812-000d3a9b112e on 15 Aug 2020 08:41:05

RE: Ability to use wildcards in power query transformation find section of replace values.

I propose those wildcards:
Sale !Sales for Sale but not Sales (! instead -)
"Sale" for exact whole word Sale
xxx* for starting with xxx
*xxx for ending with xxx
*xxx*yyy* for containing xxx and yyy (no matter in what order)
x?y for xay, xby, x1y, x2y, .... but not xaby
x#y for x1y, x2y, ....
x&y for xay, xby, ....

bhobgood's profile image Profile Picture

82a5bb58 bce6-4e03-b8d1-0314cfd78cb8 on 06 Jul 2020 00:15:51

RE: Ability to use wildcards in power query transformation find section of replace values.

This is a must have when trying to display/remove html characters

bhobgood's profile image Profile Picture

e1e40bf8 3f1f-42d5-aa43-e0c900a87ede on 06 Jul 2020 00:04:09

RE: Ability to use wildcards in power query transformation find section of replace values.

either * ? or regex (better)

bhobgood's profile image Profile Picture

55b2deef a485-4647-8a15-18e55ee2e7b5 on 05 Jul 2020 23:48:51

RE: Ability to use wildcards in power query transformation find section of replace values.

This is a must have!

bhobgood's profile image Profile Picture

6747f5f7 4042-461d-a260-b2d82f367027 on 05 Jul 2020 23:36:31

RE: Ability to use wildcards in power query transformation find section of replace values.

I would like the ability to select **/**/** in a Power query column, replacing with blank.

bhobgood's profile image Profile Picture

034cd1ee 5602-4310-b078-2525b1bf1760 on 05 Jul 2020 22:49:29

RE: Ability to use wildcards in power query transformation find section of replace values.

Regexp Replace, please!

bhobgood's profile image Profile Picture

7ec1e06b edb2-4cd7-a9f3-01f809157000 on 05 Jul 2020 22:39:52

RE: Ability to use wildcards in power query transformation find section of replace values.

Yes Yes! Seriously! Actual Info Needed

Where's my replace ?

bhobgood's profile image Profile Picture

d7f24786 b146-4b91-9a05-8b2da1860210 on 05 Jul 2020 22:39:22

RE: Ability to use wildcards in power query transformation find section of replace values.

Yes!

We have data entry clerks that have been posting emails directly into our software. When we run reports on that information we get lengthy garbage surrounding the needed information because formatting code fills it up. Every blank line in an email equals 175 characters of garbage in our database. Wildcard is needed as the surrounding formatting code is highly dynamic. Need Text.Replace('Table',"","") or Text.Remove('Table',"")

bhobgood's profile image Profile Picture

3f0113d6 f5f4-4426-b95f-940aad46902f on 05 Jul 2020 22:39:16

RE: Ability to use wildcards in power query transformation find section of replace values.

Ditto! Would be nice to have. I now have to add several steps to cover several different "literal" scenarios, whereas a wildcard would reduce it down to one step. In addition it would be nice if you could search for values only or text only, or a combination. Something like ".0#" would look for a values ".00", ".01", ".02"... ".09" but NOT ".0a" or any other non-digit string, and replace it with the value provided. (We would need a char for "any values".) Or if you wanted to replace text strings use "?" for single char, and * for any characters.

bhobgood's profile image Profile Picture

0e504407 c887-4f64-9fd8-8881c2880c72 on 05 Jul 2020 22:36:43

RE: Ability to use wildcards in power query transformation find section of replace values.

this is really needed!