Skip to main content
Solved

Using a rollup to calculate the amount of unique dates

  • May 16, 2022
  • 2 replies
  • 44 views

Hello!

I have a submission table that lists dates of a submission and an associated “office” to each submission. There can be multiple submissions a day to the same or multiple offices. I want to use a rollup to gather the number of unique dates per office, so that I have a calculation of the total days of submissions associated with each office. Is this possible?

Thank you!

Best answer by TheTimeSavingCo

Hi James, yeap, check this out. To view the formula, duplicate the base by clicking the title of the base at the top of the screen and then click the three horizontal dots on the right

The idea is we just make a rollup field inside the Offices table of the linked Submission records, and use the aggregation formula of COUNTALL(ARRAYUNIQUE(values))

This was a fun one to solve, and made me chuckle when I figured out the solution, so thank you for the brain teaser

2 replies

TheTimeSavingCo
Forum|alt.badge.img+31
  • Brainy
  • 6463 replies
  • Answer
  • May 16, 2022

Hi James, yeap, check this out. To view the formula, duplicate the base by clicking the title of the base at the top of the screen and then click the three horizontal dots on the right

The idea is we just make a rollup field inside the Offices table of the linked Submission records, and use the aggregation formula of COUNTALL(ARRAYUNIQUE(values))

This was a fun one to solve, and made me chuckle when I figured out the solution, so thank you for the brain teaser


  • Author
  • Participating Frequently
  • 7 replies
  • May 16, 2022

Hi James, yeap, check this out. To view the formula, duplicate the base by clicking the title of the base at the top of the screen and then click the three horizontal dots on the right

The idea is we just make a rollup field inside the Offices table of the linked Submission records, and use the aggregation formula of COUNTALL(ARRAYUNIQUE(values))

This was a fun one to solve, and made me chuckle when I figured out the solution, so thank you for the brain teaser


Thank you this worked! I was close I was using Count instead of count all so it wasn’t working as I wanted it to.