How many axes are used in weight and balance calculations?
@Ron Beyer's comment is correct. Here's a little more information.

Generally speaking, in narrow-body aircraft, it's sufficient to calculate the CG only along the longitudinal axis. There may be limits along the lateral axis but which would only be exceeded with severely imbalanced wing fuel loads, and that is often handled by specifying a maximum fuel load imbalance.

Wide body aircraft typically require looking at the lateral CG as well as the longitudinal CG. However, the allowed lateral moment about the longitudinal axis may be high enough that the limitation comes into play only when carrying cargo. That's the case with 747-100/200/400 aircraft. As I remember, the max lateral imbalance for a 747-400 is 10,000,000 inch-lbs.

There are some fixed-wing aircraft that require looking at the vertical CG. The 767-300 does. I don't know about other 767 models. It's not an issue for 747s.

If you're interested in playing with CG movement on 747-400 and 767-300 aircraft, you can go to 747.terryliittschwager.com and look at worked examples or do your own.