There will be a family resemblance as they really are quite closely related.
King Christian IX, ‘the Father in Law of Europe,’ - great grandfather of the Duke of Edinburgh - had six children, four of whom were monarchs or married to a Monarch:
Prince Frederik VIII of Denmark (married Princess Louise of Sweden, father of Christian X of Denmark and Haakon VII of Norway)
Princess Alexandra of Denmark (wife of King Edward VII - their daughter married Haakon VII)
George I of Greece
Princess Dagmar of Denmark (wife of Alexander III of Russia)
(I think I’ve got that right!)