I am facing some problems with bar charts using the split by option. Instead of splitting the data by the chosen field, I just get duplicates.

This did not happen before! I got a new laptop with ArcGIS Pro 3.5.2. Not sure what the old one had, I think it was 3.4.x.
The error seems to be the same as in this post, where it occurred in 3.4 with scatter plots. However, that thread does not offer any solution.
I have narrowed it down a little bit, as the error only occurs when the layer has a join to another table. And it does not matter whether I chose fields from the original table or the joined table.
I have tried in a different project and with different data, the results are the same.
Has anyone else had this problem? How did you solve it? Or is it a bug? Has it been addressed? Any help is welcome! (I rely on bar charts a lot)