Dear all,
i'm fighting with an inventory powerapp, i have 2 different tables where i need to do some filters and operations.
Let me explain...
I have 2 different tables
TABLE_1 (live update by powerapp)
| warehouse | material_code | qty |
| 10 | a | 15 |
| 10 | b | 15 |
| 20 | a | 10 |
TABLE_2 (static table)
| material_code | price $ |
| a | 1 |
| b | 2 |
| c | 3 |
| d | 4 |
I need, for each warehouse (table_1), calculate his total value ($) amount based on how many (qty) parts, for each component (material_code) are stored.
Based on the tables before:
- Warehouse 10
- 15 parts of "material_code" "a" * 1$ = 15$
- 15 parts of "material_code" "b" * 2$ = 30$
- Warehouse 20
- 10 parts of "material_code" "a" * 1$ = 10$
Can you help me to find the correct formula to calculate the warehouse value ($), please?
Thnx in advance.
1000ghz