Jump to content
Changes to the Jaspersoft community edition download ×
  • Adding Standard Deviation to Ad-Hoc


    eongaro
    • Features: Ad Hoc Product: JasperReports® Server

    Here are the steps for adding "Standard Deviation" to the Adhoc Crosstab Designer

    Open "actionModel-adhocCrosstab.xml". Add the following into the measureColumn and measureRow sections:

    <option action="selectFunction"
            actionargs="StandardDeviation"
            clienttest="isSelectedMeasureNumeric"
            isselectedtest="isSelectedSummaryFunction"
            isselectedtestargs="StandardDeviation" 
            labelkey="Standard Deviation" />
    

    Then open "applicationContext-adhoc.xml". And add the following lines in aggregatedConfigs section:

    <bean class="com.jaspersoft.ji.adhoc.strategy.AggregateConfig">
        <property name="name" value="StandardDeviation" />
        <property name="functionName" value="stddev" />
        <property name="calcMethod" value="sqlUnionAll" />
    </bean>
    


    User Feedback

    Recommended Comments

    There are no comments to display.



    Guest
    This is now closed for further comments

×
×
  • Create New...