web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Build the relation bet...
Power Apps
Unanswered

Build the relation between SharePoint lists in a way that is aligned with Power apps recommendations

(0) ShareShare
ReportReport
Posted on by 3,514

We have those SharePoint 4 SharePoint lists:-

 

1) Asset

2) Medium

3) Asset Spare Parts. Each item inside this list will be related to an Asset + a Medium + a Payment Category

4) Payment Category

 

Now I got lost of what is the best way to build the relation between the Asset Spare Parts list and the other 3 lists???

 

First Approach, will be to create 3 SharePoint lookup fields inside the Asset Spare Parts list to link it to the other 3 lists. but i always read and get advices to avoid using SharePoint Lookup fields as they will not work well and will cause lot of issues inside Power Apps

 

Second Approach, Instead of creating 3 lookup fields, to just create 3 Number fields to store the Asset ID + Medium ID + Payment Category ID inside the Asset Spare Part list. but the issue will be when we want to show the list of Assets Spare Parts inside a gallery and we need to show the Asset Title + Payment Category Title + Medium Title. to do so, we need to write these formulas inside the Asset Spare Parts Gallery:-

 

Lookup(Medium, ID=ThisItem.MediumID).Title

Lookuo(PaymentCategory, ID= ThisItem.PaymentCategoryID).Title

Lookup(Asset,ID= ThisItem.AssetID).Title

 

This will work well, but we will face this major issue:- where most of our users have E1 & E3 licenses, and hence they can only make 6,000 requests per day inside the Power Platform. and using the above 3 formulas to get the info of the other lists, will cause the gallery to send 3 requests to SharePoint for each item when navigating through a gallery... which will not work for us , due to the 6,000 requests limit. and since we have around 40 SharePoint lists which are connected together..

 

Third approach. is that store store the IDs of the related 3 lists items (as in second approach) and also store the Titles of the related 3 lists items... i can do this when adding and update the Asset Spare Parts list's items.. but the issue will be on how we can keep the titles up-to-date, incase the title of the related Assets and/or the title of the related PaymentCategory and/or the title of the related Medium, get updated.. so we can run a sync job to sync the titles... but this approach will also have these 2 drawbacks:-

- the idea that updating a title will not get reflected inside the other lists till the sync job runs, might not be much appreciated by the client

- the overhead we will have to write the sync job,,, we have around 40 SharePoint lists which are connected together..

 

 

so to be honest i got lost on which approach to follow? using SharePoint lookup field seems to be the way to go,, but it is always adviced to stay away from using SharePoint lookup fields in Power apps... so is there other approach to consider which will not have any drawback and will be able to work with large lists, as in our case?

 

thanks

Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,968 Super User 2026 Season 2 on at

    @johnjohn123 

     

    I am not sure who is telling you not to use LookUps, but that is not accurate. People use them all the time and its a necessary way to build what you are doing. So I would do your first option with 3 LookUps. As long as you have a nice unique (preferrably ID) to filter on its easy.

     

    There is however another option.

    I do not know how large the Asset, Payment Category and Medium are, but you could make these single Choice columns. And put all the possible options in them and update them over time.

    I still prefer the 3 lookups but this would work also.

     


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    Hi @FLMike ,

    I would be one of those people if you are referring to SharePoint (very different subject for Dataverse).

    There is no function I know of (apart from a couple of left-field workarounds/hacks) that cannot be done easier and with less restrictions directly in Power Apps (simply refer to the other list and field in the drop-down) without at times the code gymnastics needed to deal with anything changed from the standard function and the Delegation issues with items such as sorting by them.

    SharePoint is not a relational database and will not accept Delegation on any "link" created by one of these columns to any other field in the second data set.

    I am happy to agree to disagree, but I have not used (or needed to use) them in five years on some quite complex apps and data sets in SharePoint.

  • johnjohn123 Profile Picture
    3,514 on at

    @FLMike Thanks for the reply,, i do not want to store "Asset, Payment Category and Medium" as columns, as they have their own business logic and approval to manage them.. so they need to have their own sharepoint lists.. so you are with using lookups for my case?

  • johnjohn123 Profile Picture
    3,514 on at

    @WarrenBelz thanks for the reply.. so if you do not want to use SharePoint lookup field type then how i can handle the drawbacks for the Second and Third approaches? Thanks

  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    @johnjohn123 ,

    I was referring to Lookup columns in SharePoint, not the Lookup function - I did not post with the intention of intervening here and will leave you with @FLMike 

  • johnjohn123 Profile Picture
    3,514 on at

    @WarrenBelz yes i know,, we are talking about SharePoint Lookup field type.. and my second approach and third approach do not use Lookups field type, but have their own drawbacks.. do you have any suggestions how to solve those drawback as per my original question ?

  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    @johnjohn123 ,

    As I noted - I will not be intervening here - just clarified the reason I do not use them.

  • johnjohn123 Profile Picture
    3,514 on at

    @WarrenBelz ok fair enough .. thanks

  • Pstork1 Profile Picture
    69,657 Most Valuable Professional on at

    You've stated the trade-offs fairly well. The problem is that give the amount of data and the complexity of the data you are using the real solution is to use an actual relational database and not use SharePoint. SharePoint is not a relational database and although it is good for a lot of things the situation you describe isn't one of them. You need to use a real database if you want that many interrelated tables with that much data. There is no appropriate approach to do something of that scale in SharePoint. Its not what it was designed for and any way you do it there will be some issues that you will face.

     

    Having said that I would probably opt for strategy #3 if I absolutely had to do it in SharePoint. But there will be issues and you'll have to do something with recurrence flows to update the synced data perodically.

  • johnjohn123 Profile Picture
    3,514 on at

    @Pstork1 so why you do not like SharePoint Lookup fields? although they will solve a lot of sync and performance issues? i always get advices not to use SharePoint lookups fields,, but never find a valid reason..

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard