Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Joris3P
Regular Visitor

Wildcard matching

I need a text comparison function that supports wildcards (both * and ?). Unfortunately this is not supported in Power Query, so I wrote my own function using Text.ToList and List.Generate. In fact I wrote a M language version of wild_match_iter on Wildcard Matching Methods (dogankurt.com)

It works just fine, but the solution with Lists is a complete performance killer.

 

I also made an iterative (non-recursive) version of a solution proposed by Chris Webb, see Chris Webb's BI Blog: Implementing A Basic LIKE/Wildcard Search Function In Power Query Chris Webb's... . Its fast but only supports * (or the % version in SQL Like terms), not ?.

 

So my questions are:

  1. Will wildcard matching be supported by Power Query anytime soon?
  2. Did anyone succeed in  a fast and complete implementation of wildcard matching.
1 REPLY 1
v-yingjl
Community Support
Community Support

Hi @Joris3P ,

First thanks for your sharing about your custom fucntion in this thread which would help others who may have the similar issue on the community.

 

For you questions, as far as I know, currently there seems no current plan about this feature for Power Query in Power BI Desktop, the product team would list the furture plans in this document that you can refer:

Microsoft Power Platform: 2022 release wave 1 plan 

 

Also, you can consider submiting the requirement to ideas and add your comments there to make this feature coming sooner: https://ideas.powerbi.com/forums/265200-power-bi-ideas


It is a place for customers provide feedback about Microsoft Office products . What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.

 

Best Regards,
Community Support Team _ Yingjie Li

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors