Potassium carbonate reacts with barium chloride to precipitate insoluble barium salts that is barium carbonate, when the solutions are mixed together you'll see white precipitate that is barium carbonate and potassium is dissolve in the solution to form potassium chloride.