web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / What expression would ...
Power Automate
Unanswered

What expression would I use to filter based on the beginning part of a cell

(1) ShareShare
ReportReport
Posted on by

So I have to collect codes from people, they do not want to give me these codes. It is becoming a problem and there are a lot of them.

THe codes should start with a 02 or 01 (sometimes they accidentally leave off the 0 so starting with 2 or 1 in that rare case)

They will either just put N/A, TBD, or give an incorrect code that starts with 800 (I literally have a not saying dont do that as well IN RED!)
So I want to have a bot go through this list checks the code column for anything that doesnt begin 01, 02, 1, or 2 and sends them an email
But I am not sure what expression that would be

Categories:
I have the same question (0)
  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at
    Can you include a screenshot please
  • tfairhurst Profile Picture
    3 on at
    What table/database are you trying to filter? Not sure how to help otherwise.
  • MS-23070606-0 Profile Picture
    on at
    Write a function with substring('your text',0,4) to get the first four characters. If this doesn't help then I would need some more information.
     
  • Sayan Profile Picture
    818 Super User 2025 Season 2 on at
    Hey can you please share the Workflow as well as attach some screenshots.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 223 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 205 Most Valuable Professional

#3
harshdeol Profile Picture

harshdeol 167 Moderator

Last 30 days Overall leaderboard