How to Set Up Relationships in Power Apps

Поділитися
Вставка
  • Опубліковано 3 гру 2024

КОМЕНТАРІ • 90

  • @PowerAppsTutorial
    @PowerAppsTutorial  Рік тому

    🍬 Get my free video course, access to my free community, and, if you would like, you can book a call with me here: go.superpowerlabs.co/opt-in-page-page ⬅

  • @tiagobovolin
    @tiagobovolin 13 днів тому

    Thank you very much for sharing your knowledge.

  • @PatSayers-s9o
    @PatSayers-s9o Рік тому +1

    Amazing...what took me two days took this guy 12 minutes. Love it

    • @PowerAppsTutorial
      @PowerAppsTutorial  Рік тому

      Glad you enjoyed it! Use this to up your game: learn.powerappstutorial.com/Masterclass?r_done=1

  • @markdelbiondi
    @markdelbiondi 2 роки тому +3

    I knew all of this but it was well explained! Great job

  • @anelmorales5568
    @anelmorales5568 2 роки тому +2

    Darren this is extremely helpful! I will use this at work :P Thanks!

  • @slickyblicky1711
    @slickyblicky1711 Рік тому +1

    Thanks for the help Chief

  • @datalords
    @datalords 4 місяці тому

    Three (3) whole days only to find the answer in just 12 minutes and straight to the point too. University of UA-cam is amazing but only a few are Qualified Professors and you're one of them.

    • @PowerAppsTutorial
      @PowerAppsTutorial  4 місяці тому

      Thanks for that. Join my free community for more: www.skool.com/power-apps-community🍬

  • @RTPgardenguy
    @RTPgardenguy 2 роки тому +1

    Very helpful, thank you for taking the time to do this!

  • @RodCast2012
    @RodCast2012 Рік тому +1

    Best content ever! THANKS!

  • @JimmyBlasso
    @JimmyBlasso 2 роки тому +2

    Never thought to use Patch, I set a variable on my input form Item property and call it from the action form custom ID as the default value using the If statement. This works well but Patch seems to be easier and quicker and wouldn't have to use a form. I will give this a try. Love the flexibility of PowerApps! Thanks Darren!

    • @PowerAppsTutorial
      @PowerAppsTutorial  2 роки тому +1

      Patch is great! I'm glad to hear it was helpful! I explain and used it more on today's live stream: ua-cam.com/video/5pHkinahfsc/v-deo.html

  • @leodeguzman463
    @leodeguzman463 2 роки тому +1

    this is exactly what is was looking for.

  • @nonoobott8602
    @nonoobott8602 Рік тому

    This is so brilliant. Thanks so much for sharing. I'm learning a lot from your Channel

    • @PowerAppsTutorial
      @PowerAppsTutorial  Рік тому +1

      Am glad it helps. Theres alot going on in our free community, be sure to join: www.skool.com/power-apps-community

  • @thomasjones9394
    @thomasjones9394 2 роки тому +1

    Great explanations!

  • @ThomasHendricks-m2q
    @ThomasHendricks-m2q 11 місяців тому

    Excellent Video - very understandable for begginners like me.

    • @PowerAppsTutorial
      @PowerAppsTutorial  11 місяців тому

      Glad it was helpful!
      Join my free PowerApps Community here to lower your learning curve 🚀😎. www.skool.com/power-apps-community

  • @fabiocaetano2535
    @fabiocaetano2535 Рік тому

    Great Video! Thanks.

  • @jayong2370
    @jayong2370 Рік тому

    Thanks. Exactly what I was looking for. =)

  • @muhammadmuzammiljamil7831
    @muhammadmuzammiljamil7831 Рік тому +1

    it's help a lot thank you :)

  • @VimalrajK-u2o
    @VimalrajK-u2o 9 місяців тому +1

    Great explanation, and why is the customer id column is of datatype number rather than a lookup.

    • @PowerAppsTutorial
      @PowerAppsTutorial  9 місяців тому

      Good question. Lookups and other complex column types are problematic in Power Apps and can cause delegation issues. SharePoint natively was not designed to work with Power Apps. Stick with simple column types (text, numbers, datetime, etc).

  • @achuthavishnu8993
    @achuthavishnu8993 2 роки тому +1

    Amazing Video, thank you so much .. this was the solution i was looking for. One Additional question , could we edit the Car name entered against an existing customer in the same view ?

    • @PowerAppsTutorial
      @PowerAppsTutorial  2 роки тому

      I don't see why you couldn't. When you say "view", do you mean gallery?

  • @vishalkadam5996
    @vishalkadam5996 7 місяців тому

    Excellent video..

  • @levin3722
    @levin3722 2 роки тому +1

    Hi Thanks for the great video !! Do you have an idea how I can do it if the customer does not exist yet. So everything in the same patch statment. Or how could you do that?

    • @PowerAppsTutorial
      @PowerAppsTutorial  2 роки тому +2

      You can't patch two data sources with the one patch. Just have one patch, get the ID, then patch the many relationship with that ID right after. Separate the patch statements with a semicolon. 👍

  • @charlesdawnbeltran9603
    @charlesdawnbeltran9603 Рік тому +1

    Very helpful video.
    Do you have a video as well on how to download the child table into Excel and it also contains some columns from the parent table?

    • @PowerAppsTutorial
      @PowerAppsTutorial  Рік тому

      You could update the data into an Excel file by bringing it into Power Apps through OneDrive. Here's a video where I work with an Excel table: ua-cam.com/video/5O5XQrHQMec/v-deo.html

  • @jdkarns
    @jdkarns Рік тому +1

    Great video! Fantastic information. Thanks for that. Question: When you made the Cars List you made a column CustomerID and made it a "Number". Do you have to specify the number to Force Unique Values? How did a number get added each time you added a persons' choice of car?

    • @PowerAppsTutorial
      @PowerAppsTutorial  Рік тому +1

      SharePoint lists always create a column called "ID" and it acts like an auto incrementing number. Does that answer your question?

    • @jdkarns
      @jdkarns Рік тому +1

      @@PowerAppsTutorial Yes it did, thank you very much.

    • @PowerAppsTutorial
      @PowerAppsTutorial  Рік тому

      Welcome! 😊

  • @kyleegray1652
    @kyleegray1652 6 місяців тому

    You are a godsend! Do you know how long I have been trying to do this??? Thank you so much!

  • @shawnlarrabee45
    @shawnlarrabee45 5 місяців тому

    Thank you!

  • @zonnena
    @zonnena Рік тому

    very helpful

  • @OutstandingLife
    @OutstandingLife 2 роки тому +1

    This is awesome!

  • @faucillon
    @faucillon 8 місяців тому

    SPEED, awesom. Approach, awesome. Got my like and heck why not got my sub too

  • @gkz871
    @gkz871 2 роки тому +1

    Thank your sharing, question: if this two list require a SharePoint web level edit, example in SharePoint list the Cars input a new record, because it is not a lookup column relation, how make it easy to input a customer ID?

    • @PowerAppsTutorial
      @PowerAppsTutorial  2 роки тому

      What do you mean by "SharePoint web level edit"? Are you talking about if a user goes directly to the SharePoint list? I generally don't allow that. You could create a lookup column if you wanted, but that could create delegation issues in Power Apps.

  • @andrzejjabonski779
    @andrzejjabonski779 Рік тому +1

    My MASTER!

    • @PowerAppsTutorial
      @PowerAppsTutorial  Рік тому

      lol... I am just a teacher who is still learning himself! 😋

  • @TheMKTube
    @TheMKTube Рік тому +1

    Great video! Does the Title field in the sub-list HAVE to be unique? I wish there was a video about dealing with this annoying title field! lol

    • @PowerAppsTutorial
      @PowerAppsTutorial  Рік тому

      No, it doesn't have to be unique, unless you go into the field settings and click yes to "Enforce unique values". That's what ID is generally used for. 😊

  • @lordbayne7918
    @lordbayne7918 Рік тому

    Good stuff

  • @itsjosephhenry
    @itsjosephhenry Рік тому

    Serious Stuff!!

  • @swelihlelucas2099
    @swelihlelucas2099 Рік тому +1

    is it possible to do this using two forms as well ??

    • @PowerAppsTutorial
      @PowerAppsTutorial  Рік тому

      Sure, but there is some configuration needed inside the forms to pull it off. 😊👍

    • @swelihlelucas2099
      @swelihlelucas2099 Рік тому

      @@PowerAppsTutorial please explain how can to do it ?

    • @PowerAppsTutorial
      @PowerAppsTutorial  Рік тому

      Post your questions to our free community here for quick help: www.skool.com/power-apps-community

  • @Cordycep1
    @Cordycep1 Рік тому +1

    I struggle the whole 2 days of trying to connect data source because everytime I paste the link it only give me 1 list, your video shows me to copy the root url and I was able to see all the list- thank you. Is CustomerID column a Number or a Lookup? thanks

    • @PowerAppsTutorial
      @PowerAppsTutorial  Рік тому

      Just a number. If you use SharePoint lookup type columns, you may run into delegation issues when trying to query on that field.

  • @khakkik
    @khakkik Рік тому +1

    Hi there, how do you handle permissions for the SharePoint lists themselves? I assume all users who would use the app would have to have edit rights for it to work - I've been asked to build an app for everyone at my company to use but I'd like to make sure people can't find and edit the lists themselves. Is there a way to make a Powerapp execute functions as a service account that has higher permissions and not let everyone using the app able to access the "back end" so to speak?

    • @PowerAppsTutorial
      @PowerAppsTutorial  Рік тому

      Good question! What I do, is that I make all the users of my app "members" of the SharePoint site. It's always worked well for me!

  • @gatorbrown2639
    @gatorbrown2639 4 місяці тому

    hey I just want to know if you already had data entered into a list how would you go about doing this process

    • @PowerAppsTutorial
      @PowerAppsTutorial  4 місяці тому

      Check out this video: ua-cam.com/video/cml6hcMb7V0/v-deo.html&lc=UgxCaFdiNOeNuDFvNr14AaABAg

  • @adrianconnolly8568
    @adrianconnolly8568 2 роки тому +1

    with ID or Primary key can you make a unique code id eg; name take the first three letters and add a number reference example nam1, nam2 to represent that table

    • @PowerAppsTutorial
      @PowerAppsTutorial  2 роки тому +1

      Thanks for the comment. That is true. If I wanted to use a unique key, sometimes I'll use the Title for that, then create other columns for their name. Dataverse has an auto key column type, which is nice. In both places, you could create a calculated column as well. With SharePoint, I typically recommend sticking with the ID column. 👍👍

    • @adrianconnolly8568
      @adrianconnolly8568 2 роки тому +1

      @@PowerAppsTutorial sorry to be rude in asking! but would you mind demonstrating that please in dataverse ? i was able to once to do it through VBA in MS Access, and found it helpful in identifying tables junctions and map where the info was coming from etc. As I'm having difficulty in getting my head around the concept of power apps, especially when it comes to SQL code using VB that i'm use not lookup functions

    • @PowerAppsTutorial
      @PowerAppsTutorial  2 роки тому

      @@adrianconnolly8568 That's a great idea! 😀 Enter any ideas for future videos here: forms.office.com/r/7a2CpDvU0U
      and I'll try to get to it as soon as I can. Thanks for viewing/interacting. Have you checked out my playlist here where we are currently building out a full ticketing system? ua-cam.com/play/PLMgWds5p226k_Z3JHoyEyOgF6OJbH88GV.html

  • @princeofchaos
    @princeofchaos 7 місяців тому

    how you would do that if you have 3 depth table, Brand, sectors and subsectors. and the relation is 1 table N-N with Brand_id, Sectors_id, and Subsectors_id

    • @PowerAppsTutorial
      @PowerAppsTutorial  7 місяців тому

      In PowerApps, setting up relationships among three tables (Brand, Sectors, and Subsectors) with a many-to-many structure involves using a junction table to handle the relationships. First, create a junction table that includes Brand_id, Sectors_id, and Subsectors_id as its primary fields, each serving as a foreign key to the respective tables. In PowerApps, when you add these tables as data sources, you can utilize the Lookup function to establish connections. For example, in a gallery or form, you can show related data by filtering the junction table based on a selected Brand or Sector. Use the LookUp and Filter functions to display the related Sectors and Subsectors for a selected Brand, creating a nested display where selecting a Brand filters the Sectors, and selecting a Sector further filters the Subsectors.

  • @johnbrennan8442
    @johnbrennan8442 2 роки тому +1

    One to many is simple to do can you try many to many in sharepoint?

    • @PowerAppsTutorial
      @PowerAppsTutorial  2 роки тому

      Sure! I do have this video here where I do just that. There, I have a many to many relationship between Employees and Privileges with a mapping table in the middle. Let me know what you think! ua-cam.com/video/zM0qCQQN9MI/v-deo.html

    • @johnbrennan8442
      @johnbrennan8442 2 роки тому +1

      What about using the lookup columns in SP to reach the same goal ?

    • @PowerAppsTutorial
      @PowerAppsTutorial  2 роки тому +1

      ​@@johnbrennan8442 You'll run into delegation issues if you're writing a query based on that lookup. That's why I stay away from them.

    • @johnbrennan8442
      @johnbrennan8442 2 роки тому +1

      Too true better to keep it simple SP side therefore making it easy for the users Power Apps end and not having the issue of them breaking things

  • @arogundadeajibolaolusoji218

    Too fast

    • @PowerAppsTutorial
      @PowerAppsTutorial  Рік тому

      Thanks for your review💖.. However you can reduce the playback speed or highlight areas where you need help. Be sure to post your questions to our free community: www.skool.com/power-apps-community