U need not to calculate Standard Deviation manually as there is xMII-defined Action block <b>Aggregate Statistics</b> under XML function option in Business Logic Services.

Thats right. there is an Action Block called <b>Simple Statistics</b>, whose function is much different from that of <b>Aggregate Statistics</b> in the usage of BLS.

<b>Aggregate Statistics</b>

This is used to return Statistical Calculation Values for a set of Values at one time. This is used with XPath Target (Value Source) hitting a Column in an XML Result. In turn, this gives the Statistical Calculation for the set of values in that column.

<b>Simple Statistics</b>

This is used to return Statistical Calculation Values for a dataset which dynamically gets updated with newly added value. So this Action Block is used inside a Repeater Action block, which in turn gets the value from an XML Source, sets that value with ValueSource Property in Simple Statistics. Hence, the calculated statistical value will be dynamically updated with newly added value while looping the XML Source.

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.

## Add a comment