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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Splitting a concatenat...
Power Apps
Answered

Splitting a concatenated value

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello - can anyone tell me what is wrong in my approach here? I am getting errors of incompatible

 

type of comparison on this formula but im not sure how else i can achieve this? Need to update sharepoint list records based on a selection that had a concatenated applied to it. I though i could use Split to find the value after the spitting value and have it work that way? I'm sure i am over-simplyfing maybe what i need to code for. 

 

UpdateIf('Trailer Tracking',Trailer.Value = ThisRecord.Trailer.Value, Dock.Value = Last(Split('374B1Choice'.Selected.Result, " - ")));

374B1Choice code

Distinct(Filter('Trailer Tracking',Trailer.Value="OPEN"),Concatenate(Building.Value," - ", Dock.Value))

 

 

 

johnc222_1-1623327029997.png

 

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    Your UpdateIf function requires a record with the changes you want to make.

    Please consider changing your Formula to the following:

    UpdateIf('Trailer Tracking',
     Trailer.Value = ThisRecord.Trailer.Value, 
     {Dock: {Value: Last(Split('374B1Choice'.Selected.Result, " - ")).Result}}
    );

     

    I hope this is helpful for you.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard