|
I'm trying to figure out how to calculate a percent of total such that:
Would spit out:
Thanks! -S. |
|
Try the
If you're getting the data from a "stats" or "sistats" in a summary index, it's a bit harder, but certainly possible. For a summary populated by "stats":
For a summary populated by "sistats":
So, I'm searching against a summary index. In an effort to keep the summary index multi-purpose, I created it as a sistats (run hourly), as in:
So if I used "top" for a query on the summary index, and a certain email showed up 100 times each hour, "top" would only count the number of times the email showed up in the summary index (a maximum of one per hour). So, is it possible to imitate "top" in this circumstance? Am I just making this too hard on myself?
(27 Aug '10, 19:44)
sondradotcom
Correct, do not use
(28 Aug '10, 18:20)
gkanapathy ♦
|