cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Gunayathi
Frequent Visitor

PowerApp Barcode Scanner Issue

Hello all,

 

I am struck with a problem. I have defined a formulae to TextInput Scan_Scanner.Value it returns a value after scanning as 

00160099;26.07.2020 02:48;J.Vollendorf T#: DW2438;000914812223;91465903;0005918841;n.a.;n.a.;81669628;0209028880

 

Now for another text input i wanted only a specific value of the scanner value eg i need only the number 81669628

 

 How can i do this .? It would be very useful if you can help me.  I tried Last(FirstN( Scan_Scanner.Value , 5)) , but it didnt work.

 

@powerapp  Value from Array 

 

Barcode Scanner

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
timl
Super User III
Super User III

Hi @Gunayathi 

This should give you the result you need:

Last(
    FirstN(Split( Scan_Scanner.Value, ";").Result, 9)).Result

View solution in original post

1 REPLY 1
timl
Super User III
Super User III

Hi @Gunayathi 

This should give you the result you need:

Last(
    FirstN(Split( Scan_Scanner.Value, ";").Result, 9)).Result

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (52,842)