queries:functions:psum

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
queries:functions:psum [2015/08/07 10:00]
193.201.122.126
queries:functions:psum [2016/01/04 20:48] (current)
Line 12: Line 12:
 ^ Name              ^ Type           ^ Description ​       ^ ^ Name              ^ Type           ^ Description ​       ^
 ^ //​participation// ​        | participation ​        | The participation is a binary value and shows which channels are active. ​      | ^ //​participation// ​        | participation ​        | The participation is a binary value and shows which channels are active. ​      |
 +
 +===== Example Queries =====
 +The following query draws the total amount of sessions on the baseline of channel 1:
 +<code dql>
 +draw number using pres(1, result) as value from
 +(
 +  using
 +  psum(baseline) as result from @sessions
 +) as p
 +</​code>​