Hi
I have 3 SharePoint lists:
‘Products’
‘Orders’
‘Deliveries’
I want to display the ‘Products’ table in a vertical gallery and display the stock level for each product.
I am using the following formula:
Label_StockLevel.Text =
Sum( Filter( Orders, ProductID= ThisItem.ID), Quantity Ordered) - Sum( Filter( Deliveries, ProductID= ThisItem.ID), Quantity Delivered)
I can see why there is a delegation problem- for each item in the product table, every row of the Orders and Deliveries table needs to be checked to see if the ProductID matches.
Is there a way around this? Perhaps aggregating each table using GroupBy?
The workaround for bringing more than 2000 rows into the app using collections is not a viable option due to the performance issues that it would cause.
Thanks and please let me know if you require more information from me.
I have the same question (0)