Diatomaceous Earth works if its DRY.
By itself, it won't solve any problem.
Used with other control methods it will reduce fliers of RAs or Gnats really well.
Try mixing an ample amount of DE in fresh compost or soil. Remove the top loose soil from the infected ones. Water your girls...