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 Apps
Answered

Duplicate Data

(0) ShareShare
ReportReport
Posted on by

Hello guys!
I have a gallery and I want to identify in the CC column if it has duplicate data in the same way it is done in excel. Is there a way to do this?

jcnascime1_0-1653741516452.png

I need this function to fix the duplicate item.

 

Categories:
  • jorge.daniel Profile Picture
    1,430 Super User 2024 Season 1 on at

    Hi,

     

    You might be able to leverage the fill property.

     

    If ( CountRows ( Filter( Datasource, CC = ThisItem.CC ) > 1, Red, White )

     

    I didn't test it but see how it goes.

     

    Regards.

  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @jcfDaniel 

    In the Items property of the gallery, use this formula to add a number of duplicates column to your data source.

     Ungroup(
     AddColumns(
     GroupBy(
     Datasource,
     "CC",
     "dupname"
     ),
     "dup",
     CountRows(dupname)
     ),
     "dupname"
     )
     
    
     

    Then in the TemplateFill property of the gallery:  If(ThisItem.dup>1,Red,White)

     

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 329

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard