-Nonlinear electronic loads draw harmonic currents from the power grids that can cause energy loss, miss-operation of power equipment, and other serious problems in the power grids. This paper proposes a harmonic compensation method using multiple distributed resources (DRs) such as small distributed generators (DGs) and battery energy storage systems (BESSs) that are integrated to the power grids through power inverters. For harmonic compensation, DRs should inject additional apparent power to the grids so that certain DRs, especially operated in proximity to their rated power, may possibly reach their maximum current limits. Therefore, intelligent coordination methods of multiple DRs are required for efficient harmonic current compensation considering the power margins of DRs, energy cost, and the battery state-of-charge. The proposed method is based on fuzzy multiobjective optimization so that DRs can cooperate with other DRs to eliminate harmonic currents with optimizing mutually conflicting multi-objectives.