Is this homebrew Chaos domain balanced compared to the official subclasses?

I am making a compendium of homebrew Cleric subclasses, spells and feats, but I want to make sure it is actually balanced and there are no glaring loopholes or broken combos with existing feats, spells, and subclasses before I release it. Is this homebrew Chaos Domain balanced compared to the other cleric subclasses?

Chaos Domain

While most gods create some from of order, others prefer its destruction and embrace entropy and unexpectedness at all times. Gods of chaos include Eris, Sutr, Zurguth, and Mask, though many clerics worship Chaos itself.

Domain Spells

Level
1st Chaos Bolt, Grease
3rd Crown of Madness, Knock
5th Bestow Curse, Summon Lesser Demons
7th Confusion, Hallucinatory Terrain
9th Mislead, Maelstrom

Constant Flux

Before you roll any attack roll, saving throw, or ability check, you may flip a coin. On a heads, you gain advantage on the roll, on a tails, you gain disadvantage.

Cantrip Substitution

You learn one cantrip of your choice from any spell list, it counts as a cleric cantrip for you. Whenever you finish a long rest, you may swap it with a different cantrip.

Channel Divinity: Baleful Transposition

At 2nd level, as a reaction at any time, including during your turn, you can use your channel divinity and select any creature within 30 feet of yourself. The creature must make a charisma saving throw. You and the creature switch posisitions on a failed save.

Channel Divinity: Chaotic Casting

At 6th level, whenever you cast a spell, you can use your channel divinity to roll twice on the Wild Magic table. Choose which one of the effects you rolled happens.

Potent Spellcasting

Starting at 8th level, you add your Wisdom modifier to the damage you deal with any cleric cantrip.

Random Magic

At 17th level, as an action, you can choose 12 9th level spells with a casting time of 1 action that lack costly material components. Assign each a number 1-12. Roll a d12. You cast that spell as a cleric spell without expending a spell slot. Once you use this ability you cannot do so again until you finish a long rest.