Showing results for 
Search instead for 
Did you mean: 
Post Prodigy
Post Prodigy

How to use IsMatch and BeginWith Correctly

HI all..

I need to make this work:

ClearCollect(BatchColl1, ShowColumns(Filter(ItemBatches,IsMatch(BatchNumber, BeginsWith = ^A & ^B & ^C)),"ItemNumber", "BatchNumber", "BatchExpirationDate"));

I want to create collection where the Batch Number IsMatch Alphabetically from A to Z and also from 0 to 9.

How i should use the formula correctly?
Please help.



Community Support
Community Support

Hi @PytByt ,


By "from A to Z and also from 0 to 9", may I know how would you like this to be achieved? Please explain with some sample data.




Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-monli-msft 

Thank for your reply.

I need to create a collection from my Entity called ItemBatches, which contain all of its data that begin with A through Z and begin with 0 through 1 and store it in column "ItemNumber", "BatchNumber", "BatchExpirationDate".

I dont know how else to explain... 

I thought the formula could explain it self? haha.. 



Helpful resources

PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,162)