Hi,
I'm trying to calculate the values of the Cal-production in Power BI ( Like Production Sales Inventory model) . The calculation looks at EI (ending inventory) column values and compares it to the ROP. IF the EI + previous results from Cal-production is greater than ROP, it displays 0 else 800.
In Excel have something like this:
Cl-production column is on Column D
D2 = =IF(sum(B2)>C2,0,800)
D3 = IF(SUM(D2,B3)>C3,0,800)
D4 = IF(SUM(D3,B4,D2)>C4,0,800)
D5 = =IF(SUM(D4,B5,D3,D2)>C5,0,800)
I'm trying to calculate the values of the Cal-production in Power BI ( Like Production Sales Inventory model) . The calculation looks at EI (ending inventory) column values and compares it to the ROP. IF the EI + previous results from Cal-production is greater than ROP, it displays 0 else 800.
In Excel have something like this:
Cl-production column is on Column D
D2 = =IF(sum(B2)>C2,0,800)
D3 = IF(SUM(D2,B3)>C3,0,800)
D4 = IF(SUM(D3,B4,D2)>C4,0,800)
D5 = =IF(SUM(D4,B5,D3,D2)>C5,0,800)
EI | ROP | Cal-Production (results) | |
1/1/2021 | 1,440 | 1393 | 0 |
2/1/2021 | 1,015 | 1393 | 800 |
3/1/2021 | 714 | 1393 | 0 |
4/1/2021 | 498 | 1393 | 800 |
5/1/2021 | 248 | 1442 | 0 |
6/1/2021 | (39) | 1442 | 0 |
7/1/2021 | (399) | 1442 | 800 |
8/1/2021 | (819) | 1442 | 0 |
9/1/2021 | (1,299) | 2005 | 800 |
10/1/2021 | (1,809) | 2005 | 800 |