To debug a data query easily, you can add debug points between operators, and understand where the issues come from.
You can then click Debug to run the data query, and add for each breakpoint, a Result Set with a raw view.
Once added, you can right-click again to Disable debug point, Rename debug point, or Delete debug point.