Forum Discussion
Running Total by Lot Number
5 Replies
- parry2kSuper User
jeeviscarozza could you please post the sample data with the expected output.
👉 Learn Power BI and Fabric - subscribe to our YT channel - @PowerBIHowTo
- jeeviscarozzaRegular Visitor
I am trying to get the running total of the quantity. For example, for this item it should be 10, then 20, then 30, etc. As a bonus, I want this calculation to stop when it reaches the quantitiy needed, which is 240.
- Ashish_MathurSuper User
Hi,
Share data in a format that can be pasted in an MS Excel file and show the expected result.
- jeeviscarozzaRegular Visitor
Here you go
Lot Expiration Date Product lot number Qty Lot Expiration Date Product item number Intended Output 30-Nov-24 134120184 10 30-Nov-24 1341 10 30-Nov-24 134120164 10 30-Nov-24 1341 20 30-Nov-24 134120162 10 30-Nov-24 1341 30 30-Nov-24 134120165 10 30-Nov-24 1341 40 30-Nov-24 134120166 10 30-Nov-24 1341 50 30-Nov-24 134120167 10 30-Nov-24 1341 60 30-Nov-24 134120173 100 30-Nov-24 1341 160 30-Nov-24 134120183 10 30-Nov-24 1341 170 30-Nov-24 134120163 10 30-Nov-24 1341 180 30-Nov-24 134120185 10 30-Nov-24 1341 190 - parry2kSuper User
jeeviscarozza you can easily leverage new WINDOW functions, check this video
👉 Learn Power BI and Fabric - subscribe to our YT channel - @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤️