having said that

idiomPart ofsaid

having said that — idiom

1. used as a discourse marker to introduce a statement that seems to disagree with

1.idiom
Definition

used as a discourse marker to introduce a statement that seems to disagree with or balance what you have just said; meaning 'despite what I just said' or 'however.'

Example

The film was far too long. Having said that, the last twenty minutes were absolutely brilliant.

The hotel was expensive and far from the beach. Having said that, the staff were incredibly friendly.