I am trying to find a way to calculate the standard deviation for data inside of a confiform table. The issue I run into is that when using the tableview merger and field macros it only resolves summations and thus the square root property is not calculated properly. I have not been able to figure out a way to implement IFTTT or a field rule in order to collect the data from previous entries in order to calculate this value either.
Hi @alex b ,
1. Place the macro outputting tables within the Table Transformer macro body:
2. Use the following SQL query (select the functions depending on what you'd like to calculate):
MEDIAN(T1.'Value') AS 'Median',
STDDEV(T1.'Value') AS 'Standard deviation population',
STDEV(T1.'Value') AS 'Standard deviation sample',
VAR(T1.'Value') AS 'Variance sample',
VARP(T1.'Value') AS 'Variance population'
Where 'Value' is the label of the column from the source table with values, 'Median' and others are the labels of new outputted columns with results.
The result is as follows:
Please let me know if you have any questions.
You cannot do that with a ConfiForms TableViewMerger (or setting the expression in the ValueView), as the calculations are done per row / record
Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events