title: Tableau - Generate a histogram where binning by "number of records" per [string ID field]
body: <p>I have a dataset of events that I'm trying to build a histogram for. Each event has a user, and some other fields related to the event and the user.</p>
  
  <p>I want to automatically create bins of the number of events per user, and show how many users fall in each bin. The idea is to visualize user engagement levels. (Ex: 30 users have less than X events, 100 users have between X and Y events, etc...). Maybe 5 total bins?</p>
  
  <p><a href="http://vizdiff.blogspot.com/2015/02/histograms-on-aggregated-measures.html" rel="nofollow">This blog post</a> demonstrates how to do this by manually binning with a calculated field, but the number of events per user is going to shift over time and I don't want to have to constantly adjust the bins. There must be a way to automatically do this, but I'm struggling to figure it out.</p>