Summing Like Records - Electrical Readings (1 Viewer)

abn33w

New member
Local time
Today, 16:09
Joined
Apr 16, 2021
Messages
2
I've been putting this off for a while now, but I've gotten to the point where I need to ask for help.

First and foremost - I'm very green when it comes to Access and everything I know is self taught with a whole lot of google help.

That said, what I'm working on is a database that among other things, tracks all the server racks in our facility as well as their power usage.

I'm running a query that looks through the Electrical Readings table and pulls the load reading for each circuit assigned to a rack, for whichever server room the user has selected.

Here's what's returned:
RackPanelCB#CB_RatingLoad ALoad BLoad CReading Date
409UPS01-130/32201.401.403/11/2021
409UPS01-126/28201.401.403/11/2021
409UPS01-125/27201.301.303/11/2021
409UPS01-121/23201.401.403/11/2021
409UPS0107200.703/11/2021
409UPS0105202.503/11/2021

The problem is, when I do this for a room which has 40+ racks, my query and associated report become quite long as most of the racks are dual fed. Could I leave it as is and tell them to get out their calculators? Sure - but unfortunately, my customer just wants to know how much Amperage or kW a specific rack is using - not caring about how many circuits are feeding it.

What I'm trying to figure out is how I can effectively, sum all the loads for each rack, so that each rack only has one line - kinda like this:
RackTotal AmpsReading Date
40914.203/11/2021
41012.003/11/2021
4111.303/11/2021
4124.003/11/2021
4138.003/11/2021
40915.003/11/2021

Any insight/help would be greatly appreciated.
 

MajP

You've got your good things, and you've got mine.
Local time
Today, 03:09
Joined
May 21, 2018
Messages
8,527
See how to do an aggregate query
 

abn33w

New member
Local time
Today, 16:09
Joined
Apr 16, 2021
Messages
2
Exactly this! Very much appreciated sir!
 

Users who are viewing this thread

Top Bottom