getCoreResults Is the correct method to access the results of a query type parameter in reporting.
Based on the fact that your table is showing as empty in preview, I would say that your tag history query is returning no rows. getRowCount() returning 0 would support with this.
Double check the parameter values being fed to the tag history query. Are you defining valid start/end times to the query? Is there actually data for the time span you are querying? Are you correctly feeding the parameter values to the query?
Thanks for update and response. We are glad to now that to know we are using the correct method to access query for reporting.
We can see the values now from the historized database. The reason behind it is we the Data Key Alias shouldn't have / . Database unable to query using slash. So, we replaced the slash using underscore and able to get the return data instead of 0.
Noted on how to past code in this forum. Thanks again.