I do have a little problem and don't know how to solve it.
As long as the running total per lot is greater than zero, we would like to count as one (pallet).
Unfortunately, I haven't found any solution yet.
Here is my example:
The Lot No CHARGE0405 should be counted as 1 until March 25.
So in total, overall the 420 pieces there should be counted:
Lot CHARGE0000013568 as 1 (140 pieces)
Lot CHARGE0000013567 as 1 (140 pieces)
Lot CHARGE0000013566 as 1 (140 pieces
Can you give me any advice how I can solve it with the logic of DAX and time intelligence?
Thanks for your support!