# Summary of all available data displays calculation for some fields

5 years 4 months ago #74631
lister171254 created the topic: Summary of all available data displays calculation for some fields
Summary of all available data displays calculation for some fields rather than the summary of responses. From what I can tell all these fields have the following in common:
1) They are all numeric
2) They are all optional
3) They don't enforce numeric responses

Not sure if any of the above is the reason for this behaviour.

Thanks.

5 years 4 months ago #74633 by TMSWhite
TMSWhite replied the topic: Summary of all available data displays calculation for some fields
Please provide screen shots, or better yet, paste a survey that shows this behavior; plus let us know which version of LimeSurvey you are using.

5 years 4 months ago - 5 years 4 months ago #74636
lister171254 replied the topic: Summary of all available data displays calculation for some fields
Sorry, I have Version 1.91+ Build 11026

I think the other difference is that these fields don't have a range.
Works
50 cm (which equals 1 foot, 7.7 inches) (20) 1 0.02%
51 cm (which equals 1 foot, 8.1 inches) (21) 1 0.02%
52 cm (which equals 1 foot, 8.5 inches) (22) 2 0.03%
53 cm (which equals 1 foot, 8.9 inches) (23) 0 0.00%
54 cm (which equals 1 foot, 9.3 inches) (24) 5 0.09%
55 cm (which equals 1 foot, 9.7 inches) (25) 3 0.05%
56 cm (which equals 1 foot, 10 inches) (26) 3 0.05%
57 cm (which equals 1 foot, 10.4 inches) (27) 6 0.10%
58 cm (which equals 1 foot, 10.8 inches) (28) 0 0.00%
59 cm (which equals 1 foot, 11.2 inches) (29) 0 0.00%
60 cm (which equals 1 foot, 11.6 inches) (30) 1 0.02%
61 cm (which equals 2 foot, 0 inches) (31) 0 0.00%
62 cm (which equals 2 foot, 0.4 inches) (32) 2 0.03%
63 cm (which equals 2 foot, 0.8 inches) (33) 4 0.07%

Doesn't work

Field summary for REG3
Calculation Result
Count 5753
Sum 254937
Standard deviation 13.6
Average 44.31
Minimum 18
1st quartile (Q1) 33
Median value 44
3rd quartile (Q3) 55
Maximum 83

Both are numeric fields
Last Edit: 5 years 4 months ago by lister171254. Reason: Cannot upload screenshots

5 years 4 months ago #74641 by TMSWhite
TMSWhite replied the topic: Summary of all available data displays calculation for some fields
Are you using JavaScript to do the calculations in your survey? If so, you might want to try 1.92 RC4. It has most of those calculation functions built in.

... Wait, you're probably referring to the statistics module. I was talking about doing such calculations within the survey itself using Expression Manager. If there is a bug in the statistics module, please open a bug report and attach enough information that the team can reproduce it.

5 years 4 months ago #74643
lister171254 replied the topic: Summary of all available data displays calculation for some fields
Yes, I was referring to the builtin stats module (great work by the way).

I just wanted to make sure that this is a bug, before I report is as such.

Thanks