cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MattyH
Continued Contributor
Continued Contributor

Display partial text from Dynamics in label.

Hi,

 

I am looking to display only part of a field from Dynamics365 in a label in PowerApps, and cannot see a way to do it, so I am assuming it is not possible.

I wonder if anyone out there can suggest a way to do this, or a possible work around. The details required are below.

 

The field in Dynamics365 states "Decrease of n% (nKG) over n day(s)".

I am looking to populate the label in PowerApps with only the percentage figure, and nothing else.

 

Any assistance or ideas are greatly appreciated.

 

Matty

1 ACCEPTED SOLUTION

Accepted Solutions
yashag2255
Dual Super User II
Dual Super User II

Hey @MattyH 

 

You extract the percentage using:
Last(Split(First(Split(ReturnedField,"%")).Result," ")).Result
 
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

2 REPLIES 2
yashag2255
Dual Super User II
Dual Super User II

Hey @MattyH 

 

You extract the percentage using:
Last(Split(First(Split(ReturnedField,"%")).Result," ")).Result
 
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

MattyH
Continued Contributor
Continued Contributor

Works perfectly thanks!

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

secondImage

Demo Extravaganza Winner Announcement

Please join us on Wednesday, July 21st at 8a PDT. We will be announcing the Winners of the Demo Extravaganza!

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

Top Solution Authors
Top Kudoed Authors
Users online (2,707)