Hi!
We create smart warehouse applications.
There are tables:
products - here all information about our products (ProductId - Key, Photo, Name/Size/Color - name of product, Price and others)
Orders - OrderId - Key, Client - Ref to Clients, Products - EnumList Ref to Products, Price - here problem and others
One order can contain several items of products. We want to calculate the total cost of the order based on the Price column in the Products table, but from the articles we have read, we cannot yet understand how it is. Is it possible to create a field that will โpullโ prices from the Products table and summarize it if there are several products in the order? At the same time, we want the value in the field to be editable? Can this be done?
Solved! Go to Solution.
Youโre using LOOKUP() wrong.
Try instead:
SUM(SELECT(products[Price], IN([Name/Size/Color],[_THISROW].[products])))
User | Count |
---|---|
43 | |
30 | |
26 | |
14 | |
14 |