Skip to main content
Solved

Compare how many times an event has been fired but bucket it based on different properties?


I have an event, lets call it “FoodPurchased” that gets trigged on checkout. FoodPurchased has a property DishName.

 

How do I compare and see the number of times they’ve been triggered in a period. y axis is the frequency and x the property names?

Best answer by dangrainger

You can do this using a Segmentation chart @quintinpar. Select your FoodPurchased event then click Group By where you can select your DishName event property. In the resulting chart, change the chart type to Bar Chart and you’ll have what you need (in the data table below you’ll also be able to choose how many bars to show, maximum is 30).

View original
Did this topic help you find an answer to your question?

3 replies

dangrainger
Expert
Forum|alt.badge.img+9
  • Expert
  • 203 replies
  • Answer
  • October 23, 2023

You can do this using a Segmentation chart @quintinpar. Select your FoodPurchased event then click Group By where you can select your DishName event property. In the resulting chart, change the chart type to Bar Chart and you’ll have what you need (in the data table below you’ll also be able to choose how many bars to show, maximum is 30).


  • Author
  • Helpful Hero
  • 9 replies
  • October 24, 2023

Thank you. Very helpful.

Can these properties be renamed (shortname) in amplitude? Right now it shows up with namespaces and taking up a lot of space for each bar graph.


dangrainger
Expert
Forum|alt.badge.img+9
  • Expert
  • 203 replies
  • October 27, 2023

You can’t rename the raw data in the charts, but you can in the visualisation layer (i.e. directly in the bar chart). Hover over the labels and it’ll allow you to edit.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings