Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
This below expression for cumulative sales is not giving correct result
=BELOW(TOTAL(RangeSum(Above(TOTAL Sum( { <Sold_Date= {">=$(From)<=$(To)"} >} [sales price]* quantity_sold)-sum({ <Sold_Date= {">=$(From)<=$(To)"}>}[sales price]* quantity_returns)) , 0, RowNo(TOTAL))))
Please help stalwar1
Hi Sakshi,
It is better if you can share a sample qvw for the same.
Otherwise in your case you should try the as of calendar for commutative calculations.
HTH
Sushil
Try this
rangesum(above((Sum( { <Sold_Date= {">=$(From)<=$(To)"} >} [sales price]* quantity_sold)-sum({ <Sold_Date= {">=$(From)<=$(To)"}>}[sales price]* quantity_returns)),0,RowNo()))
I am not getting correct values
What are the correct numbers?
MRP cumulatve Achevements
966,869.00 |
3,813,529.00 |
1246490.30
Would you be able to share a sample file to check it out?