cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Danny_L
Helper III
Helper III

Help with a formula

Hello all,

 

I'm trying to come up with a formula that will do the following:

 

Look at DataCardValue9.Text field and if it contains an = sign, display everything before the = sign.

 

Example: 123456=01 should come back as 123456 only.

 

The = sign is always followed up by 2 digit number so it's always going to be the last 3 characters of the string.

 

Any thoughts? 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
timl
Super User
Super User

Hi @Danny_L 

This should hopefully work for you:

First(Split(DataCardValue9.Text,"=")).Result

View solution in original post

2 REPLIES 2
timl
Super User
Super User

Hi @Danny_L 

This should hopefully work for you:

First(Split(DataCardValue9.Text,"=")).Result

That did it. Thanks!

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (4,873)