Total up to date by product

ahmedismailfourtex

Board Regular
Joined
Apr 28, 2015
Messages
124
Hello,
I have table contains product, date quantity.
Then I need to know when my product reached specific quantity for the first time, I mean I will sum the quality date over date until it reach this quantity then I will detect the date.
I appreciate the help.
Thanks ☺?
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
please provide an example(s) of what you're trying to do and please provide additional explanation as well.
 
Upvote 0
that is example of my DAX table
[TABLE="width: 192"]
<colgroup><col width="64" span="3" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl65, width: 64"]Product[/TD]
[TD="class: xl65, width: 64"]Quantity[/TD]
[TD="class: xl65, width: 64"]Date[/TD]
[/TR]
[TR]
[TD="class: xl65"]a[/TD]
[TD="class: xl65, align: right"]3[/TD]
[TD="class: xl66, align: right"]1-Jan[/TD]
[/TR]
[TR]
[TD="class: xl65"]b[/TD]
[TD="class: xl65, align: right"]4[/TD]
[TD="class: xl66, align: right"]1-Jan[/TD]
[/TR]
[TR]
[TD="class: xl65"]c[/TD]
[TD="class: xl65, align: right"]1[/TD]
[TD="class: xl66, align: right"]1-Jan[/TD]
[/TR]
[TR]
[TD="class: xl65"]c[/TD]
[TD="class: xl65, align: right"]2[/TD]
[TD="class: xl66, align: right"]2-Jan[/TD]
[/TR]
[TR]
[TD="class: xl65"]a[/TD]
[TD="class: xl65, align: right"]2[/TD]
[TD="class: xl66, align: right"]2-Jan[/TD]
[/TR]
[TR]
[TD="class: xl65"]b[/TD]
[TD="class: xl65, align: right"]3[/TD]
[TD="class: xl66, align: right"]2-Jan[/TD]
[/TR]
[TR]
[TD="class: xl65"]a[/TD]
[TD="class: xl65, align: right"]2[/TD]
[TD="class: xl66, align: right"]3-Jan[/TD]
[/TR]
[TR]
[TD="class: xl65"]b[/TD]
[TD="class: xl65, align: right"]1[/TD]
[TD="class: xl66, align: right"]3-Jan[/TD]
[/TR]
[TR]
[TD="class: xl65"]c[/TD]
[TD="class: xl65, align: right"]5[/TD]
[TD="class: xl66, align: right"]3-Jan[/TD]
[/TR]
</tbody>[/TABLE]

if my target is 5 of quantity

[TABLE="width: 128"]
<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]a>=5[/TD]
[TD="class: xl65, width: 64, align: right"]2-Jan[/TD]
[/TR]
[TR]
[TD]b>=5[/TD]
[TD="class: xl65, align: right"]2-Jan[/TD]
[/TR]
[TR]
[TD]c>=5[/TD]
[TD="class: xl65, align: right"]3-Jan[/TD]
[/TR]
</tbody>[/TABLE]

is kind of running total, i need to determined when it reached this value.
Thanks
 
Upvote 0

Forum statistics

Threads
1,225,738
Messages
6,186,728
Members
453,368
Latest member
positivemind

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top