Calculations on Aggregate Results
By Richard Rost 3 years ago
Calculations on Aggregate Query Results
In this video, I'll show you an easy trick to make complex query calculations simpler by using multiple "nested" queries.
Michael from the UK (Expert Student since 2014) asks: I'm having trouble with calculating the number of years between two dates. In my aggregate query I have a field alias FirstDate set Min and second field alias LastDate. Both are from a field named PaymentDate. I've watched your tutorials and have tried all ways but have been unable to get it to work. It keeps rejecting the field name. Can you help?
I'll show you how to do the same thing, but with only one query. It's a little more complicated, but if you want to cut down on the number of queries in your database, it's a great solution.
Silver Members and up get access to view Extended Cut videos, when available. Gold Members can download the database template from class plus get access to the Code Vault. If you signed up on YouTube you have to register on my YouTube Find User page so I can set up your account here on my web site. If you're not a member, Join Today!
Subscribe to Calculations on Aggregate Results
Get notifications when this page is updated
|Keywords: TechHelp Access aggregate query result calculations PermaLink Calculations on Aggregate Results in Microsoft Access|