Multipolar-fluctuation analysis based on density functional theory combined with dynamical mean-field theory is extended from 4f1- to 4f2-electron systems. Two methodological developments are presented. First, many-particle states are constructed within the j-j coupling scheme in the j=5/2 subspace, so as to reproduce the crystalline-electric-field splitting of the 4f2 Hund's-rule ground-state multiplet. Second, multipolar susceptibilities and interactions between 4f2 multiplets are derived through a mapping from single-particle to many-particle bases. We apply this framework to PrCdNi4, which has a non-Kramers Γ3 doublet ground state, and propose a (3z2−r2)-type antiferroquadrupolar order at q=(2π,π,0) driven by the competition between nearest- and fourth-nearest-neighbor interactions. The formalism developed here is applicable to general 4fn-electron systems.