PowerApps Duplicates - Avoid, highlight, and even delete

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ก.พ. 2025

ความคิดเห็น • 121

  • @francisbriones6447
    @francisbriones6447 2 ปีที่แล้ว +1

    I've been watching your PowerApps tutorials and it's very helpful for me as an IT Admin in our Company that's developing a PowerApps Program. Thanks Shane!

    • @ShanesCows
      @ShanesCows  2 ปีที่แล้ว

      Glad to help your Francis. :)

  • @caraziegel7652
    @caraziegel7652 2 ปีที่แล้ว +1

    Thanks for sending me here - i was more thinking of just using the SP list title field to enforce it - after seeing a comment you made on a post somewhere about setting the title field as a concatenation of whatever other values make it unique. i just want to enforce it in a dummy-proof way

    • @ShanesCows
      @ShanesCows  2 ปีที่แล้ว

      Glad it was helpful!

  • @upgradeaerialphotos
    @upgradeaerialphotos 4 ปีที่แล้ว +2

    Thank you! I just asked for this like a week ago and you already have a video!! Amazing work!

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว +1

      Hope you like it! The comments do drive what i make. :)

  • @angrybatvoice
    @angrybatvoice 4 ปีที่แล้ว +1

    Nothing but respect for your duplication investigation.

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว

      Thanks and sorry for the slow reply. I missed a chunk of comments somehow so trying to clean that up now. So many comments. 😀

  • @soliderarmatang5664
    @soliderarmatang5664 4 ปีที่แล้ว +1

    Shane, THANK YOU!!! Your videos are an amazing help! This helped me fix my duplicate inserts from collection to CDS table.

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว +1

      You are so welcome!

  • @ulises0502
    @ulises0502 4 ปีที่แล้ว +1

    Gracias Shane, me han servido bastante tus videos para mi trainig en Power Apps. Un saludo desde Mexico!

  • @greglastname9577
    @greglastname9577 3 ปีที่แล้ว

    Shane! Just implemented your 3rd example to highlight duplicates in a gallery. Just fabulous. Will also try in a table. VEry much appreciate your lessons. Wish there was a way to also do this in a power Apps table.

  • @dvk003
    @dvk003 ปีที่แล้ว +1

    Excellent Video Shane!!! Once again, your´re the Best!! Thank´s!!

  • @philippseis6893
    @philippseis6893 ปีที่แล้ว +1

    I'm very glad i found this one. Thanks Shane!

    • @ShanesCows
      @ShanesCows  ปีที่แล้ว

      Happy to help. Have a great day!

  • @patrickfillion7193
    @patrickfillion7193 3 ปีที่แล้ว +1

    Very interesting. I am starting to learn the PowerAutomate and searching for potential duplicates in Dynamics when a user created a record in Portal was one of the things to check for. So, I think this video will be quite useful to do that.

  • @alfredodhiambo8657
    @alfredodhiambo8657 2 ปีที่แล้ว +1

    Thank You Shane. This video has really helped me

  • @NKBobcat
    @NKBobcat 4 ปีที่แล้ว

    The exact issue I am working on with my current application. Looking forward to viewing this.Thank you!

  • @khalidmullawns
    @khalidmullawns 4 ปีที่แล้ว +1

    Thank you Shane, this is what I was looking for

  • @asifkhawaja
    @asifkhawaja 4 ปีที่แล้ว +1

    Heyyyyyyyyyyyyyyy Shane! Great video as usual. Will help a lot in an upcoming project. Thanks.

  • @altino91255268
    @altino91255268 3 ปีที่แล้ว +1

    Hi Shane!
    Thanks for another video!

  • @alines7399
    @alines7399 3 ปีที่แล้ว +1

    Shane, thanks from Brazil!

    • @ShanesCows
      @ShanesCows  3 ปีที่แล้ว

      Thank you! Have a great day Aline.

  • @yuvaraaju
    @yuvaraaju 4 ปีที่แล้ว +1

    Great teaching Shane.

  • @josephsmith5531
    @josephsmith5531 2 ปีที่แล้ว +1

    Another great video, thank you.

    • @ShanesCows
      @ShanesCows  2 ปีที่แล้ว

      Glad you enjoyed it

  • @ravindraudbalker9998
    @ravindraudbalker9998 4 ปีที่แล้ว +1

    Thanks Shane for a solution i was looking for long time, so that i can handle composite key on multiple columns. If i put the code on sharepoint integration on save button, no need to create another button.

    • @ravindraudbalker9998
      @ravindraudbalker9998 4 ปีที่แล้ว

      Set
      (
      varRecord,
      LookUp
      (
      'Cascade Config List',
      Technology = DataCardValue2.Text &&
      Category = DataCardValue3.Text &&
      SubCategory = DataCardValue4.Text
      )
      );
      If
      (
      IsBlank(varRecord.ID),
      SubmitForm(SharePointForm1),
      Notify("Data already exists. Please check and try again...", Error))
      );

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว

      Awesome

  • @derek_shannon
    @derek_shannon 4 ปีที่แล้ว +1

    Rock on, Shane. In combination with your "Favorites" video, this is very helpful for establishing relationships between tables--For instance, you could set the default property of a checkbox to TRUE if it was in a collection related to another item. Endless possibilities for sure, while also seconding your call to watch out for performance issues ;-D

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว +1

      I love the combination thinking Derek! That is exactly what I strive for with my students. Learn little pieces so you can assembly them in great ways later.

  • @barbloke1566
    @barbloke1566 4 ปีที่แล้ว +1

    Great work Shane, keep em coming! 😄

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว +1

      Thanks. Will do!

  • @priyankagajbhiye8752
    @priyankagajbhiye8752 4 หลายเดือนก่อน +1

    Hi Shane, Thanks for the informative video. But any way to remove duplicates from the Microsoft list. If I m not using this method to save the data. Once i submit my data goes to list. So how can i avoid duplicates there?

    • @ShanesCows
      @ShanesCows  4 หลายเดือนก่อน

      You would have to write a Power Automate cloud flow to clean up your list. This video th-cam.com/video/V1ThALavvf0/w-d-xo.html doesn't show exactly what you want but kind of the opposite, getting all the duplicates together. Maybe you can use it to build what you want or at least get ideas.

  • @Andy-up1tt
    @Andy-up1tt ปีที่แล้ว

    hello thank you very much for this video, may i know for check for duplicate set up dont create duplicate section where did you define the varShowEdit. and also how do i show the warning page only if varShowEdit is true ? thank you

  • @SinisterBowfishingTM
    @SinisterBowfishingTM 2 ปีที่แล้ว

    Do you have a video discussing the Powerapps using a barcode scanner and how you can find the duplicates with the scanned data so it tells the user "This entry already exists"

  • @matthewgoldring
    @matthewgoldring 4 ปีที่แล้ว +1

    Thanks Shane, another interesting vid! Quick question..at 10:06 you accidentally typed [@inpDescription]. What is this [@ELEMENTNAME] thing that appears, and why is it different to ELEMENTNAME?

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว

      That is the disambugation operator. It is a way to help PowerApps better understand when you have two elements with the same name. I never use it, instead I avoid the conflicts. 😀 But you can.

  • @vanessacalalang1833
    @vanessacalalang1833 4 ปีที่แล้ว +1

    Hi Shane, Thank you for all your amazing videos. I learned heaps and continue learning. Have a question please, I'm building a calendar app and I want to be able to show conflict booking if there's any, show duplicate based on start date/time and end date/ time, and be able to delete the duplicate. Do you have easier tips on how to do it? Thanks!

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว

      I don't. Sorry. 😑 It is possible, just a pain to do.

    • @pirathipaagnanasekaran6839
      @pirathipaagnanasekaran6839 2 ปีที่แล้ว

      @@ShanesCows Great Video! I need help in preventing double bookings as well :( please help!

  • @junelbuitizon3378
    @junelbuitizon3378 3 ปีที่แล้ว

    How to compare record to record, in such a sense that all records will check whether it has already record in a sharwpoint list?

  • @julireid9574
    @julireid9574 4 ปีที่แล้ว +2

    In a scenario where you DO have a gallery and a duplicate is found rather than automatically updating the existing item, could you use the information in varRecord to automatically select the item in the gallery so it's data would show and the user could decide if they wanted to edit it and if so how would you do that?

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว +1

      You cannot change the Gallery.Selected record but what if in TemplateFill you said If(ThisItem.ID = varRecord.ID, Green, White) then varRecord would be in charge. :)

    • @julireid9574
      @julireid9574 4 ปีที่แล้ว

      Shane Young after I made that comment I used varRecord.id in an if statement that filters the gallery to only show the existing duplicate if varRecord .id is not blank. That works even better in my app because there are lots of items in that gallery and this will force the matching item to the top of the list.

  • @pavankalyanbn9153
    @pavankalyanbn9153 4 ปีที่แล้ว +1

    thank you shane
    a great video helped me a lot

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว

      Awesome thanks 🙏

  • @MrZeeshanstudent
    @MrZeeshanstudent 4 ปีที่แล้ว +1

    Thanks a lot very helpful that what ask in comment you explain lot more than I ask great

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว

      Glad to help. 😀

  • @aishwariyagupta619
    @aishwariyagupta619 4 ปีที่แล้ว +1

    Hi Shane! This video is too good. Followed it step by step along with the PopUp Screen video which you had done. Could you please tell your "UpdateContext" code? Since my pop up screen is showing even when there is not a duplicate record.

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว

      I don’t have it handy but just make sure you are setting the variable back to false as needed.

  • @DataisKing
    @DataisKing 2 ปีที่แล้ว

    Hi Shane,
    I'm trying to remove duplicates that are in a SharePoint list. Both records have the same Employee Name and Pay Type. The ID is the only difference between the 2 records. Any ideas?

  • @rayromych5534
    @rayromych5534 2 ปีที่แล้ว +1

    Nice video, Thank You!

    • @ShanesCows
      @ShanesCows  2 ปีที่แล้ว

      Glad to help. 😀

  • @kikebarahona3097
    @kikebarahona3097 4 ปีที่แล้ว +1

    Hi SHane, is there a part of the video that I do not understand, when the message of the duplication with which you make it visible before the submit is made? help mi please

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว

      It is the visible property of the label

  • @jyothisrinivas6637
    @jyothisrinivas6637 4 ปีที่แล้ว +2

    Thank You Shane..! have a question on this. Is it working / delaying of identification duplicates records when my data set have more than 5,000 records and my app settings data row limit is set to 500.

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว

      Depends on your data source and operators but probably.

  • @Symium
    @Symium 3 ปีที่แล้ว +1

    Great videos Shane. How could I prevent filling in a form twice by a user? my data source is sharepoint

    • @ShanesCows
      @ShanesCows  3 ปีที่แล้ว

      You have to use the method from this video to check and see if they have done it already or not.

    • @Symium
      @Symium 3 ปีที่แล้ว

      @@ShanesCows thanks a lot

  • @ashwinidas7142
    @ashwinidas7142 4 ปีที่แล้ว +1

    I m using SQL Db,The changes made in the existing Db should be able to update on different db. How to do that? Thanks

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว +1

      You would need to write logic to do the updates. I am not much help.

    • @ashwinidas7142
      @ashwinidas7142 4 ปีที่แล้ว

      @@ShanesCows Is there a way without selecting gallery to get the values in the form?

  • @Itsprincessa01
    @Itsprincessa01 3 ปีที่แล้ว

    Hi, i'm getting this error the reset function can only be used with a resettable control

  • @davidgraf8012
    @davidgraf8012 3 ปีที่แล้ว +1

    Shane - What if you have two or more people using the same application and you want to avoid them putting in duplicate records into a SharePoint list?

    • @ShanesCows
      @ShanesCows  3 ปีที่แล้ว

      This method would work. Check before they patch the datasource

    • @davidgraf8012
      @davidgraf8012 3 ปีที่แล้ว

      @@ShanesCows - What would I check? Another question - how do you keep two people from editing the same record?

  • @eastenwoolf5352
    @eastenwoolf5352 4 ปีที่แล้ว +1

    How do we do this if we are using the Submit form button in the standard phone application creator?

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว

      Add the logic when the click the save button and only submit the form if no duplicate is found

  • @Fernando_Calero
    @Fernando_Calero 4 ปีที่แล้ว +1

    Half a day struggling with the Pop Up that didn't show up, everything was "correct" as far as I could see, but no, I set the variable to true first with Set and to false with UpdateContext. #PowerAddicts

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว

      Gald you got it.

  • @corby8678
    @corby8678 3 ปีที่แล้ว +1

    Dear Sir
    Please can help : i want to type in textinput and save in database excel sheet in (hindi fonts ) just like google translate text box when completed my typing it save in excel sheet

    • @ShanesCows
      @ShanesCows  3 ปีที่แล้ว +1

      Sorry, I am not sure how.

  • @papithasekar9567
    @papithasekar9567 4 ปีที่แล้ว +1

    Thank you! Great video

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว

      Glad you liked it!

  • @zolisawelani9338
    @zolisawelani9338 4 ปีที่แล้ว +1

    Thanks a lot. You saved me!

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว +1

      Glad to help. 😀

  • @edwinjonah
    @edwinjonah 2 ปีที่แล้ว

    Nice video! I have a question though. I have recently started to see duplicates in forms that are filled through PowerApps into SharePoint lists. The form resets each time a submission is sent, but then I find a duplicate with the same time of creation, as if two submissions were sent from PowerApps to SharePoint. Any idea why this might be happening? I've noticed it in a few of my apps and can't figure out why.

  • @anandasanyal
    @anandasanyal 4 ปีที่แล้ว +1

    Thank you Shane, another nice video.
    I want to delete an Item from gallery and list.
    I'm using SharePoint Edit form, On a button OnSelect using following code, getting delegation warning, also item is not getting removed.
    Remove(ProjectsCol, Filter(ProjectsCol, ID=TempID));
    Remove(Project, Filter(Project, ID=TempID));
    ID is unique in my List, TempID is a variable where I'm storing ID of the selected item.
    what am I doing wrong here?
    Thank you for your help.

    • @anandasanyal
      @anandasanyal 4 ปีที่แล้ว

      It worked !!!
      Remove(Project, Filter(Project, ID=GalleryPrj.Selected.ID));

      Remove(ProjectsCol, Filter(ProjectsCol, ID=GalleryPrj.Selected.ID));
      But I need to refer TempID, as I need to delete from another List.
      Let's see..

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว

      Good job!

  • @NeelMonk
    @NeelMonk 3 ปีที่แล้ว +1

    Hi Shane, Is it possible to do this in SharePoint

    • @ShanesCows
      @ShanesCows  3 ปีที่แล้ว

      Yes, I thought the video showed the demo using SharePoint?

  • @lucilaneo
    @lucilaneo 3 ปีที่แล้ว +1

    THANK YOU!!!

  • @zanrleonardo
    @zanrleonardo 4 ปีที่แล้ว +1

    Shane, did you worked on Project with powerapps? I get a error when i wanna get a item by flow... can help me out...

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว

      Sorry I am slow to reply. For help on projects connect to www.PowerApps911.com

  • @pvvsrvinay
    @pvvsrvinay 4 ปีที่แล้ว +1

    Hi Shane,
    Thank you for the video. I am new to Power Apps
    Can you tell me how to hide that rectangle and show it back when Update button is clicked ?
    Regards
    Vinay

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว +1

      Use a variable to control the visible property and then manipulate the variable

    • @pvvsrvinay
      @pvvsrvinay 4 ปีที่แล้ว

      Shane Young Thank you for the quick reply. Issue is resolved. Thanks a lot :)

  • @suneelrvishwakarma
    @suneelrvishwakarma 2 ปีที่แล้ว +1

    Hi, can we do this SharePoint list?

    • @ShanesCows
      @ShanesCows  2 ปีที่แล้ว

      This video use SharePoint for all of the demos.

  • @zeeshanmushtaq7437
    @zeeshanmushtaq7437 4 ปีที่แล้ว +1

    Can you make a video to create custom connectors?

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว

      I don't do a lot of that so not sure the video would be very good. :( Sorry

  • @shreenikascreation7340
    @shreenikascreation7340 4 ปีที่แล้ว +1

    Hi Shane, I always follow your videos, its Of course great Video .. In my case I have the Display Gallery in which I need to Distinct the Duplicate Records of a Lookup Field. Please help me out

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว

      This video is the best explanation I have of that concept.

  • @giorgiosurian2190
    @giorgiosurian2190 4 ปีที่แล้ว +1

    u are the best

  • @zynabi740
    @zynabi740 5 วันที่ผ่านมา

    you are the best :)

  • @matthewfritch9491
    @matthewfritch9491 2 ปีที่แล้ว

    Awesome video Shane. This really has helped me quite a bit. One question, Is there a way to set a lookup to ensure a duplicate record does not exist over multiple days? For example, if you had a lookup with StartDate of 1/5 and an EndDate of 1/7 for a reservation how would you go about ensuring a record could not be patched in for a start date of 1/6? Here is what I have so far:
    Set(varRecord, LookUp('Cabin Reservations', StartTime >= StartDate &&
    EndTime

  • @fibonacci9445
    @fibonacci9445 4 ปีที่แล้ว

    Hi Shane, would you have an alternative or workaround to get distinct values from sharepoint list without delegation and without using collections and/or Flow? reason is my sharepoint list has more than 50,000 rows, and I'd like to create something like a realtime dashboard where I need to show the summary in a gallery. My users hate the idea of preloading into collections as it will still cause latency while collecting, so I've been exploring if we can hack this using formulaic alternatives. Been able to solve my countrows dillema using the with() function i saw somewhere on web, so I'm somewhat hopeful that there's also a genius out there who's been able to figure out a way to use distinct() for sharepoint without delegation 😁

    • @ShanesCows
      @ShanesCows  4 ปีที่แล้ว

      I got nothing. 😳 Maybe some flow magic but not even where to tell yo your start.

  • @vilaymaortega7477
    @vilaymaortega7477 4 ปีที่แล้ว +1

    Its not working for me for some reason, continue struggling with this issue

  • @divyas7123
    @divyas7123 3 ปีที่แล้ว

    duplicate avoide using forall..?

  • @Itsprincessa01
    @Itsprincessa01 3 ปีที่แล้ว

    I used your video to avoid duplicates, but i get the reset error

  • @dandrem.4074
    @dandrem.4074 2 ปีที่แล้ว +1

    I hate Powerapps...this is the most difficult program on earth and I know Javascript.

    • @ShanesCows
      @ShanesCows  2 ปีที่แล้ว

      Sorry you are having issues but not sure I agree it is harder then JS.