I tried the latest version to publish a report and it seems to work fine for me.
Even i am also using the latest version of Power BI Desktop. Things were working fine till day before yesterday and since yesterday we are observing this unexpected behaviour.
Version: 2.91.884.0 64-bit (March 2021)
We have raised this issue with Microsoft support and it is identified as bug in the system and would be fixed in early-mid may.
Matrix visual in workbook behaves well in the workbook but when is published doesn't refresh correctly. I have tried different browsers and again same issue and different workaround but still persist.
Definetely it's a problem with this visual because when I use other visual this issue don't come out.
It looks like this visual has had different issues since 2017 (as long as I know).