How to Set Up Relationships in Power Apps

Поделиться
HTML-код
  • Опубликовано: 21 июн 2022
  • Find out how to create your table or list relationships in SharePoint quickly and easily with a simple and easy to follow example. We will work with SharePoint Lists. We'll do this by using the Power Platform and SharePoint list relationships.
    🍭Join our free community and get my Power Apps Crash Course for free: www.skool.com/power-apps-comm... ⬅️
    Darren Neese, Microsoft MVP, PowerApps Tutorial
    #DarrenNeese
    #PowerAppsTutorial
    #LowCode

Комментарии • 81

  • @PowerAppsTutorial
    @PowerAppsTutorial  8 месяцев назад

    🍬 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 ⬅

  • @user-iy7le6es5s
    @user-iy7le6es5s 9 месяцев назад +1

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

    • @PowerAppsTutorial
      @PowerAppsTutorial  7 месяцев назад

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

  • @RTPgardenguy
    @RTPgardenguy Год назад +1

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

  • @markdelbiondi
    @markdelbiondi Год назад +3

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

  • @anelmorales5568
    @anelmorales5568 Год назад +2

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

  • @thomasjones9394
    @thomasjones9394 Год назад +1

    Great explanations!

  • @RodCast2012
    @RodCast2012 Год назад +1

    Best content ever! THANKS!

  • @fabiocaetano2535
    @fabiocaetano2535 11 месяцев назад

    Great Video! Thanks.

  • @NickyNose
    @NickyNose Год назад +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  Год назад +1

      Patch is great! I'm glad to hear it was helpful! I explain and used it more on today's live stream: ruclips.net/video/5pHkinahfsc/видео.html

  • @jayong2370
    @jayong2370 11 месяцев назад

    Thanks. Exactly what I was looking for. =)

  • @nonoobott8602
    @nonoobott8602 9 месяцев назад

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

    • @PowerAppsTutorial
      @PowerAppsTutorial  7 месяцев назад +1

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

  • @user-le8ws6tr6n
    @user-le8ws6tr6n 3 месяца назад +1

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

    • @PowerAppsTutorial
      @PowerAppsTutorial  3 месяца назад

      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).

  • @slickyblicky1711
    @slickyblicky1711 10 месяцев назад +1

    Thanks for the help Chief

  • @leodeguzman463
    @leodeguzman463 Год назад +1

    this is exactly what is was looking for.

  • @OutstandingLife
    @OutstandingLife Год назад +1

    This is awesome!

  • @muhammadmuzammiljamil7831
    @muhammadmuzammiljamil7831 Год назад +1

    it's help a lot thank you :)

  • @user-rf2pf7yb8f
    @user-rf2pf7yb8f 5 месяцев назад

    Excellent Video - very understandable for begginners like me.

    • @PowerAppsTutorial
      @PowerAppsTutorial  5 месяцев назад

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

  • @faucillon
    @faucillon 2 месяца назад

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

  • @vishalkadam5996
    @vishalkadam5996 23 дня назад

    Excellent video..

  • @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: ruclips.net/video/5O5XQrHQMec/видео.html

  • @levin3722
    @levin3722 Год назад +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

      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. 👍

  • @zonnena
    @zonnena 10 месяцев назад

    very helpful

  • @achuthavishnu8993
    @achuthavishnu8993 Год назад +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  Год назад

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

  • @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! 😊

  • @gkz871
    @gkz871 Год назад +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  Год назад

      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.

  • @lordbayne7918
    @lordbayne7918 9 месяцев назад

    Good stuff

  • @andrzejjabonski779
    @andrzejjabonski779 Год назад +1

    My MASTER!

    • @PowerAppsTutorial
      @PowerAppsTutorial  Год назад

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

  • @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!

  • @itsjosephhenry
    @itsjosephhenry 9 месяцев назад

    Serious Stuff!!

  • @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. 😊

  • @princeofchaos
    @princeofchaos Месяц назад

    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  21 день назад

      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.

  • @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.

  • @swelihlelucas2099
    @swelihlelucas2099 7 месяцев назад +1

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

    • @PowerAppsTutorial
      @PowerAppsTutorial  7 месяцев назад

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

    • @swelihlelucas2099
      @swelihlelucas2099 7 месяцев назад

      @@PowerAppsTutorial please explain how can to do it ?

    • @PowerAppsTutorial
      @PowerAppsTutorial  7 месяцев назад

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

  • @adrianconnolly8568
    @adrianconnolly8568 Год назад +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  Год назад +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 Год назад +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  Год назад

      @@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? ruclips.net/p/PLMgWds5p226k_Z3JHoyEyOgF6OJbH88GV

  • @johnbrennan8442
    @johnbrennan8442 Год назад +1

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

    • @PowerAppsTutorial
      @PowerAppsTutorial  Год назад

      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! ruclips.net/video/zM0qCQQN9MI/видео.html

    • @johnbrennan8442
      @johnbrennan8442 Год назад +1

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

    • @PowerAppsTutorial
      @PowerAppsTutorial  Год назад +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 Год назад +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
    @arogundadeajibolaolusoji218 8 месяцев назад

    Too fast

    • @PowerAppsTutorial
      @PowerAppsTutorial  7 месяцев назад

      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