Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
MK_QSL
MVP
MVP

RangeSum and Above

I have below table....

PartNumberInitial StockOrderQty
A200100
A20020
A20050
A20020
B300100
B30080
B30020
B30040
B30060
C250100
C25050
C25050
C25010

and need result like this...

PartNumberInitial StockOrderQtyStock Left
A200100100
A2002080
A2005030
A2002010
B300100200
B30080120
B30020100
B3004060
B300600
C250100150
C25050100
C2505050
C2501040

Let me know asap.

UPDATE: Forgot to mention... I need this in UI or chart side... Inside script I can do.

1 Solution

Accepted Solutions
Gysbert_Wassenaar

See attached qvw.


talk is cheap, supply exceeds demand

View solution in original post

4 Replies
MK_QSL
MVP
MVP
Author

any reply on this?

Not applicable

Hi Manish,

Have a look! do you want something like this!

Vinay


update:

Please use below in expression...

IF(PartNumber<>Above(PartNumber),[Initial
Stock]
-OrderQty,[Initial Stock]-RangeSum(Above(SUM(OrderQty),0,RowNo())))

Gysbert_Wassenaar

See attached qvw.


talk is cheap, supply exceeds demand
MK_QSL
MVP
MVP
Author

Salute to Gysbert,

You deserve the top rank.... !!!