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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / SPLIT Function DROVE M...
Power Apps
Unanswered

SPLIT Function DROVE ME Crazy with "RESULT" but solved...

(2) ShareShare
ReportReport
Posted on by 32

I want to put this out, for anyone who like me, finds millions of examples of code, but then CAN NOT GET IT WORKING.

So here is what I have     the SPLIT FUNCTION 

always using   RESULT     like   ).Result     or Name: Result   etc....  ALWAYS GAVE ME AN ISSUE! 

 

When I changed it to .Value    or Name: Value      works like a champ.  WHY ?????

Here is the code difference

 

THIS WORKS!

 

 

ForAll(colAttachmentLogList As HC,
ForAll( Split(HC.AttachmentNames, ",").Value,
Collect(colAttachmentLogList2,
{ Title: HC.Title, CreatedDate: HC.CreatedDate, Officer_Name: HC.Officer_Name, AttachmentNames: Value }
)
)
);

 

 

 

This SHOWS the "RESULT" as NOT RECOGNIZED 

 

 

 

ForAll(colAttachmentLogList As HC,
ForAll( Split(HC.AttachmentNames, ",").Result,
Collect(colAttachmentLogList2,
{ Title: HC.Title, CreatedDate: HC.CreatedDate, Officer_Name: HC.Officer_Name, AttachmentNames: Result }
)
)
);

 

 

Categories:
I have the same question (0)
  • LaurensM Profile Picture
    12,516 Moderator on at

    Hi @Warisme,

     

    Some time ago a change was implemented that changed the output of functions such as Distinct() and Split() from Result to Value. Code previous to the change release, should have automatically been converted from Result to Value.

     

    New code will now need to reference Value instead of Result. The release note can be viewed here.

     

    If this solves your question, would you be so kind as to accept it as a solution & give it a thumbs up.

    Thanks!

  • Warisme Profile Picture
    32 on at

    Hi LausrensM,  thanks for the heads up, its always nice to refernce that back for review, but I have read many cases of the difference of RESULT and VALUE, which leads me to believe what you SPLIT might have more to do with it,

    but what is even whackier is seeing examples of code that works for others, just a few MONTHS ago in the blogs,

    so when did that "change" occur ? 

     

    Either way, its nice to know that I can still get the job done, as it was making me feel like I was the only dip in the world who could not get it working, as there are THOUSANDS of examples using .RESULT..

    and yet... I was stuck in the dead zone.   Changes like these in my world are just bad management, for MS its PAR FOR THE COURSE... but as long as I can get from A to B and my employers are happy, I move on..

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard