How to make this 90 degree twisted bracket in sheetmetal?

Hi all,

I have been trying to work out how to produce the piece below in sheetmetal that can be flattened out. I thought I had it using the flex feature, but unfortunately this isn't a a part of sheetmetal and doesn't flatten.

I have tried using lofted bends but I can't seem to connect/merge the lofted bend to a flange for some reason. Does anyone have any experience in this who could help me out?

Cheers

EDITED BY MODERATOR: Moved to the Sheet Metal space. Please post to the appropriate space if one exists.

SolidworksSheet Metal