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 / Iterating each record ...
Power Apps
Answered

Iterating each record within a Vertical Gallery

(0) ShareShare
ReportReport
Posted on by 7

Hello dear forum members and contributors, 

I am new to PowerApps, I have created a vertical gallery in Power Apps, the gallery is linked to a list in sharepoint, I click each record and update it, when I am ready, I click a button to send the records to a teams channel, but before sending, I check if the report status is filled with "Yes' or "No" for all 10 records. I have written a code with if condition and it worked for the first record only, to check for all records, I used "ForAll" iterator, but the code gives error. I need your help.

 

ForAll(BrowseGallery1.AllItems,

If(

    IsBlank(Label1.Text),

    Notify(

        "Some reports are not complete!",

        NotificationType.Error

    ),

    Set(

        varshowpopup,

        true

    )

)

)

 

 

Categories:
I have the same question (0)
  • Verified answer
    BCLS776 Profile Picture
    8,994 Moderator on at

    Try this:

    If(
     LookUp(BrowseGallery1.AllItems, Label1.Text = Blank(), true),
     Notify(
     "Some reports are not complete!",
     NotificationType.Error
     ),
     Set(
     varshowpopup,
     true
     )
    )

    Hope that helps,

    Bryan

  • Naqib Profile Picture
    7 on at

    Thank you so much for the prompt response, it worked like miracle. Appreciate it.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 426

#2
WarrenBelz Profile Picture

WarrenBelz 381 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 315 Super User 2026 Season 1

Last 30 days Overall leaderboard