If your question is mainly related to the styling, you could be using Atlas 2. If this is true, you might need to add a change to your style sheet to make this work. I've seen this in many projects.
Please see the troubleshooting section below.
I think the cause of this may be that the filters that you use on your data grid 2 are not correctly configured. If you are using filters in your data grid 2 could you try removing them for a second to check whether the data visualization still works?
If it does, I suggest you check whether the filters are of the correct data type. In Mendix you can add four filter types to your data grid, but they all have their respective attribute types:
In this case, you either need to change your attribute types to suit your filtering needs, or you need to change your filters to suit your attribute types.