Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Chart
3Dtrue
showShapesfalse
rangeAxisTickUnit1
width1200
categoryLabelPositionup45
dataOrientationvertical
typebar
yLabelNr of users
height400


SQL
idmydata
dataSourcemars_apistats
SELECT to_char(month, 'MM/YYYY') as monthyear, count(DISTINCT username)as "active users"
FROM  users_stats_monthly 
WHERE dataset='tigge-lam' AND month>=date'20130101' 
AND username IN (
      SELECT username                        
      FROM  users_stats_monthly
      WHERE dataset='tigge-lam'
      GROUP BY username
      HAVING sum(requests) >= 3
      )
GROUP BY month
ORDER BY month;


...