Currently there is direct flight from Ibiza to Denmark:

Ibiza to Copenhagen

Flights from Ibiza to Denmark with one stopover.

Flights via Barcelona (BCN)
From Ibiza (IBZ) with Iberia Airlines Transfer at Barcelona (BCN) Then on to Aalborg (AAL) with Iberia Airlines
Flights via Amsterdam (AMS)
From Ibiza (IBZ) with KLM Airlines Transfer at Amsterdam (AMS) Then on to Aalborg (AAL) with KLM Airlines