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 Gallery for Dup...
Power Apps
Unanswered

Filter Gallery for Duplicate item

(0) ShareShare
ReportReport
Posted on by

 

 

Categories:
  • Sunil Kumar Pashikanti Profile Picture
    2,338 Super User 2026 Season 2 on at

    Hi @Thomas9999,

     

    If I understand that you want to filter a gallery in Power Apps to show only the items that have duplicate values in a specific column. This is a common scenario that many Power Apps developers encounter, and there are a few possible solutions that you can try. Here are some of the posts that I found for you in this forum:

     

    • Power Apps: Filter Gallery Items to only show duplicated based on a specific field: This result shows how you can use the GroupBy, AddColumns, and Filter functions to group the items by the column that you want to check for duplicates, add a column to count the number of rows in each group, and then filter the groups that have more than one row. This way, you can display only the items that have duplicate values in the gallery.
    • Display Duplicate Items in Gallery: This result explains how you can use the ShowColumns, Filter, AddColumns, GroupBy, and Ungroup functions to filter the items by the column that you want to check for duplicates, show only the column that contains the duplicate values, add a column to count the number of rows in each group, group the items by the column that contains the duplicate values, ungroup the items, and then filter the items that have more than one row. This way, you can display only the items that have duplicate values in the gallery.
    • Check Duplicate in the Gallery: This result demonstrates how you can use the CountRows and Filter functions to count the number of rows in the gallery that have the same value as the current item in the column that you want to check for duplicates, and then compare the result with 1. If the result is greater than 1, you have a duplicate item. You can use this logic to highlight the duplicate items in the gallery or to filter them out.
    • How to hide duplicate rows in a gallery / show distinct values across multiple columns: This result describes how you can use the GroupBy function to group the items by the columns that you want to check for duplicates, and then display only the first item in each group. This way, you can hide the duplicate rows in the gallery and show only the distinct values across multiple columns.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

     

    Thanks,

    @SunilPashikanti 

     

     

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