Dreaming about broken hats is a prediction of certain hardships coming your way, especially about your work or business. It indicates that certain people might interfere or influence you in the wrong way, leading to problematic results.
This might be an attempt to warn you against unexpected negative events and prepare you for the same. It would be best if you analyzed all your career and life decisions properly to avoid this outcome.