on 08-08-2007 12:49 PM
Hi,
how to find the average of array like (1,2,3,4)using bls?
Please give me the solution for this query.
points will be rewarded.
Thanks&Regards
Gurunadh.
There are several ways that you could get the average value, but the optimal way would depend upon the source of your array values?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gurunadh,
you can use the Aggregate Statistics action block for this (under XML Functions in BLS editor) - it will give you average (mean) and a few other statistical values in one execution.
However, this action only works on numbers which are in one column.
This is also in the xMII help - http://help.sap.com/saphelp_xmii115/helpdata/en/Business_Logic_Services/aggregatestatistics.htm
Sascha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
12 | |
7 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.