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 / Filter Data to only sh...
Power Apps
Answered

Filter Data to only show completed items

(0) ShareShare
ReportReport
Posted on by 112

Hi Everyone, 

 

I need some help. I'm stuck filtering my gallery to show items that are not blank for a specific category.

 

My data has a column called 'Type'. When I select 'Completed' on Gallery_Progress I want the Main_Gallery to show me only the 'Type' where the column called 'Recipient Answer1' is not blank for all that same 'Type'.

Currently its showing me 'Type' that has a not blank 'Recipient Answer1' even if its only 1 of 3 'Types'  where 'Recipient Answer1' is not blank.

I need it to only show me 'Type' if all 3 or however may of the same 'Type' has a not blank 'Recipient Answer1'

 

Items:

If(

Dropdown1.Selected.Value = "All" And Gallery_Progress.Selected.Value = "All Reviews",
Distinct(collect_AppData_Recip_MVP2, Type),
Dropdown1.Selected.Value = "All" And Gallery_Progress.Selected.Value = "Completed",
Distinct(Filter(collect_AppData_Recip_MVP2, 'Recipient Answer1' <> Blank()), Type)

)

Categories:
  • Verified answer
    mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at

    hey @Dinerz 

     

    can u try this please:

     

    If(
     Dropdown1.Selected.Value = "All" And Gallery_Progress.Selected.Value = "All Reviews",
     Distinct(collect_AppData_Recip_MVP2, Type),
    
     Dropdown1.Selected.Value = "All" And Gallery_Progress.Selected.Value = "Completed",
     Distinct(
     Filter(
     collect_AppData_Recip_MVP2,
     Type in 
     Filter(
     GroupBy(collect_AppData_Recip_MVP2, "Type", "GroupData"),
     CountRows(Filter(GroupData, 'Recipient Answer1' <> Blank())) = CountRows(GroupData)
     ).Type
     ),
     Type
     )
    )
    

     

     

    if this raises a delegation issue you can also try this:

    If(
     Dropdown1.Selected.Value = "All" And Gallery_Progress.Selected.Value = "All Reviews",
     Distinct(collect_AppData_Recip_MVP2, Type),
    
     Dropdown1.Selected.Value = "All" And Gallery_Progress.Selected.Value = "Completed",
     Distinct(
     Filter(
     collect_AppData_Recip_MVP2 as c,
     CountRows(Filter(collect_AppData_Recip_MVP2, Type = c.Type)) = 
     CountRows(Filter(collect_AppData_Recip_MVP2, Type = c.Type && 'Recipient Answer1' <> Blank()))
     ),
     Type
     )
    )
    

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

  • Dinerz Profile Picture
    112 on at

    Thanks for the help. This works perfect!

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 409 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 252 Most Valuable Professional

Last 30 days Overall leaderboard