Tables comparing goals with actuals using a count mechanism.

  • 0
  • 1
  • Question
  • Updated 4 months ago
  • In Progress
Hi All. I have a table in which each record represents a real estate transaction and I have two "Types" of transactions (Seller and Buyer) and various "Sources" of business (open house, referral, farm, etc). I have another table that has the goal for each real estate agent- number of each "Type" (seller or  buyer) by each "Source". Thus I want another table to compare their actual results (the transaction table) and their goals (goal table). I figure I need a way to have summary fields that count the type and source of each transaction but don't know the best way to achieve that. In the goal table, the source and type are represented such as Sellers - Open House =2 , Buyers - Open House = 1 and so on for every combination of type and source. So I'd like to have identical fields that are for actual results that reference the transaction table and count baed on the values in the Type and Source fields. Any help would be greatly appreciated!
Photo of Matt Hartman

Matt Hartman

  • 70 Points

Posted 4 months ago

  • 0
  • 1
Photo of David Brogdon

David Brogdon

  • 1,222 Points 1k badge 2x thumb
If you want to compare values between the tables you will need a relationship between the two. If it was me I would create the Goals table as the parent and the transactions as the child. Then summarize up the transactions for each type to the goals table. Then create formula numeric fields on the goals table to calculate the diiference between the goal values(parent) and the transaction(child) values. You could even create a table above the Goals table to stand as a totals table for all agents goals vs transactions.