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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Check out the New Ideas Site

We are excited to announce a new way to share your ideas for Power Apps!

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