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 / Delete Gallery Rows
Power Apps
Answered

Delete Gallery Rows

(0) ShareShare
ReportReport
Posted on by 138

Hi All,

I want to delete some rows in a gallery with condition that column " Quantity " is blank. As am sending the gallery over mail and I want to avoid send rows with blanks in Quantity column.

Thanks,

Categories:
  • Jiis Profile Picture
    254 Moderator on at

    Where does the gallery data come from?

     

     

  • MSDigitalUser Profile Picture
    138 on at

    Hello static excel

  • Jiis Profile Picture
    254 Moderator on at

    Would this work?

     

    Gallery.Items

     

    Filter(DataSource,!IsBlank(Quantity))

     

     

  • MSDigitalUser Profile Picture
    138 on at

    not working 

  • MSDigitalUser Profile Picture
    138 on at

    I want to have a button to remove the rows 

  • Jiis Profile Picture
    254 Moderator on at

    Are you trying to remove rows in your datasource (Excel)?

  • MSDigitalUser Profile Picture
    138 on at

    I am just sending this gallery in a email, so I want to avoid sending rows that have no quantities.

  • Jiis Profile Picture
    254 Moderator on at

    Sorry for asking so many questions.

     

    What method are you using to send the gallery as email?

  • MSDigitalUser Profile Picture
    138 on at
    Office365Outlook.SendEmailV2

    and am creating a table html to be in the email body- it is working fine, but I need to remove rows where the quantities are blank.
  • Jiis Profile Picture
    254 Moderator on at

    Put your table in a collection with ClearCollect and then use this function

     
    Button
    Remove(yourcollection,Filter(yourcollection,IsBlank(Quantity)))
    and then turn collection into html

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 405 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard