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 / Split and ForAll help
Power Apps
Answered

Split and ForAll help

(0) ShareShare
ReportReport
Posted on by 17

I'm having trouble with this formula, can you please help?
My intent: split the "Entity" field by semicolon, and check each value against colEntities. If any value is not found in there, set the text property as "Incomplete Info"

"varSelected" is the selected item in a gallery. "varSelected.Entity" is a string with ";" separated values. "varSelected" is the selected item in a gallery.
Also, colEntities is a table of strings under the column, "Value" - this is collected on app start.

My intent: split the "Entity" field by semicolon, and check each value against colEntities. If any value is not found in there, set the text property as "Incomplete Info"

If(
    !ForAll(
        Split(
            varSelected.Entity,
            ";"
        ),
        ThisRecord.Value in colEntities
    ),
    "Incomplete Info"
)
Categories:
  • Ami K Profile Picture
    15,689 Super User 2024 Season 1 on at

    @Larsen - I think this is what you're trying to do:

     

    If(
     CountRows(
     Filter(
     Split(
     varSelected.Entity,
     ";"
     ),
     Value in colEntities
     )
     ) = 0,
     "Incomplete Info"
    )

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard