I managed to make a query that does data extractions and date formatting, the query works in few pages, but it shows error in the same sort of other pages.
Ideally in this case, the same query should work on all pages without making any kind of change.
Thanks and appreciate your taking time to help to answer this problem.