Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10022

Re: Tricky average needed

$
0
0

Try this:

 

1.  Get a count of records by order type.  For example, I'll call this "{@OrderCount}":

 

     Count({Order.OrderID}, {Order.OrderType})

 

2.  Create another formula to do your average:

 

     If {@OrderCount} > 0 then

          sum({Order.Price})/{@OrderCount}

 

-Dell


Viewing all articles
Browse latest Browse all 10022

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>