cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Coopedup
Resolver II
Resolver II

Split a filtered field

I'm gathering the last Activity ID from my demand table. Result currently is Act-23. I want to them split this and take just the 23!  I'm really struggling to put a split into my existing formula. 

 

 

Last(Filter(DemandTbl, !IsBlank(ActID),ActID)).ActID

 

 

I suspect the biggest personal issue is I never know what order these commands go, do I put Split at the start or after the Filter!

1 ACCEPTED SOLUTION

Accepted Solutions
BCLS776
Super User
Super User

Try this to get a value of "23" out of the Split():

Last(Split(Last(Filter(DemandTbl, !IsBlank(ActID),ActID)).ActID,"-")).Result

Hope that helps,

Bryan

_________________________________________________________________________________________
Help the community help more users by choosing to "Accept as Solution" if this post met your needs. If you liked the post and want to show some appreciation, please give it a Thumbs Up.

View solution in original post

2 REPLIES 2
BCLS776
Super User
Super User

Try this to get a value of "23" out of the Split():

Last(Split(Last(Filter(DemandTbl, !IsBlank(ActID),ActID)).ActID,"-")).Result

Hope that helps,

Bryan

_________________________________________________________________________________________
Help the community help more users by choosing to "Accept as Solution" if this post met your needs. If you liked the post and want to show some appreciation, please give it a Thumbs Up.
Nogueira1306
Super User
Super User

Last(Split(Last(Filter(DemandTbl, !IsBlank(ActID),ActID)).ActID,"-"))

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (1,630)