Hi Zhang,
You will have to use a microflow to compare two list, but instead of using a loop action, rather use list operations. Please see the document https://docs.mendix.com/refguide9/list-operation/
I suggest the subtract function to show the differences. The after the subtract function gives you a list, return that list to your data grid.
Hi,
Instead of using loop, use the Union or Intersect action in list operation