Ohm's Law is valid for resistive circuits only. It is not valid for capacitive or inductive circuits, or a combination of both.