Help

Simple Formula for Grouped Records

Topic Labels: Formulas
634 1
cancel
Showing results for 
Search instead for 
Did you mean: 
David_Marks
6 - Interface Innovator
6 - Interface Innovator

Hoping for some help with how to setup for a formula to calculate the "Stabilized Occupancy" as shown below (% shown is wrong and is a placeholder in my table design).  

On a table, I have "Leased" "KV" and "Committed".  I need to calculate the following

(Leased - KV + Committed) / 1,000,000 

(633470 - 45472 + 290) / 1,000,000 

What would be my best solution to pull this formula in the "number" Element in my Interface?  Thanks!

Screenshot 2023-07-04 at 1.05.46 AM.png

 

Screenshot 2023-07-04 at 1.05.07 AM.png

 

1 Reply 1
Vic_Airtable
Community Manager
Community Manager

Hi @David_Marks 

Summary bar values (whether from another table or the same table) are a type of metadata not currently accessible by record-level formulas. To output the sum of those fields into a record that you can then reference to perform a calculation, you could use a linked record field and a rollup field like in our guide here: Find the sum of an entire field. You'd then use that formula field in your Number element in your Interface. Hope this helps point you in the right direction!