Dear kmorabui,
in order to understand what is happening we need more information.
Can you post a screenshot of your cockpit widget configuration (I guess it's a table widget, isn't?)?
Can you also tell us if there are sortings, order by, aggregations or filters inside cockpit widgets or inside your query?
Regards,
Matteo