Need some ideals. I have data and i want to create a standard deviation base off of the data. Im going to give you a example below:
I want to take the values and produce a standard deviation report by test via each parameter, im using microsoft reporting services rdlc when th id is 1, thats a indication that test started
over. Take a look the output im trying to produce below under "OutPut" what would the best way to go about this
Raw Data:
| ID |
Test |
Param |
Values |
| 1 |
Apple |
Black |
3 |
| 2 |
Apple |
Orange |
4 |
| 3 |
Apple |
Yellow |
1 |
| 4 |
Apple |
Blue |
5 |
| 5 |
Apple |
Red |
3 |
| 1 |
Apple |
Black |
1 |
| 2 |
Apple |
Orange |
2 |
| 3 |
Apple |
Yellow |
5 |
| 4 |
Apple |
Blue |
5 |
| 5 |
Apple |
Red |
2 |
| 1 |
Grapes |
Black |
2 |
| 2 |
Grapes |
Orange |
3 |
| 3 |
Grapes |
Yellow |
1 |
| 4 |
Grapes |
Blue |
4 |
| 5 |
Grapes |
Red |
4 |
| 6 |
Grapes |
Purple |
2 |
| 7 |
Grapes |
Violet |
3 |
| 8 |
Grapes |
Green |
1 |
| 9 |
Grapes |
RedOrange |
2 |
| 10 |
Grapes |
PurpleBlue |
3 |
| 11 |
Grapes |
DarkGreen |
4 |
| 1 |
Grapes |
Black |
2 |
| 2 |
Grapes |
Orange |
3 |
| 3 |
Grapes |
Yellow |
1 |
| 4 |
Grapes |
Blue |
4 |
| 5 |
Grapes |
Red |
4 |
| 6 |
Grapes |
Purple |
2 |
| 7 |
Grapes |
Violet |
3 |
| 8 |
Grapes |
Green |
1 |
| 9 |
Grapes |
RedOrange |
2 |
| 10 |
Grapes |
PurpleBlue |
3 |
| 11 |
Grapes |
DarkGreen |
4 |
|
|
|
|
"OUTPUT"
|
|
|
|
| ID |
Test |
Param |
Values |
Values |
StdDev |
| 1 |
Apple |
Black |
3 |
1 |
? |
| 2 |
Apple |
Orange |
4 |
2 |
? |
| 3 |
Apple |
Yellow |
1 |
5 |
? |
| 4 |
Apple |
Blue |
5 |
5 |
? |
| 5 |
Apple |
Red |
3 |
2 |
? |
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
Grapes |
Black |
2 |
2 |
? |
| 2 |
Grapes |
Orange |
3 |
3 |
? |
| 3 |
Grapes |
Yellow |
1 |
1 |
? |
| 4 |
Grapes |
Blue |
4 |
4 |
? |
| 5 |
Grapes |
Red |
4 |
4 |
? |
| 6 |
Grapes |
Purple |
2 |
2 |
? |
| 7 |
Grapes |
Violet |
3 |
3 |
? |
| 8 |
Grapes |
Green |
1 |
1 |
? |
| 9 |
Grapes |
RedOrange |
2 |
2 |
? |
| 10 |
Grapes |
PurpleBlue |
3 |
3 |
? |
| 11 |
Grapes |
DarkGreen |
4 |
4 |
? |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Shahan AyyubRank #5,163 · 309 reputationPosted Dec 12, 2010, 12:43 PM EST
Group columns Test and Param and then Sum Values.
I am using VS2010 Professional.
For that:
Is this helpful ???
David SmithRank #999 · 2K reputationPosted Dec 12, 2010, 2:22 PM EST
Shahan AyyubRank #5,163 · 309 reputationPosted Dec 13, 2010, 8:30 AM EST
Hi!
Please check this image to calculate the standard deviation of values.
Instead of SUM the control also provides STDEV Function.
Is this helpful ???
Shahan AyyubRank #5,163 · 309 reputationPosted Dec 13, 2010, 8:31 AM EST
Hi!
Please check this image to calculate the standard deviation of values.
Instead of SUM the control also provides STDEV Function.
Is this helpful ???
Shahan AyyubRank #5,163 · 309 reputationPosted Dec 13, 2010, 8:31 AM EST
Hi!
Please check this image to calculate the standard deviation of values.
Instead of SUM the control also provides STDEV Function.
Is this helpful ???
David SmithRank #999 · 2K reputationPosted Dec 13, 2010, 1:52 PM EST
im trying to see how to add the mode.
Slick while we are on this , im going to create the query in access and then automate the query to a table and then show the report from report reviewer. what do you think?
you have been so helpful.
David SmithRank #999 · 2K reputationPosted Dec 13, 2010, 6:34 PM EST
How do you choose a distinct value via a string or text in the expression properties. I know how to do it for access, but how do you choose a distinct value for expression in the rdlc file.
I want to produce the output below
example:
Test Param
black cat
black car
black hat
blue cat
blue car
blue hat
Output:
Test TotalParam
black 3
blue 3
Shahan AyyubRank #5,163 · 309 reputationPosted Dec 14, 2010, 4:41 AM EST
Where I have told you to calculate the StDev for a value, in the same box, drag "Test" one more time and calculate "Count" for it. Now you have 2 values in "Values Listbox".
Is this helpful ??
David SmithRank #999 · 2K reputationPosted Dec 14, 2010, 6:23 AM EST
Shahan AyyubRank #5,163 · 309 reputationPosted Dec 14, 2010, 8:05 AM EST
David SmithRank #999 · 2K reputationPosted Dec 14, 2010, 12:13 PM EST
David SmithRank #999 · 2K reputationPosted Dec 14, 2010, 8:07 PM EST
example
5 3 4 5 5 6
so the mode would be 5.
so how would the Max () determine the mode. if i were use the max function it would give me 6
Shahan AyyubRank #5,163 · 309 reputationPosted Dec 14, 2010, 10:23 PM EST
You are right that Max() can not give directly what mode does. I was thinking from different point of view. Why not you create a column in Your Database where you can calculate mode by creating a dummy column COUNT(*) and get MAX(Count(*)).
What is your backend tool???