In German there is a very similar expression that is "Glück im Unglück". Interesting how such things can develop separately.I'd say the Swedish expression that approximates to "blessing in diIt's "tur i oturen", which literally means "luck in the bad luck".