Common Data Service Relationships and Lookups with Power Apps canvas apps

  Рет қаралды 36,392

Shane Young

Shane Young

Күн бұрын

Пікірлер: 113
@mattrowe2652
@mattrowe2652 3 жыл бұрын
Huge thanks to you Shane. I've been watching your videos for some time now and they've been a massive help. Having watched this video some time ago, I'd forgotten all about "Explicit Column Selection" and it's been causing me no end of frustration, as soon as I saw your explanation once again, I knew exactly what had been causing me so many problems. I hope you can find some time to do some more videos on 'FlexiDataMegaVerse' (or whetever it's called these days), [hint] It would be great to see something on Navigating many-to-many relationships in canvas apps. You have my undying gratitude. Thanks again.
@ShanesCows
@ShanesCows 3 жыл бұрын
Thanks Matt. I have never done many to many 😳
@mattrowe2652
@mattrowe2652 3 жыл бұрын
@@ShanesCows I'm beginning to wish I hadn't !! I can't get any of my galleries to refresh / update when linking records together 🥲 Looks like I'm going to have to roll out a few more collections.
@facqns
@facqns 4 жыл бұрын
You keep answering all my questions, and even the ones I still didn't have when I saw the video, but sure I was going to have later on. Thak you so much dude!.
@ShanesCows
@ShanesCows 3 жыл бұрын
Glad I could help!
@notonurnelly
@notonurnelly 3 жыл бұрын
Great point on Explicit Column Selection this has been catching me out a bit recently, now I fully understand whats happening.
@ShanesCows
@ShanesCows 3 жыл бұрын
Awesome Jamie.
@filipuppsall-sjogren114
@filipuppsall-sjogren114 4 жыл бұрын
Thanks for a good video into how CDS works... have felt it daunting before but this gave me a good introduction :-)
@ShanesCows
@ShanesCows 4 жыл бұрын
Glad to help. 😀
@shoaibyounus
@shoaibyounus 4 жыл бұрын
Thanks Shane Young. I am watching your videos and they are really helpful :)
@ShanesCows
@ShanesCows 4 жыл бұрын
Great to hear!
@geralddahl9159
@geralddahl9159 4 жыл бұрын
UpdateIf explanation is very helpful to know about. Thank you.
@geralddahl9159
@geralddahl9159 4 жыл бұрын
Unrelated question: I have a gallery that breaks the words of some text I'm trying to memorize using the split function. Then I'm using Set(hint01,Concat(FirstN(Gallery1.AllItems.Title3,5),Title3&" ")) as a variable that becomes the text for a label to give the first five words of the text I'm trying to memorize. Any tips how to get code for the next five words and then for the next five words after that?
@ShanesCows
@ShanesCows 4 жыл бұрын
Glad it was helpful!
@ShanesCows
@ShanesCows 4 жыл бұрын
I haven't done it. But what I would think about is using Len. So give me the first 25 characters, and then then the next using Mid function.
@dudunek
@dudunek 4 жыл бұрын
Very nice Shane. You should make video about many-to-many relationships.
@ShanesCows
@ShanesCows 4 жыл бұрын
I have never used them so not sure I am the right person. But thanks for the encouragement 😀
@barbloke1566
@barbloke1566 4 жыл бұрын
Great work Shane, my goto Power Platform Guy! 😄
@ShanesCows
@ShanesCows 4 жыл бұрын
Awe shucks! Thanks
@khorjenqyang
@khorjenqyang 4 жыл бұрын
new background looks more clear & better
@angrybatvoice
@angrybatvoice 4 жыл бұрын
Agreed! Lighting seems better too. Well done Shane!
@ShanesCows
@ShanesCows 4 жыл бұрын
Thank you both! Still not perfect but getting better is all I can hope for.
@marcsavoie7865
@marcsavoie7865 4 жыл бұрын
The With() fonction... I did not know it existed :( Now I do! I wanted to work with temporary variables for so long like I did with python in Dynamo. Declaring a global variable just to use in formula was a waste. Thank you!
@ShanesCows
@ShanesCows 4 жыл бұрын
I love With so much it has its own video :) kzbin.info/www/bejne/d4qnY6KNqspqnNk
@robvanbreemen6660
@robvanbreemen6660 4 жыл бұрын
Hi Shane, always liking the video's you create. Keep them coming! That said, i want to know if there is a possibility to shown the relationship between grandparent > parent > child relationship. Basically showing all the "grand children" in one view based on that one grandparent. BR Rob!
@ShanesCows
@ShanesCows 4 жыл бұрын
Rob this video talks about parent/child. kzbin.info/www/bejne/eqrPqaaOfrqsesU Take the concept and yes you can add grand parent :)
@avinoamrothenberg1244
@avinoamrothenberg1244 4 жыл бұрын
Finally great lighting 💡
@ShanesCows
@ShanesCows 4 жыл бұрын
Thank you. It has been a real struggle but getting better :)
@Damski748
@Damski748 4 жыл бұрын
Another great video, thank you!
@ShanesCows
@ShanesCows 4 жыл бұрын
Glad you enjoyed it!
@majahbrooks8158
@majahbrooks8158 2 жыл бұрын
Another awesome video Shane! Can you let us know when to choose CDS / Data Flex (whatever) and when to choose Sharepoint as our data source please?
@TiagoRuivo
@TiagoRuivo 4 жыл бұрын
I'm a bit confused, when you use the word "Record" to describe a field of an Entity (28:46 and so on). What exalcty is the record you are referring on this precise moment?
@ShanesCows
@ShanesCows 4 жыл бұрын
Records are the row in a table. That is everything about that entry.
@sanwoolutolu4123
@sanwoolutolu4123 4 жыл бұрын
Hi Shane, In the dropdown you created. The item was 'Chewy Toys'. How did you tune the dropdown to pick the 'toy name" and not something else like 'toy description'
@ShanesCows
@ShanesCows 4 жыл бұрын
Click on the dropdown, on the right look for Fields. There you can click and it will let you pick which field you want to use.
@artkarp
@artkarp 4 жыл бұрын
You said that the primary key field is the same name as the entity. For almost all cases that is true. However, it is possible to have created the entity with the key field text being different than the entity name. In fact, you can edit the key field name. Just something to be aware of. Having them named the same makes the dot notation confusing too. If you want to compare records by GUID you might write Account.Account which means AccountRecord.AccountGUID. Fun stuff. 😂
@ShanesCows
@ShanesCows 4 жыл бұрын
Thanks for sharing 🐶
@carlosenriquecontrerasespi4266
@carlosenriquecontrerasespi4266 2 жыл бұрын
Hi Shane!, thanks for the video... just a question, how can I have a default selected item using relationship? because I can´t just use a value because is different and as I save it, It doesn't work.. "value must be a data entity record"
@nirjasmuhammed8512
@nirjasmuhammed8512 2 жыл бұрын
Hi Shane,i have a lookup column and a self lookup column above it,is there an option to print the self lookup column in a gallery
@shyamksukumaran
@shyamksukumaran 4 жыл бұрын
Thank you Shane.
@ShanesCows
@ShanesCows 4 жыл бұрын
You are welcome!
@helloanurag
@helloanurag 4 жыл бұрын
Yay CDS/Dataflex video!!!
@ShanesCows
@ShanesCows 4 жыл бұрын
Glad you like it!
@KingOfBlades27
@KingOfBlades27 4 жыл бұрын
Great video to get started. One question that really bothers me: If in this case Chewy trackers has a 1:N relationship with Toy (so you could have multiple toys in one record) can I use patch function like 'The Toy' : toygallery, where toygallery is a gallery that has records of toys in it?
@ShanesCows
@ShanesCows 4 жыл бұрын
Hmmm I haven’t tried that but something in that ballpark should work. Not sure the exact syntax though.
@KingOfBlades27
@KingOfBlades27 4 жыл бұрын
@@ShanesCows Great to know. The syntax is also a bit odd to me (been coding with C# and I am trying to use syntax from there constantly :D). Thanks for the great tutorials!
@jordanc8852
@jordanc8852 3 жыл бұрын
Love your channel, Shane! I have been STRUGGLING to figure out how to filter a table on the 1 side of a 1:M relationship. The scenario in a nutshell: I have a table VacationRequests that has a lookup field to table Employees (i.e the employee who made the request). I want show Employees in a gallery that DO NOT have a VacationRequest scheduled on a given day. I have tried too many combinations of FILTER and LOOKUP to list but still can't quite get it. Do you have any suggestions or functions/patterns that I could research?
@paumason
@paumason 4 жыл бұрын
thanks!!! you are always so clear!! I couldn't solve a search over a lookup field into a gallery, any idea?
@ShanesCows
@ShanesCows 4 жыл бұрын
Search only works on text fields not complex ones🤨
@johnbratts
@johnbratts 4 жыл бұрын
Hi Shane, thanks for sharing this video. Question: Have you tried filtering lookup field for null or empty value? I have tried IsBlank function but power apps is giving me a delegation warning.
@ShanesCows
@ShanesCows 4 жыл бұрын
Try FieldName = Blank() I think that is the way to get around delegation.
@Fernando_Calero
@Fernando_Calero 4 жыл бұрын
Hi Shane and thanks for this video, very interesting and unveils the mystery of CDS, for me at least. I have a M365 E3 license, don't have a standalone Power Apps license, and I could follow along this video's tasks, but, will it be deleted at some point of time where Microsoft decides it's time enough of CDS testing without a standalone license, whether single apps or unlimited apps? Maybe it's a question for Microsoft directly.
@ShanesCows
@ShanesCows 4 жыл бұрын
You can play without a license. You just can run the app without a premium license
@aviksarkar9801
@aviksarkar9801 4 жыл бұрын
hello, Mr. Shane young I am a big fan of your videos. I always prefer to follow your videos when I get a problem in Power Apps. But can you tell the what is the name of the back-end language that we use in Power Apps?
@ShanesCows
@ShanesCows 4 жыл бұрын
There isn’t a name. It is the Power Apps formula language. 😀
@RobertoBorgesBr
@RobertoBorgesBr 4 жыл бұрын
Awesome!
@ShanesCows
@ShanesCows 4 жыл бұрын
Thanks 😊
@maycondias6903
@maycondias6903 4 жыл бұрын
Hi Shane, I'm from Brazil and always followed your videos. I am always learning something new from them. Do you think about doing some content about integrating power apps with smarthome?
@ShanesCows
@ShanesCows 4 жыл бұрын
I haven’t but would be fun. I will think about it 😀
@danielszelagiewicz2262
@danielszelagiewicz2262 3 жыл бұрын
Great as always! One question: I have a big report with over 100 columns. I want to have it splitted in different tabels. But then i need a relationship one-to-one (as each record hold data for one test report ). How to solve it in best practice? Any video about that?
@djpowerage
@djpowerage 3 жыл бұрын
Did you manage to get this sorted Daniel? this is something I think I need!
@danielszelagiewicz2262
@danielszelagiewicz2262 3 жыл бұрын
@@djpowerage Not straight forward. I cannot find a way to use one-to-one so I had to use one-to-many. Works OK for me. I just use one column in "main" table as a reference in other tables.
@MrDasarinaveen
@MrDasarinaveen 4 жыл бұрын
Hello Shane, I am facing some problem with the group by with the lookup type columns. any reason you can suggest?
@ShanesCows
@ShanesCows 4 жыл бұрын
Not sure. My advice is simplify and try to get small pieces working then get more complex.
@leenashreeindrani532
@leenashreeindrani532 4 жыл бұрын
Hi Shane, Thanks for these videos in CDS powerapps Could you please share us few more videos of CDS & PowerApps Role base management using both How to create a record/request once an entity/ table created in cds Limitations, performance etc etc
@ShanesCows
@ShanesCows 4 жыл бұрын
Thanks for the suggestions 😎
@eduardocoello1216
@eduardocoello1216 4 жыл бұрын
Hey Shane! I have seen lots of your videos and you explain things in a really easy way to understand. I have two big sharpoint sites using complex workflows that send custom tasks to our users (where they need to fill in custom fields, using content types). Nothing fancy, but users can do the tasks and I can save their responses to a list and act depending on what they filled. How can I do that with powerapps/power automate?
@ShanesCows
@ShanesCows 4 жыл бұрын
Create an app that asks for the input you want. Maybe combine deep linking kzbin.info/www/bejne/d2azmmiGZ75-mtU to send them to the exact item you want to input?
@eduardocoello1216
@eduardocoello1216 4 жыл бұрын
Shane Young no kidding, I watched your deeplinking video just 2 hrs ago and it gave me that idea. I am working on my app and I am using galleries (repeating tables) just as your videos showed. I have a sharepoint list that has a choice column that I need in that gallery. How can I connect the drop down control in the gallery to the choice column in my sharepoint data source so it has the same choices?
@julien8979
@julien8979 4 жыл бұрын
Hello Shane, thanks for sharing this video. I would like to ask if you have a video showing how to transform and sync data between Dynamics CRM 365 online and SharePoint online list using Dataflows.
@ShanesCows
@ShanesCows 4 жыл бұрын
I do not have one that specific. I do talk about Dataflows and SharePoint a bit in this video if it helps kzbin.info/www/bejne/eJmvoppnn9iViqs
@sanjeevtiwari17
@sanjeevtiwari17 4 жыл бұрын
Hi Shane ...Nice Video.Can you please create a video for View/download Note attachment from CDS in Canvas app.
@ShanesCows
@ShanesCows 4 жыл бұрын
Noted. Thanks
@danielhammer8950
@danielhammer8950 4 жыл бұрын
Hi Shane, thanks for these awesome videos! They've been helping me a lot! I'm creating an app using existing related data out of Business Central. I've created entities in CDS which sync both ways with Business Central to the respective tables. My question is, how do I create relationships between these entities using the existing keys and thus keeping the relationships already there?
@ShanesCows
@ShanesCows 4 жыл бұрын
Yikes. Not saying it isn’t possible but I have never done it. You have the is field so I think you could remake the connection indirectly with using the Lookup function
@artkarp
@artkarp 4 жыл бұрын
CDS has an alternate key field for this use case to store the data. Check the Dynamics 365 docs for info.
@clientfclientl9147
@clientfclientl9147 3 жыл бұрын
Don't have an "Entities" option under Data. Having a hard time creating a relationship with 2 SharePoint lists. For example, the app is displaying ID number 3 (ThisItem.CUST_ID) instead of pulling the actual name from the 2nd table. It should be accomplished with Filter function right?
@ashokpershad
@ashokpershad 4 жыл бұрын
Dataflex...thats what i am waiting for...but heard that it will not come anytime before end of this month...😥
@ShanesCows
@ShanesCows 4 жыл бұрын
I wish I knew when it was coming also. I do think it will change a lot of what we do. 😀
@ashokpershad
@ashokpershad 4 жыл бұрын
Shane could you please do one video showing how to make one app using two different PowerApps templates? May be it’s little difficult but just wanna see what sort of things we need to take care while doing same.
@stanfda
@stanfda 4 жыл бұрын
@shane, I have noticed the 500/2000 record limit for a Powerapp in Teams. I have a Prospect Spreadsheet with about 5,000 rows that I would like to expose to a Business Development Team to help curate and enhance the data. Ideally I would do this with a Power App but the record limit seemingly prevents this. Do you have any suggestions?
@ShanesCows
@ShanesCows 4 жыл бұрын
David look at this video on Delegation for a deeper explanation. kzbin.info/www/bejne/i5KlnomLht2SfM0 5,000 items does limit you. Just have to work smart.
@magnusjeppesen
@magnusjeppesen 4 жыл бұрын
Great video, with a lot of nice little tricks ;) But, how would you go around to filter a gallery, to only shows records, that has related (child) records. I.e. only show 'parent records' that has related 'child records' - where the relationship is: parent 1 : m child.
@ShanesCows
@ShanesCows 4 жыл бұрын
Hmmm. I haven’t done that one before. Sorry
@magnusjeppesen
@magnusjeppesen 4 жыл бұрын
@@ShanesCows no problem 👍
@djpowerage
@djpowerage 3 жыл бұрын
Hi, Video is great for learning and when the data is new but has anybody got any guidance on how to relate multiple data tables that already have a unique column created in Excel, other than using Lookup in the Power App so that I can make use of the dot notation?
@alexshteinberg1227
@alexshteinberg1227 4 жыл бұрын
Great review of CDS relationships. It looks the unique id {guid }is based on SQL. Which I assume thats the backend engine for this.
@ShanesCows
@ShanesCows 4 жыл бұрын
You are correct 😊
@gustavoviniciusguimaraesde1638
@gustavoviniciusguimaraesde1638 4 жыл бұрын
Is it possible to do that with Basic CDS Account ?
@ShanesCows
@ShanesCows 4 жыл бұрын
Yes. No difference
@comprascbgolfe9191
@comprascbgolfe9191 4 жыл бұрын
How does CDS know which field/column it has to use to make the relationship between the entities?
@ShanesCows
@ShanesCows 4 жыл бұрын
Not sure but it does. There is an ID column that CDS (now Dataverse) uses as a primary key under the hood.
@MsKaryn
@MsKaryn Жыл бұрын
This didn't work for me at all. I have Table1 that has a many to many relationship to Table2. I wanted to show all of the related image columns on my canvas app where there was a match between Table1 and Table2 only. There is no specific column in Table1 that stores a value. It is only in Table2. And, I only have the relationship to work with in order to get that result but I can't seem to get it. In your example, it seems that you have a specific lookup column in one table that connects to another table. I don't have that.
@ludovicbocquet9783
@ludovicbocquet9783 3 жыл бұрын
Hello, It does'nt work for me. I have to filter a gallery with two tables ( and 5 comboboxes).
@Andyandrwew144
@Andyandrwew144 4 жыл бұрын
Shane. I didn't pass my MB-600. (675/700) Do you have any good resources for this exam. That was one hard test man.
@ShanesCows
@ShanesCows 4 жыл бұрын
I don’t. And I haven’t taken it. Wha type of questions did you struggle with?
@Andyandrwew144
@Andyandrwew144 4 жыл бұрын
@@ShanesCows they asked about entity security in one question. The rest were just general architecture decisions.
@abhisiktasarkar9962
@abhisiktasarkar9962 4 жыл бұрын
Hi shane can you please let me know after loading table structure from sql server can you write back the data using power apps in sql server empty table using model driven power apps ? if so could please post some video on that
@ShanesCows
@ShanesCows 4 жыл бұрын
Not that I know of. Model driven only works with CDS (dataverse) as far as i know
@richardclowes6166
@richardclowes6166 4 жыл бұрын
A paw here and a paw there ... too funny...
@ShanesCows
@ShanesCows 4 жыл бұрын
Thanks 🐶
@JamieWillisRose
@JamieWillisRose 4 жыл бұрын
Shane - Have you talked about the Relate and Unrelate functions? Would to see your take on when and how to use them. docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-relate-unrelate
@ShanesCows
@ShanesCows 4 жыл бұрын
Hey Jamie I haven’t. I h e never had to use them in the real world so you probably know more than me
@wendelsilva7055
@wendelsilva7055 3 жыл бұрын
Need a premium for dataverse : (
@ShanesCows
@ShanesCows 3 жыл бұрын
Yup. 😑
@pabloroldan6626
@pabloroldan6626 2 жыл бұрын
MS likes to change the name(CDS,flex,dataverse) every year 🤨😑
@ShanesCows
@ShanesCows 2 жыл бұрын
Yup, not fun.
@mvos1980
@mvos1980 4 жыл бұрын
Thanks again for the great video!
@ShanesCows
@ShanesCows 4 жыл бұрын
My pleasure!
Power Apps Teams Integration
29:57
Shane Young
Рет қаралды 68 М.
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
Mastering Delegation in Power Apps: A Comprehensive Guide
23:13
Shane Young
Рет қаралды 47 М.
Intro to PowerApps Variables
19:23
Shane Young
Рет қаралды 206 М.
A better PowerApps Data Model - Flexible and fast
26:52
Shane Young
Рет қаралды 46 М.
Power Apps & Dataverse: Relational Tables Made Easy
58:46
PowerApps Tutorial
Рет қаралды 10 М.
PowerApps Delegation and the 500 item limit
34:00
Shane Young
Рет қаралды 114 М.
PowerApps SQL LookUps and Relationships
19:44
Shane Young
Рет қаралды 94 М.
PowerApps Multiple Data Sources
22:09
Shane Young
Рет қаралды 204 М.
Mastering Dataverse Relationships in Canvas Apps
1:39:14
Skypoint
Рет қаралды 11 М.