It sounds like your keyboard layout might be set incorrectly. Make sure your keyboard layout is set to "Danish" in your MacBook Pro's system preferences. If the issue persists, try resetting your keyboard settings or check for any custom key mappings that could be causing the problem.