I agree with KISS. If you want to measure actual power in a circuit with reactance then you need to multiply the instantaneous current by the instantaneous voltage, either with an A/D converter and a micro, or with an analog multiplier. The average value of that multiplication is the real power. You can't do any voltage or current averaging before you do the multiplication if you want an accurate power measurement.