cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
King
Level: Powered On

Set labels with QR content

you will see my QR contains 7 fields and these 7 fields I want to show them in 7 different labels

with
First (Split (brsScanner.Value, "")). Result

I get the first field

and with

Last (Split (brsScanner.Value, "")). Result


I get the last field

but I need to get all 7 fields how do I achieve this?

1 ACCEPTED SOLUTION

Accepted Solutions
PowerApps Staff CarlosFigueira
PowerApps Staff

Re: Set labels with QR content

You can use the following expressions for your 7 labels:

Last (FirstN (Split (brsScanner.Value, ""), 1)). Result
Last (FirstN (Split (brsScanner.Value, ""), 2)). Result
Last (FirstN (Split (brsScanner.Value, ""), 3)). Result
Last (FirstN (Split (brsScanner.Value, ""), 4)). Result
Last (FirstN (Split (brsScanner.Value, ""), 5)). Result
Last (FirstN (Split (brsScanner.Value, ""), 6)). Result
Last (FirstN (Split (brsScanner.Value, ""), 7)). Result

Hope this helps!

View solution in original post

3 REPLIES 3
PowerApps Staff CarlosFigueira
PowerApps Staff

Re: Set labels with QR content

You can use the following expressions for your 7 labels:

Last (FirstN (Split (brsScanner.Value, ""), 1)). Result
Last (FirstN (Split (brsScanner.Value, ""), 2)). Result
Last (FirstN (Split (brsScanner.Value, ""), 3)). Result
Last (FirstN (Split (brsScanner.Value, ""), 4)). Result
Last (FirstN (Split (brsScanner.Value, ""), 5)). Result
Last (FirstN (Split (brsScanner.Value, ""), 6)). Result
Last (FirstN (Split (brsScanner.Value, ""), 7)). Result

Hope this helps!

View solution in original post

King
Level: Powered On

Re: Set labels with QR content

Hi @CarlosFigueira  no works

 

Untitled.png

PowerApps Staff CarlosFigueira
PowerApps Staff

Re: Set labels with QR content

I was missing a close parenthesis in my expressions; updated now

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 150 members 5,632 guests
Please welcome our newest community members: