Help

Save the date! Join us on October 16 for our Product Ops launch event. Register here.

Rollup or Joint Table or Formula?

141 1
cancel
Showing results for 
Search instead for 
Did you mean: 
Erika_Mijlin
4 - Data Explorer
4 - Data Explorer

Hi -

I'm trying to figure out the best way to display, in an interface, how many events are occurring on any given date, so I can calculate staff needs based on this count.

Tables I am working with:
Events (Events are made up a series of Sessions)
Sessions (Sessions might be 2-3 in one day, and each one has date info, and is linked to an Event)

Events overlap a lot, and a given day may have more than one Event occurring, so I want to have a way to look at any given date and see how many Events are occurring. Sessions need to be staffed by one or more people depending on what kind of Event, etc.

I know how to group records in various ways in various grids and see the sum count by group, but I can't do anything with this number because it doesn't live in any field. Ideally, I would like to display this "Number of Events per Date" number in a pivot table style dashboard.

Am I missing some really obvious way to do this?  Would appreciate shortcuts!

Rollup? Formula? Joint Table?  Pivot table magic? 😉 

Thanks!

1 Reply 1
TheTimeSavingCo
18 - Pluto
18 - Pluto

Try creating a table called "Dates" and linking it to the "Sessions" table, and you can populate this automatically with an automation to paste the date field value into the linked field to the "Date" table, so it'd look like this:

Screenshot 2024-09-30 at 11.02.48 AM.png

Screenshot 2024-09-30 at 11.02.45 AM.png

 

Screenshot 2024-09-30 at 11.03.03 AM.png

Populating your existing data is a bit trickier.  To do that you'd create a formula field that outputs the date as "YYYY-MM-DD" with DATETIME_FORMAT:

Screenshot 2024-09-30 at 11.03.42 AM.png

You can then click the field header for this formula field to select the entire column, copy it, and then click the field header for the linked field and paste it.  This'll auto link everything up for you as needed

Link to base