Chaining Reducers [counting 30 days totals, reporting 1 number]

22 views
Skip to first unread message

Chris Bond

unread,
Aug 30, 2012, 4:40:47 PM8/30/12
to cube...@googlegroups.com
  Hi,

  New to the group, fairly new to Cube (i've read all the Query/Evaluator docs prior to asking this & loving it)

 I want to find the total cube_requests that have happened over the last 30 days. The call below will give me 30 days, individually for each day.
 
  metric?expression=sum(cube_request)&start=2012-08-29&stop=2012-08-31&step=36e5&limit=30)

Say I want 1 final number, which is the sum of all requests over all 30 days?   Why is this expression not working? [note: the extra sum in front]. 
   sum(sum(cube_request)&start=2012-08-29&stop=2012-08-31&step=36e5&limit=30))

Any insight?

Thanks

Chris
Reply all
Reply to author
Forward
0 new messages