These are chat archives for DataBrewery/cubes

1st
Feb 2019
Jose Juan Montes
@jjmontesl
Feb 01 19:01
@pktippa I haven't used Cubes from code, sorry.
These are the functions defined in functions.py:
    SummaryCoalescingFunction("sum", sql.functions.sum),
    SummaryCoalescingFunction("count_nonempty", sql.functions.count),
    FactCountFunction("count"),
    FactCountDistinctFunction("count_distinct"),
    ValueCoalescingFunction("min", sql.functions.min),
    ValueCoalescingFunction("max", sql.functions.max),
    ValueCoalescingFunction("avg", avg),
    ValueCoalescingFunction("stddev", stddev),
    ValueCoalescingFunction("variance", variance)
Maybe you can use sum to count true values, but I'm not sure whether you can use booleans like that.