Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
I am trying to calculate an inventory (or stock) level which needs to be overwritten once an inventory measurement is done. I have followed this subject of @Jihwan_Kim, Resetting Running Total based on column value, and the reset is working, but now I want to start the running total with the new value, instead of zero.
The problem is based on a stock level in silos. The additions(input) in the silo is entered manually in a PowerApp. The output of the silo is measured by a feeder pipe. Both data are in one column: Dosing. It's positive when material is added in the silo. It's negative when the material is taken out through the feeder pipe.
Once every week (not fixed times), a visual inspection is done on the stock level. This visual inspection is leading for the stock levels.
My data is as follows: DT,Silo_ID,Dosing,Visual_value and I want stock/inventory to be calculated. I should be the running total of each Silo, which is overwritten when it is measured: red rows. All data is stored through PowerApps and databases, and entered in the Dataset below.
DT | Silo_ID | Dosing | Visual_value | Stock/inventory |
28-6-2023 04:06:47 | 15 | -2 | 0 | 20 |
27-6-2023 20:42:31 | 15 | 4 | 0 | 22 |
26-6-2023 20:15:34 | 15 | 0 | 18 | 18 |
23-6-2023 15:37:11 | 15 | -0.5 | 0 | 16.3 |
17-6-2023 16:53:50 | 13 | -0.3 | 0 | 5.7 |
16-6-2023 10:39:49 | 13 | 0 | 6 | 6 |
15-6-2023 00:07:48 | 13 | -0.5 | 0 | 3.8 |
14-6-2023 11:16:44 | 13 | -0.7 | 0 | 4.3 |
11-6-2023 23:37:23 | 13 | -3 | 0 | 5 |
10-6-2023 15:23:23 | 13 | 0 | 8 | 8 |
10-6-2023 07:20:13 | 13 | 2 | 0 | 6.5 |
Thanks!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
105 | |
78 | |
68 | |
63 |
User | Count |
---|---|
148 | |
107 | |
106 | |
84 | |
70 |