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 / Filter Out Blanks from...
Power Apps
Unanswered

Filter Out Blanks from SP List

(1) ShareShare
ReportReport
Posted on by 5,325 Super User 2025 Season 2
I have SP List1.

I have Power App Gallery1 and Label1

SP List1 has Activity columns and Consumable columns.

Though the Activities and Consumables and related, the user
wants the lines posted separately to the SP List1.

This leaves blanks in each of the Activity and Consumable line
items.

I am displaying the Activities in Gallery1.

I am using Label1 to display total Activities.

Gallery1 is showing the blanks from SP List1, and Label1 is
including the blanks in the tally.

Is there a way to write a formula in the Gallery items (and Label1)
that eliminates the blanks from SP List1 in Gallery1 and Label1?

In the example there are six (6) Activities and thirteen (13)
Consumables. 
 
 
The tally shows nineteen (19) Activities and should only show
six (6).

The first Activity from SP List1.


The seventh Activity from SP List1.
Categories:
I have the same question (0)
  • Suggested answer
    MMcCloud Profile Picture
    351 Super User 2025 Season 2 on at
    Good Evening, 
     
    In this situation I would personally would use the Filter formula.
     
    For example, 
    Filter(CustomGallerySample,SampleHeading<>"")
     
    Replace CustomGallerySample with your data source and SampleHeading with your column you are looking for an entry in.
     
    This would filter your data source for where it does not equal nothing.
     
    If this answers your question considering choosing my response as the answer and have a nice day! 
  • ronaldwalcott Profile Picture
    3,847 Super User 2025 Season 2 on at
    What do you mean by this
     
    Though the Activities and Consumables and related, the user
    wants the lines posted separately to the SP List1.
     
    You could use something like 
     
    Filter('SP List1', Not(IsBlank(Activities))) - to filter the list
     
     
    CountRows(Gallery1.AllItems) and this to count the count the gallery (not sure this is what you want)
     
  • Verified answer
    Phineas Profile Picture
    5,325 Super User 2025 Season 2 on at
    MMcCloud, you almost got it.

    The following did the trick.
     
    Filter(Drop_Backup_Collection,Activity <> Blank())

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 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard