Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Help needed, on Rangeavg [ How to exclude a Dimension when calculating RangeSum ]

Hi, John Witherspoon I need your help urgently

Please help me to calculate the the Average Amount of next 3 coming row in a straight table chart but want to exclude some dimension when calculating RangeAvg, on every row like the table

I want to exclude the Dimension Design, SNo. in calculation of RangeAvg


Customer

DesignMachineSNo.

Sales

Amount

sum

next  3 rows

Average

AD-1Mc-11

50

7035
AD-1Mc-12452525
AD-1Mc-132500
AD-1Mc-247500
BD-5Mc-15402525
BD-5Mc-162500
BD-5Mc-273000
CD-1Mc-184000
CD-1Mc-29305050
CD-2Mc-2105000
DD-1Mc-1112000

SNo. value of this column is comming from sql query [ Row_Number()  ], it is a running no

Last column is my desired result

I am attaching QVW sample here

thanks & regars

bb

0 Replies