In the paper, we prove the existence of solutions of the complex Monge–Ampère type equation -χ(u)(ddcu)n = μ in the class
if there exist subsolutions in this class. As an application, we prove that the complex Monge–Ampère equation (ddcu)n = μ is solvable in the class
if there exist subsolutions locally. Moreover, by an example we show that the conditions in our above result are sharp.