PowerApps Duplicates - Avoid, highlight, and even delete

Sdílet
Vložit
  • čas přidán 13. 09. 2024

Komentáře • 118

  • @francisbriones6447
    @francisbriones6447 Před 2 lety +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!

  • @angrybatvoice
    @angrybatvoice Před 4 lety +1

    Nothing but respect for your duplication investigation.

    • @ShanesCows
      @ShanesCows  Před 4 lety

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

  • @upgradeaerialphotos
    @upgradeaerialphotos Před 4 lety +2

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

    • @ShanesCows
      @ShanesCows  Před 4 lety +1

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

  • @caraziegel7652
    @caraziegel7652 Před rokem +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

  • @dvk003
    @dvk003 Před rokem +1

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

  • @soliderarmatang5664
    @soliderarmatang5664 Před 3 lety +1

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

  • @philippseis6893
    @philippseis6893 Před 8 měsíci +1

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

    • @ShanesCows
      @ShanesCows  Před 8 měsíci

      Happy to help. Have a great day!

  • @alfredodhiambo8657
    @alfredodhiambo8657 Před 2 lety +1

    Thank You Shane. This video has really helped me

  • @greglastname9577
    @greglastname9577 Před 2 lety

    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.

  • @ulises0502
    @ulises0502 Před 4 lety +1

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

  • @alines7399
    @alines7399 Před 3 lety +1

    Shane, thanks from Brazil!

    • @ShanesCows
      @ShanesCows  Před 2 lety

      Thank you! Have a great day Aline.

  • @josephsmith5531
    @josephsmith5531 Před 2 lety +1

    Another great video, thank you.

  • @patrickfillion7193
    @patrickfillion7193 Před 3 lety +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.

  • @khalidmullawns
    @khalidmullawns Před 3 lety +1

    Thank you Shane, this is what I was looking for

  • @NKBobcat
    @NKBobcat Před 4 lety

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

  • @altino91255268
    @altino91255268 Před 3 lety +1

    Hi Shane!
    Thanks for another video!

  • @yuvaraaju
    @yuvaraaju Před 4 lety +1

    Great teaching Shane.

  • @rayromych5534
    @rayromych5534 Před 2 lety +1

    Nice video, Thank You!

  • @ravindraudbalker9998
    @ravindraudbalker9998 Před 3 lety +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 Před 3 lety

      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  Před 3 lety

      Awesome

  • @julireid9574
    @julireid9574 Před 4 lety +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  Před 4 lety +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 Před 4 lety

      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.

  • @asifkhawaja
    @asifkhawaja Před 4 lety +1

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

  • @barbloke1566
    @barbloke1566 Před 4 lety +1

    Great work Shane, keep em coming! 😄

  • @derek_shannon
    @derek_shannon Před 4 lety +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  Před 4 lety +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.

  • @MrZeeshanstudent
    @MrZeeshanstudent Před 4 lety +1

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

  • @SinisterBowfishingTM
    @SinisterBowfishingTM Před 2 lety

    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"

  • @pavankalyanbn9153
    @pavankalyanbn9153 Před 4 lety +1

    thank you shane
    a great video helped me a lot

  • @junelbuitizon3378
    @junelbuitizon3378 Před 3 lety

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

  • @aishwariyagupta619
    @aishwariyagupta619 Před 4 lety +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  Před 4 lety

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

  • @vanessacalalang1833
    @vanessacalalang1833 Před 3 lety +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  Před 3 lety

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

    • @pirathipaagnanasekaran6839
      @pirathipaagnanasekaran6839 Před 2 lety

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

  • @matthewgoldring
    @matthewgoldring Před 4 lety +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  Před 4 lety

      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.

  • @jyothisrinivas6637
    @jyothisrinivas6637 Před 4 lety +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  Před 4 lety

      Depends on your data source and operators but probably.

  • @Andy-up1tt
    @Andy-up1tt Před rokem

    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

  • @papithasekar9567
    @papithasekar9567 Před 4 lety +1

    Thank you! Great video

  • @lucilaneo
    @lucilaneo Před 2 lety +1

    THANK YOU!!!

  • @kikebarahona3097
    @kikebarahona3097 Před 3 lety +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  Před 3 lety

      It is the visible property of the label

  • @davidgraf8012
    @davidgraf8012 Před 3 lety +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  Před 3 lety

      This method would work. Check before they patch the datasource

    • @davidgraf8012
      @davidgraf8012 Před 3 lety

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

  • @DataisKing
    @DataisKing Před rokem

    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?

  • @Itsprincessa01
    @Itsprincessa01 Před 2 lety

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

  • @Fernando_Calero
    @Fernando_Calero Před 3 lety +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

  • @zolisawelani9338
    @zolisawelani9338 Před 4 lety +1

    Thanks a lot. You saved me!

  • @Symium
    @Symium Před 3 lety +1

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

    • @ShanesCows
      @ShanesCows  Před 3 lety

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

    • @Symium
      @Symium Před 3 lety

      @@ShanesCows thanks a lot

  • @matthewfritch9491
    @matthewfritch9491 Před 2 lety

    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

  • @edwinjonah
    @edwinjonah Před 2 lety

    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.

  • @corby8678
    @corby8678 Před 3 lety +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

  • @eastenwoolf5352
    @eastenwoolf5352 Před 4 lety +1

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

    • @ShanesCows
      @ShanesCows  Před 4 lety

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

  • @ashwinidas7142
    @ashwinidas7142 Před 4 lety +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  Před 4 lety +1

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

    • @ashwinidas7142
      @ashwinidas7142 Před 4 lety

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

  • @giorgiosurian2190
    @giorgiosurian2190 Před 3 lety +1

    u are the best

  • @suneelrvishwakarma
    @suneelrvishwakarma Před 2 lety +1

    Hi, can we do this SharePoint list?

    • @ShanesCows
      @ShanesCows  Před 2 lety

      This video use SharePoint for all of the demos.

  • @shreenikascreation7340
    @shreenikascreation7340 Před 3 lety +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  Před 3 lety

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

  • @pvvsrvinay
    @pvvsrvinay Před 4 lety +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  Před 4 lety +1

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

    • @pvvsrvinay
      @pvvsrvinay Před 4 lety

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

  • @anandasanyal
    @anandasanyal Před 4 lety +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 Před 4 lety

      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  Před 4 lety

      Good job!

  • @vilaymaortega7477
    @vilaymaortega7477 Před 3 lety +1

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

  • @zanrleonardo
    @zanrleonardo Před 4 lety +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  Před 4 lety

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

  • @zeeshanmushtaq7437
    @zeeshanmushtaq7437 Před 4 lety +1

    Can you make a video to create custom connectors?

    • @ShanesCows
      @ShanesCows  Před 4 lety

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

  • @NeelMonk
    @NeelMonk Před 2 lety +1

    Hi Shane, Is it possible to do this in SharePoint

    • @ShanesCows
      @ShanesCows  Před 2 lety

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

  • @divyas7123
    @divyas7123 Před 3 lety

    duplicate avoide using forall..?

  • @Itsprincessa01
    @Itsprincessa01 Před 2 lety

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

  • @fibonacci9445
    @fibonacci9445 Před 3 lety

    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  Před 3 lety

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

  • @dandrem.4074
    @dandrem.4074 Před rokem +1

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

    • @ShanesCows
      @ShanesCows  Před rokem

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