Add COUNT and COUNTIF functions in datasets reporting

It would be super helpful to have an equivalent of COUNT and COUNTIF functions in the dataset part of reporting because it would allow to calculate retention rate or conversion rates and display it in dashboards.

Ex : I’d like to be able to do those calculations :

(nb of deals closed with ppty “renewal” = success / nb of deals closed with ppty “renewal” known) x 100

Thanks!

I am a bit disappointed in HubSpot that they haven’t already implemented features like this. These type of things would allow us to create so many different specific things, it seems like such an obvious feature to build!

For instance, I want to use this count how many contacts have a certain value, to display registrations for an event in the dashboard. This would be perfect!

To resolve this issue, as a placeholder i created a “Count of Contact” property for contact records. Ive set up a small workflow that reads as "If ‘Count of contact’ is unknown: set to ‘1’ ". You can then plug this into a data set to use for SUM functions and make reports like you would in the custom report builder without a data set as your record type.
The only downside is this takes a slot for your available properties. If your datasets dont run into that issue (mine do sadly) then this should solve the issue until hubspot ads it into data sets.
Hope this helps anyone else having this issue.

+1! This needs to be in the custom formula builder in 1) datasets 2) custom properties within reports 3) custom equations in the calculated property builder.

@AndersonReid, Thank you for sharing this workaround!

+1 would be so usefule for datasets

Does this exist now with data sets? I’m trying to create a custom formula to aggreagte job titles, but I’m not setting up the formula correctly. Can someone help?

This single formula for one job title works: (COUNT(IF([CONTACT.role_drop_down] = “Teacher PK-5”, 1, NULL))), but when I try mutliple titles, I receive an error:

(COUNT(IF([CONTACT.role_drop_down] = “Teacher PK-5”, 1, NULL),([CONTACT.role_drop_down] = “Teacher 6-12”, 1, NULL),([CONTACT.role_drop_down] = “Teacher on Special Assignment”, 1, NULL)))

Thanks for your help!